LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
poly_utils.hpp
浏览该文件的文档.
1/**
2 * @file poly_utils.hpp
3 * @brief 多项式转换与精确符号多项式代数。
4 */
5#pragma once
6
8
9namespace LMCAS {
10
12
13/**
14 * Compute the monic GCD of two exact rational multivariate polynomials.
15 *
16 * The expressions may contain any number of symbolic variables, exact integer
17 * or rational coefficients, addition, multiplication, and nonnegative integer
18 * powers. Approximate numbers and non-polynomial nodes are rejected. A
19 * successful result is verified to divide both inputs exactly.
20 */
22 const SymbolicExpr& lhs,
23 const SymbolicExpr& rhs,
25
26/** Return the positive coefficient content of an exact rational polynomial. */
28 const SymbolicExpr& expression,
30
31} // namespace LMCAS
#define LMCAS_API
const std::vector< Polynomial< BigInt > > const BigInt ComputationContext & context
SymbolicGcdResult symbolic_polynomial_gcd(const SymbolicExpr &lhs, const SymbolicExpr &rhs, ComputationContext &context)
Result< std::shared_ptr< SymbolicExpr > > SymbolicGcdResult
const ExprPtr & rhs
Result< Rational > symbolic_polynomial_content(const SymbolicExpr &expression, ComputationContext &context)
符号表达式与一元多项式的转换。