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 $ \frac{(n+p)!}{n!p!} $ which is the number of monomials of a polynomial of $n$ variables and degree $d$.
 
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)
 Add Q to P.
 
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.

Author
Yves Renard Yves..nosp@m.Rena.nosp@m.rd@in.nosp@m.sa-l.nosp@m.yon.f.nosp@m.r
Date
December 01, 2000.

Definition in file bgeot_poly.h.

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.