示例#1
0
文件: Poly.hpp 项目: pglass/cpp_maths
void operator*=(Term& x, const Term& y) {
    Term::map_citer_t it;
    for (it = y.factors.begin(); it != y.factors.end(); ++it)
        x.appendFactor(it->second);
    x.coeff *= y.coeff;
}
示例#2
0
文件: Poly.hpp 项目: pglass/cpp_maths
void operator*=(Term& x, const Factor& y) {
    x.appendFactor(y);
}