LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
LMCAS::anonymous_namespace{irrational_representation.cpp} 命名空间参考

函数

void append_factor (std::string &text, const std::string &factor)
std::string named_power (const std::string &name, const BigInt &exponent)

函数说明

◆ append_factor()

void LMCAS::anonymous_namespace{irrational_representation.cpp}::append_factor ( std::string & text,
const std::string & factor )

在文件 irrational_representation.cpp 第 14 行定义.

14 {
15 if (factor.empty()) return;
16 if (!text.empty()) text += "*";
17 text += factor;
18}

引用了 append_factor().

被这些函数引用 append_factor().

函数调用图:
这是这个函数的调用关系图:

◆ named_power()

std::string LMCAS::anonymous_namespace{irrational_representation.cpp}::named_power ( const std::string & name,
const BigInt & exponent )

在文件 irrational_representation.cpp 第 9 行定义.

9 {
10 if (exponent.is_zero()) return {};
11 return exponent == BigInt(1) ? name : name + "^(" + exponent.to_string() + ")";
12}
const ExprPtr & exponent
__attribute__((visibility("default"))) Result< EqvProfile > eqv_profile_from_name(const std const std::string & name

引用了 LMCAS::exponent, LMCAS::name , 以及 named_power().

被这些函数引用 named_power().

函数调用图:
这是这个函数的调用关系图: