My Project
|
algorithms for calculating resultants. More...
#include "config.h"
#include "cf_assert.h"
#include "canonicalform.h"
#include "variable.h"
#include "cf_algorithm.h"
Go to the source code of this file.
Functions | |
CFArray | subResChain (const CanonicalForm &f, const CanonicalForm &g, const Variable &x) |
CFArray subResChain ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x ) More... | |
static CanonicalForm | trivialResultant (const CanonicalForm &f, const CanonicalForm &g, const Variable &x) |
static CanonicalForm trivialResultant ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x ) More... | |
CanonicalForm | resultant (const CanonicalForm &f, const CanonicalForm &g, const Variable &x) |
CanonicalForm resultant ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x ) More... | |
algorithms for calculating resultants.
Header file: cf_algorithm.h
Definition in file cf_resultant.cc.
CanonicalForm resultant | ( | const CanonicalForm & | f, |
const CanonicalForm & | g, | ||
const Variable & | x | ||
) |
CanonicalForm resultant ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x )
resultant() - return resultant of f and g with respect to x.
The chain is calculated from f and g with respect to variable x which should not be an algebraic variable. If f or q equals zero, zero is returned. If f is a coefficient with respect to x, f^degree(g, x) is returned, analogously for g.
This algorithm serves as a wrapper around other resultant algorithms which do the real work. Here we use standard properties of resultants only.
Definition at line 173 of file cf_resultant.cc.
CFArray subResChain | ( | const CanonicalForm & | f, |
const CanonicalForm & | g, | ||
const Variable & | x | ||
) |
CFArray subResChain ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x )
subResChain() - caculate extended subresultant chain.
The chain is calculated from f and g with respect to variable x which should not be an algebraic variable. If f or q equals zero, an array consisting of one zero entry is returned.
Note: this is not the standard subresultant chain but the extended chain!
This algorithm is from the article of R. Loos - 'Generalized Polynomial Remainder Sequences' in B. Buchberger - 'Computer Algebra - Symbolic and Algebraic Computation' with some necessary extensions concerning the calculation of the first step.
Definition at line 42 of file cf_resultant.cc.
|
static |
static CanonicalForm trivialResultant ( const CanonicalForm & f, const CanonicalForm & g, const Variable & x )
trivialResultant - calculate trivial resultants.
x's level should be larger than f's and g's levels. Either f or g should be constant or both linear.
Used by resultant().
Definition at line 146 of file cf_resultant.cc.