|
LMCAS
Lamina Computer Algebra System
|
类 | |
| struct | LMCAS::TrigSquare |
命名空间 | |
| namespace | LMCAS |
函数 | |
| static bool | LMCAS::complementary_square (const std::shared_ptr< const SymbolicNode > &node, const TrigSquare &square) |
| static std::size_t | LMCAS::find_complementary_square (const std::vector< std::shared_ptr< const SymbolicNode > > &operands, const std::vector< bool > &consumed, std::size_t start, const TrigSquare &square) |
| static std::shared_ptr< const SymbolicNode > | LMCAS::simplify_pythagorean_sum (const AddNode &sum, const std::string &var) |
| static bool | LMCAS::tf_extract_coeff_trig_squared (const std::shared_ptr< const SymbolicNode > &node, std::shared_ptr< const SymbolicNode > &coeff, FunctionNode::FuncType &func_type, std::shared_ptr< const SymbolicNode > &argument) |
| 从 a*sin^2(f) 或 a*cos^2(f) 提取系数和三角平方项。 | |
| static bool | LMCAS::tf_is_trig_squared (const std::shared_ptr< const SymbolicNode > &node, FunctionNode::FuncType &func_type, std::shared_ptr< const SymbolicNode > &argument) |
| 匹配 sin^2(f) 或 cos^2(f),提取函数类型和参数。 | |
| std::shared_ptr< SymbolicExpr > | LMCAS::tf_simplify_pythagorean (const std::shared_ptr< SymbolicExpr > &expr, const std::string &var) |
| 在因式分解前用 sin^2(f) + cos^2(f) = 1 化简表达式。 | |
| static std::shared_ptr< const SymbolicNode > | LMCAS::tf_simplify_pythagorean_node (const std::shared_ptr< const SymbolicNode > &node, const std::string &var) |
| 递归化简 a*sin^2(f) + a*cos^2(f) 为 a,系数为 1 时结果为 1。 | |
| struct LMCAS::TrigSquare |
在文件 transcendental_pythagorean.cpp 第 105 行定义.
| 类成员 | ||
|---|---|---|
| shared_ptr< const SymbolicNode > | argument | |
| shared_ptr< const SymbolicNode > | coefficient | |
| FuncType | type | |