|
LMCAS
Lamina Computer Algebra System
|
一元多项式模板类 Polynomial<T>,支持四则运算,GCD,求导,求值. 更多...
#include <vector>#include <string>#include <iostream>#include <algorithm>#include <stdexcept>#include <numeric>#include "bigint.hpp"#include "rational.hpp"#include "polynomial_division.hpp"类 | |
| class | LMCAS::Polynomial< CoeffType > |
| 一元多项式模板类 更多... | |
命名空间 | |
| namespace | LMCAS |
函数 | |
| template<typename T> | |
| T | LMCAS::gcd_coeff_impl (const T &a, const T &b) |
| 计算两个系数的最大公约数(泛型实现) | |
| template<typename T> | |
| std::ostream & | LMCAS::operator<< (std::ostream &os, const Polynomial< T > &p) |
| 多项式流输出运算符 | |
一元多项式模板类 Polynomial<T>,支持四则运算,GCD,求导,求值.
在文件 polynomial.hpp 中定义.