LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
polynomial_solver_support.hpp
浏览该文件的文档.
1#pragma once
4
6bool is_purely_numeric(const std::shared_ptr<SymbolicExpr>& expr);
7std::shared_ptr<SymbolicExpr> negate(const std::shared_ptr<SymbolicExpr>& expr);
8std::shared_ptr<SymbolicExpr> sub(const std::shared_ptr<SymbolicExpr>& a,
9 const std::shared_ptr<SymbolicExpr>& b);
10std::shared_ptr<SymbolicExpr> num(int value);
11std::vector<std::shared_ptr<SymbolicExpr>> solve_quadratic_internal(
12 const std::shared_ptr<SymbolicExpr>& a, const std::shared_ptr<SymbolicExpr>& b,
13 const std::shared_ptr<SymbolicExpr>& c, ComputationContext& context);
17std::vector<std::shared_ptr<SymbolicExpr>> exact_polynomial_roots(
20 std::shared_ptr<SymbolicExpr> p, q, r, shift;
21};
23 const std::shared_ptr<SymbolicExpr>& a, const std::shared_ptr<SymbolicExpr>& b,
24 const std::shared_ptr<SymbolicExpr>& c, const std::shared_ptr<SymbolicExpr>& d,
25 const std::shared_ptr<SymbolicExpr>& e, ComputationContext& context);
26std::vector<std::shared_ptr<SymbolicExpr>> symbolic_quartic_roots(
27 const SymbolicQuarticDepression& depression, const std::string& variable,
29std::vector<std::shared_ptr<SymbolicExpr>> solve_cubic_impl(
30 const std::shared_ptr<SymbolicExpr>& a, const std::shared_ptr<SymbolicExpr>& b,
31 const std::shared_ptr<SymbolicExpr>& c, const std::shared_ptr<SymbolicExpr>& d,
32 const std::string& variable, ComputationContext& context);
33std::vector<std::shared_ptr<SymbolicExpr>> solve_quartic_impl(
34 const std::shared_ptr<SymbolicExpr>& a, const std::shared_ptr<SymbolicExpr>& b,
35 const std::shared_ptr<SymbolicExpr>& c, const std::shared_ptr<SymbolicExpr>& d,
36 const std::shared_ptr<SymbolicExpr>& e, const std::string& variable,
38std::vector<std::shared_ptr<SymbolicExpr>> solve_biquadratic_impl(
39 const std::shared_ptr<SymbolicExpr>& a, const std::shared_ptr<SymbolicExpr>& b,
40 const std::shared_ptr<SymbolicExpr>& c, const std::string& variable,
42std::vector<std::shared_ptr<SymbolicExpr>> solve_by_factoring_impl(
43 const Polynomial<SymbolicPolyCoeff>& polynomial, const std::string& variable,
45}
一元多项式模板类
bool bounded_rational_root_search(const Polynomial< Rational > &polynomial)
std::shared_ptr< SymbolicExpr > num(int value)
std::vector< std::shared_ptr< SymbolicExpr > > solve_cubic_impl(const std::shared_ptr< SymbolicExpr > &a, const std::shared_ptr< SymbolicExpr > &b, const std::shared_ptr< SymbolicExpr > &c, const std::shared_ptr< SymbolicExpr > &d, const std::string &variable, ComputationContext &context)
bool convert_to_rational_poly(const Polynomial< SymbolicPolyCoeff > &poly, Polynomial< Rational > &output, ComputationContext &context)
std::vector< std::shared_ptr< SymbolicExpr > > solve_by_factoring_impl(const Polynomial< SymbolicPolyCoeff > &polynomial, const std::string &variable, ComputationContext &context)
std::vector< std::shared_ptr< SymbolicExpr > > exact_polynomial_roots(const Polynomial< Rational > &polynomial, ComputationContext &context)
std::vector< std::shared_ptr< SymbolicExpr > > solve_biquadratic_impl(const std::shared_ptr< SymbolicExpr > &a, const std::shared_ptr< SymbolicExpr > &b, const std::shared_ptr< SymbolicExpr > &c, const std::string &variable, ComputationContext &context)
std::vector< std::shared_ptr< SymbolicExpr > > symbolic_quartic_roots(const SymbolicQuarticDepression &depression, const std::string &variable, ComputationContext &context)
std::shared_ptr< SymbolicExpr > sub(const std::shared_ptr< SymbolicExpr > &a, const std::shared_ptr< SymbolicExpr > &b)
std::shared_ptr< SymbolicExpr > negate(const std::shared_ptr< SymbolicExpr > &expr)
SymbolicQuarticDepression symbolic_quartic_depression(const std::shared_ptr< SymbolicExpr > &a, const std::shared_ptr< SymbolicExpr > &b, const std::shared_ptr< SymbolicExpr > &c, const std::shared_ptr< SymbolicExpr > &d, const std::shared_ptr< SymbolicExpr > &e, ComputationContext &context)
std::vector< std::shared_ptr< SymbolicExpr > > solve_quartic_impl(const std::shared_ptr< SymbolicExpr > &a, const std::shared_ptr< SymbolicExpr > &b, const std::shared_ptr< SymbolicExpr > &c, const std::shared_ptr< SymbolicExpr > &d, const std::shared_ptr< SymbolicExpr > &e, const std::string &variable, ComputationContext &context)
bool is_purely_numeric(const std::shared_ptr< SymbolicExpr > &expr)
std::vector< std::shared_ptr< SymbolicExpr > > solve_quadratic_internal(const std::shared_ptr< SymbolicExpr > &a, const std::shared_ptr< SymbolicExpr > &b, const std::shared_ptr< SymbolicExpr > &c, ComputationContext &context)
const std::string & variable
ExprResult e()
const std::vector< Polynomial< BigInt > > const BigInt ComputationContext & context
const VectorField const VectorField & c
const MultiPoly & b
__attribute__((visibility("default"))) VectorCalculusExprResult curve_integral_scalar_checked(const std __attribute__((visibility("default"))) VectorCalculusExprResult curve_integral_scalar_checked(const std __attribute__((visibility("default"))) std const VectorField const std::string const std::shared_ptr< SymbolicExpr > & a
const std::string const ExprPtr & value