GiNaC 1.8.7
Classes | Namespaces | Functions
normal.h File Reference

This file defines several functions that work on univariate and multivariate polynomials and rational functions. More...

#include "lst.h"

Go to the source code of this file.

Classes

struct  GiNaC::gcd_options
 Flags to control the behavior of gcd() and friends. More...
 

Namespaces

namespace  GiNaC
 

Functions

ex GiNaC::quo (const ex &a, const ex &b, const ex &x, bool check_args)
 Quotient q(x) of polynomials a(x) and b(x) in Q[x]. More...
 
ex GiNaC::rem (const ex &a, const ex &b, const ex &x, bool check_args)
 Remainder r(x) of polynomials a(x) and b(x) in Q[x]. More...
 
ex GiNaC::decomp_rational (const ex &a, const ex &x)
 Decompose rational function a(x)=N(x)/D(x) into P(x)+n(x)/D(x) with degree(n, x) < degree(D, x). More...
 
ex GiNaC::prem (const ex &a, const ex &b, const ex &x, bool check_args)
 Pseudo-remainder of polynomials a(x) and b(x) in Q[x]. More...
 
ex GiNaC::sprem (const ex &a, const ex &b, const ex &x, bool check_args)
 Sparse pseudo-remainder of polynomials a(x) and b(x) in Q[x]. More...
 
bool GiNaC::divide (const ex &a, const ex &b, ex &q, bool check_args)
 Exact polynomial division of a(X) by b(X) in Q[X]. More...
 
ex GiNaC::gcd (const ex &a, const ex &b, ex *ca, ex *cb, bool check_args, unsigned options)
 Compute GCD (Greatest Common Divisor) of multivariate polynomials a(X) and b(X) in Z[X]. More...
 
ex GiNaC::lcm (const ex &a, const ex &b, bool check_args)
 Compute LCM (Least Common Multiple) of multivariate polynomials in Z[X]. More...
 
ex GiNaC::sqrfree (const ex &a, const lst &l)
 Compute a square-free factorization of a multivariate polynomial in Q[X]. More...
 
ex GiNaC::sqrfree_parfrac (const ex &a, const symbol &x)
 Compute square-free partial fraction decomposition of rational function a(x). More...
 
ex GiNaC::collect_common_factors (const ex &e)
 Collect common factors in sums. More...
 
ex GiNaC::resultant (const ex &e1, const ex &e2, const ex &s)
 Resultant of two expressions e1,e2 with respect to symbol s. More...
 

Detailed Description

This file defines several functions that work on univariate and multivariate polynomials and rational functions.

These functions include polynomial quotient and remainder, GCD and LCM computation, square-free factorization and rational function normalization.

Definition in file normal.h.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.