GetFEM  5.4.2
bgeot_poly.h File Reference

Multivariate polynomials. More...

#include "bgeot_config.h"
#include "dal_static_stored_objects.h"
#include <vector>

Go to the source code of this file.

## Classes

class  bgeot::power_index
Vector of integer (16 bits type) which represent the powers of a monomial. More...

class  bgeot::polynomial< T >
This class deals with plain polynomials with several variables. More...

## Namespaces

bgeot
Basic Geometric Tools.

## Typedefs

typedef size_t bgeot::size_type
used as the common size type in the library

## Functions

size_type bgeot::alpha (short_type n, short_type d)
Return the value of which is the number of monomials of a polynomial of variables and degree .

template<typename T >
std::ostream & bgeot::operator<< (std::ostream &o, const polynomial< T > &P)
Print P to the output stream o. for instance cout << P;.

template<typename T >
polynomial< T > bgeot::poly_substitute_var (const polynomial< T > &P, const polynomial< T > &S, size_type subs_dim)
polynomial variable substitution More...

base_poly bgeot::read_base_poly (short_type n, std::istream &f)
read a base_poly on the stream ist.

base_poly bgeot::read_base_poly (short_type n, const std::string &s)
read a base_poly on the string s.

template<typename T >
rational_fraction< T > bgeot::operator+ (const polynomial< T > &P, const rational_fraction< T > &Q)

template<typename T >
rational_fraction< T > bgeot::operator- (const polynomial< T > &P, const rational_fraction< T > &Q)
Subtract Q from P.

## Detailed Description

Multivariate polynomials.

Date
December 01, 2000.

Definition in file bgeot_poly.h.