LMCAS
Lamina Computer Algebra System
Toggle main menu visibility
载入中...
搜索中...
未找到
complex_root_isolation.hpp
浏览该文件的文档.
1
#include "
computation_context.hpp
"
2
#pragma once
3
4
#include "
internal/exact_root.hpp
"
5
#include "
internal/exact_sturm.hpp
"
6
7
namespace
LMCAS::detail::complex_root
{
8
9
using
Poly
=
Polynomial<Rational>
;
10
11
struct
RationalRectangle
{
12
Rational
real_lower
;
13
Rational
real_upper
;
14
Rational
imaginary_lower
;
15
Rational
imaginary_upper
;
16
};
17
18
struct
RectangleCount
{
19
bool
boundary_clear
=
false
;
20
std::size_t
count
= 0;
21
};
22
23
struct
CoordinateProjections
{
24
Poly
real
;
25
Poly
imaginary
;
26
};
27
28
int
rational_sign
(
const
Rational&
value
);
29
Poly
scale_poly
(
Poly
polynomial,
const
Rational& scalar);
30
Poly
clear_denominators
(
Poly
polynomial);
31
Result<CoordinateProjections>
coordinate_projections
(
32
const
Poly
& polynomial,
ComputationContext
&
context
,
33
const
std::string&
operation
);
34
Result<void>
refine_interval
(
35
const
Poly
& polynomial,
RationalInterval
&
interval
,
36
ComputationContext
&
context
,
const
std::string&
operation
);
37
Result<RectangleCount>
count_rectangle_roots
(
38
const
Poly
& polynomial,
const
RationalRectangle
& rectangle,
39
ComputationContext
&
context
,
const
std::string&
operation
);
40
Result<std::vector<ComplexIsolation>
>
isolate_nonreal_roots
(
41
const
Poly
& polynomial, std::size_t complex_count,
42
ComputationContext
&
context
,
const
std::string&
operation
);
43
44
}
LMCAS::ComputationContext
定义
computation_context.hpp:99
LMCAS::Polynomial
一元多项式模板类
定义
polynomial.hpp:52
LMCAS::Result
定义
result.hpp:39
computation_context.hpp
exact_root.hpp
exact_sturm.hpp
LMCAS::detail::complex_root
定义
complex_root_projection.cpp:6
LMCAS::detail::complex_root::rational_sign
int rational_sign(const Rational &value)
定义
complex_root_rectangles.cpp:8
LMCAS::detail::complex_root::CoordinateProjections::imaginary
Poly imaginary
定义
complex_root_isolation.hpp:25
LMCAS::detail::complex_root::clear_denominators
Poly clear_denominators(Poly polynomial)
定义
complex_root_projection.cpp:16
LMCAS::detail::complex_root::RectangleCount::count
std::size_t count
定义
complex_root_isolation.hpp:20
LMCAS::detail::complex_root::CoordinateProjections::real
Poly real
定义
complex_root_isolation.hpp:24
LMCAS::detail::complex_root::RationalRectangle::real_lower
Rational real_lower
定义
complex_root_isolation.hpp:12
LMCAS::detail::complex_root::RectangleCount::boundary_clear
bool boundary_clear
定义
complex_root_isolation.hpp:19
LMCAS::detail::complex_root::Poly
Polynomial< Rational > Poly
定义
complex_root_isolation.hpp:9
LMCAS::detail::complex_root::RationalRectangle::imaginary_lower
Rational imaginary_lower
定义
complex_root_isolation.hpp:14
LMCAS::detail::complex_root::coordinate_projections
Result< CoordinateProjections > coordinate_projections(const Poly &polynomial, ComputationContext &context, const std::string &operation)
定义
complex_root_projection.cpp:284
LMCAS::detail::complex_root::isolate_nonreal_roots
Result< std::vector< ComplexIsolation > > isolate_nonreal_roots(const Poly &polynomial, std::size_t complex_count, ComputationContext &context, const std::string &operation)
定义
complex_root_rectangles.cpp:211
LMCAS::detail::complex_root::count_rectangle_roots
Result< RectangleCount > count_rectangle_roots(const Poly &polynomial, const RationalRectangle &rectangle, ComputationContext &context, const std::string &operation)
定义
complex_root_winding.cpp:232
LMCAS::detail::complex_root::scale_poly
Poly scale_poly(Poly polynomial, const Rational &scalar)
定义
complex_root_projection.cpp:8
LMCAS::detail::complex_root::RationalRectangle::imaginary_upper
Rational imaginary_upper
定义
complex_root_isolation.hpp:15
LMCAS::detail::complex_root::refine_interval
Result< void > refine_interval(const Poly &polynomial, RationalInterval &interval, ComputationContext &context, const std::string &operation)
定义
complex_root_rectangles.cpp:14
LMCAS::detail::complex_root::RationalRectangle::real_upper
Rational real_upper
定义
complex_root_isolation.hpp:13
LMCAS::detail::complex_root::CoordinateProjections
定义
complex_root_isolation.hpp:23
LMCAS::detail::complex_root::RationalRectangle
定义
complex_root_isolation.hpp:11
LMCAS::detail::complex_root::RectangleCount
定义
complex_root_isolation.hpp:18
LMCAS::detail::operation
ComputationContext const std::string & operation
定义
exact_algebraic.hpp:32
LMCAS::detail::RationalInterval
std::pair< Rational, Rational > RationalInterval
定义
exact_sturm.hpp:13
LMCAS::detail::context
std::size_t std::size_t ComputationContext & context
定义
exact_algebraic.hpp:27
LMCAS::interval
ExprResult interval(ExprPtr lower, ExprPtr upper, bool lower_closed, bool upper_closed)
定义
expr_facade.cpp:168
LMCAS::value
const std::string const ExprPtr & value
定义
expr.hpp:293
src
internal
complex_root_isolation.hpp
生成于
, 为 LMCAS使用
1.18.0