|
LMCAS
Lamina Computer Algebra System
|
类 | |
| struct | CartesianNodes |
类型定义 | |
| using | Coefficients = std::array<std::shared_ptr<SymbolicExpr>, 3> |
| using | Node = std::shared_ptr<const SymbolicNode> |
变量 | |
| constexpr const char * | kOperation = "solve_complex_quadratic" |
| struct LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::CartesianNodes |
在文件 complex_quadratic.cpp 第 185 行定义.
| 类成员 | ||
|---|---|---|
| Node | imag | |
| Node | real | |
| using LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::Coefficients = std::array<std::shared_ptr<SymbolicExpr>, 3> |
在文件 complex_quadratic.cpp 第 19 行定义.
| using LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::Node = std::shared_ptr<const SymbolicNode> |
在文件 complex_quadratic.cpp 第 18 行定义.
| Node LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::add | ( | const Node & | left, |
| const Node & | right ) |
在文件 complex_quadratic.cpp 第 25 行定义.
引用了 add(), LMCAS::SymbolicFactory::create_add() , 以及 LMCAS::right.
被这些函数引用 add(), cartesian_add(), cartesian_multiply(), construct_roots() , 以及 solve_real_quadratic().
| CartesianNodes LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::cartesian_add | ( | const CartesianNodes & | left, |
| const CartesianNodes & | right ) |
在文件 complex_quadratic.cpp 第 190 行定义.
引用了 add(), cartesian_add(), LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::CartesianNodes::imag, LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::CartesianNodes::real , 以及 LMCAS::right.
被这些函数引用 cartesian_add() , 以及 verify_root().
| CartesianNodes LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::cartesian_multiply | ( | const CartesianNodes & | left, |
| const CartesianNodes & | right ) |
在文件 complex_quadratic.cpp 第 194 行定义.
引用了 add(), cartesian_multiply(), LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::CartesianNodes::imag, multiply(), negate(), LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::CartesianNodes::real , 以及 LMCAS::right.
被这些函数引用 cartesian_multiply() , 以及 verify_root().
| Result< CartesianQuadraticRoots > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::construct_roots | ( | const Coefficients & | coefficients, |
| const Node & | delta, | ||
| bool | negative, | ||
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 161 行定义.
引用了 add(), construct_roots(), LMCAS::detail::context, LMCAS::SymbolicFactory::create_number(), LMCAS::SymbolicFactory::create_power(), LMCAS::denominator, divide(), LMCAS::Result< T >::failure(), LMCAS::imag, integer(), multiply(), negate(), LMCAS::detail::node(), normalized_root() , 以及 LMCAS::real().
被这些函数引用 construct_roots() , 以及 solve_real_quadratic().
| Node LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::divide | ( | const Node & | numerator, |
| const Node & | denominator ) |
在文件 complex_quadratic.cpp 第 37 行定义.
引用了 LMCAS::SymbolicFactory::create_power(), LMCAS::denominator, divide(), integer() , 以及 multiply().
被这些函数引用 construct_roots() , 以及 divide().
| Node LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::integer | ( | int | value | ) |
在文件 complex_quadratic.cpp 第 21 行定义.
引用了 LMCAS::SymbolicFactory::create_number(), integer() , 以及 LMCAS::value.
被这些函数引用 construct_roots(), divide(), integer(), negate(), solve_real_quadratic() , 以及 verify_root().
| Node LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::multiply | ( | const Node & | left, |
| const Node & | right ) |
在文件 complex_quadratic.cpp 第 29 行定义.
引用了 LMCAS::SymbolicFactory::create_multiply(), multiply() , 以及 LMCAS::right.
被这些函数引用 cartesian_multiply(), construct_roots(), divide(), multiply(), negate() , 以及 solve_real_quadratic().
在文件 complex_quadratic.cpp 第 33 行定义.
引用了 integer(), multiply(), negate() , 以及 LMCAS::value.
被这些函数引用 cartesian_multiply(), construct_roots(), negate() , 以及 solve_real_quadratic().
| Result< bool > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::negative_discriminant | ( | const SymbolicExpr & | delta, |
| const AssumptionContext & | facts, | ||
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 123 行定义.
引用了 LMCAS::detail::context, LMCAS::detail::facts, LMCAS::Result< T >::failure(), LMCAS::Inconclusive, kOperation, negative_discriminant() , 以及 LMCAS::True.
被这些函数引用 negative_discriminant() , 以及 solve_real_quadratic().
| ExpressionResult LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::normalize | ( | const Node & | value, |
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 41 行定义.
引用了 LMCAS::detail::budget, LMCAS::detail::context, LMCAS::detail::facts, LMCAS::Result< std::shared_ptr< SymbolicExpr > >::failure(), LMCAS::NormalizationVisitor::get_result(), LMCAS::InternalInvariant, kOperation, LMCAS::detail::make_expression_ptr(), LMCAS::detail::RewriteBudget::measure(), LMCAS::detail::no_facts(), normalize(), LMCAS::Real , 以及 LMCAS::value.
被这些函数引用 normalize(), normalize_coefficients(), normalized_root(), prove_zero() , 以及 solve_real_quadratic().
| Result< Coefficients > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::normalize_coefficients | ( | const Coefficients & | input, |
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 63 行定义.
引用了 LMCAS::detail::context, LMCAS::Result< T >::failure(), LMCAS::InvalidArgument, kOperation, LMCAS::detail::node(), normalize() , 以及 normalize_coefficients().
被这些函数引用 normalize_coefficients().
| Result< QuadraticCartesianRoot > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::normalized_root | ( | const Node & | real, |
| const Node & | imag, | ||
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 148 行定义.
引用了 LMCAS::detail::context, LMCAS::Result< T >::failure(), LMCAS::imag, normalize(), normalized_root() , 以及 LMCAS::real().
被这些函数引用 construct_roots() , 以及 normalized_root().
| Result< void > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::prove_coefficients | ( | const Coefficients & | coefficients, |
| const AssumptionContext & | facts, | ||
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 86 行定义.
引用了 LMCAS::detail::context, LMCAS::DomainError, LMCAS::Result< T >::error(), LMCAS::detail::facts, LMCAS::Result< T >::failure(), LMCAS::False, LMCAS::Inconclusive, kOperation, LMCAS::detail::node(), prove_coefficients(), LMCAS::detail::query_real_value(), LMCAS::real(), LMCAS::Result< T >::success(), LMCAS::True, LMCAS::UnsupportedExpression , 以及 LMCAS::Result< T >::value().
被这些函数引用 prove_coefficients() , 以及 solve_real_quadratic().
| Result< void > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::prove_zero | ( | const Node & | residual, |
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 199 行定义.
引用了 LMCAS::check_zero_residual(), LMCAS::detail::context, LMCAS::Result< T >::failure(), LMCAS::Inconclusive, kOperation, normalize(), prove_zero() , 以及 LMCAS::Result< T >::success().
被这些函数引用 prove_zero() , 以及 verify_root().
| Result< CartesianQuadraticRoots > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::solve_real_quadratic | ( | const Coefficients & | coefficients, |
| const AssumptionContext & | facts, | ||
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 236 行定义.
引用了 add(), LMCAS::b, construct_roots(), LMCAS::detail::context, LMCAS::detail::facts, LMCAS::Result< T >::failure(), integer(), multiply(), negate(), negative_discriminant(), LMCAS::detail::node(), normalize(), prove_coefficients(), LMCAS::roots(), solve_real_quadratic(), LMCAS::Result< T >::value() , 以及 verify_root().
被这些函数引用 solve_real_quadratic().
| Result< void > LMCAS::detail::anonymous_namespace{complex_quadratic.cpp}::verify_root | ( | const Coefficients & | coefficients, |
| const QuadraticCartesianRoot & | root, | ||
| ComputationContext & | context ) |
在文件 complex_quadratic.cpp 第 215 行定义.
引用了 LMCAS::a, LMCAS::b, LMCAS::c, cartesian_add(), cartesian_multiply(), LMCAS::detail::context, LMCAS::detail::QuadraticCartesianRoot::imag, integer(), kOperation, LMCAS::detail::node(), prove_zero(), LMCAS::detail::QuadraticCartesianRoot::real, LMCAS::real() , 以及 verify_root().
被这些函数引用 solve_real_quadratic() , 以及 verify_root().
|
constexpr |
在文件 complex_quadratic.cpp 第 17 行定义.
被这些函数引用 negative_discriminant(), normalize(), normalize_coefficients(), prove_coefficients(), prove_zero() , 以及 verify_root().