LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
transcendental_pythagorean.cpp 文件参考
#include "internal/transcendental_support.hpp"
#include <string>
#include <vector>
transcendental_pythagorean.cpp 的引用(Include)关系图:

浏览该文件的源代码.

类

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。

类说明

◆ LMCAS::TrigSquare

struct LMCAS::TrigSquare

在文件 transcendental_pythagorean.cpp 第 105 行定义.

LMCAS::TrigSquare 的协作图:
类成员
shared_ptr< const SymbolicNode > argument
shared_ptr< const SymbolicNode > coefficient
FuncType type