CAPD DynSys Library  5.2.0
capd::diffAlgebra::HomogenousPolynomial< Scalar > Class Template Reference

Class HomogenousPolynomial provides indexing and some algorithms for multivariate homogenous polynomials. It does not store the coefficients of the polynomial. It is assumed that the memory is already allocated in a continuous block. More...

#include <capd/diffAlgebra/HomogenousPolynomial.h>

Public Types

typedef Scalar ScalarType
 
typedef ScalarTypeiterator
 
typedef ScalarTypeconst_iterator
 
typedef ScalarTypereference
 
typedef capd::vectalg::Multipointer Multipointer
 
typedef capd::vectalg::Multiindex Multiindex
 

Public Member Functions

 HomogenousPolynomial (ScalarType *coefficients, int dim, int degree)
 
reference operator() (const Multipointer &)
 
reference operator() (const Multiindex &)
 
const_reference operator() (const Multipointer &) const
 
const_reference operator() (const Multiindex &) const
 
reference operator() (int i)
 
reference operator() (int i, int j)
 
reference operator() (int i, int j, int c)
 
const_reference operator() (int i) const
 
const_reference operator() (int i, int j) const
 
const_reference operator() (int i, int j, int c) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reference operator[] (int i)
 
const_reference operator[] (int i) const
 

Public Attributes

const typedef ScalarTypeconst_reference
 

Protected Attributes

ScalarTypem_coefficients
 
int m_dim
 
int m_degree
 

Detailed Description

template<class Scalar>
class capd::diffAlgebra::HomogenousPolynomial< Scalar >

Class HomogenousPolynomial provides indexing and some algorithms for multivariate homogenous polynomials. It does not store the coefficients of the polynomial. It is assumed that the memory is already allocated in a continuous block.

Member Typedef Documentation

◆ const_iterator

◆ iterator

template<class Scalar >
typedef ScalarType* capd::diffAlgebra::HomogenousPolynomial< Scalar >::iterator

◆ Multiindex

◆ Multipointer

◆ reference

◆ ScalarType

template<class Scalar >
typedef Scalar capd::diffAlgebra::HomogenousPolynomial< Scalar >::ScalarType

Constructor & Destructor Documentation

◆ HomogenousPolynomial()

template<class Scalar >
capd::diffAlgebra::HomogenousPolynomial< Scalar >::HomogenousPolynomial ( ScalarType coefficients,
int  dim,
int  degree 
)
inline

Member Function Documentation

◆ begin() [1/2]

template<class Scalar >
iterator capd::diffAlgebra::HomogenousPolynomial< Scalar >::begin ( )
inline

◆ begin() [2/2]

template<class Scalar >
const_iterator capd::diffAlgebra::HomogenousPolynomial< Scalar >::begin ( ) const
inline

◆ end() [1/2]

template<class Scalar >
iterator capd::diffAlgebra::HomogenousPolynomial< Scalar >::end ( )
inline

◆ end() [2/2]

template<class Scalar >
const_iterator capd::diffAlgebra::HomogenousPolynomial< Scalar >::end ( ) const
inline

◆ operator()() [1/10]

template<class Scalar >
reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( const Multiindex )

◆ operator()() [2/10]

template<class Scalar >
const_reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( const Multiindex ) const

◆ operator()() [3/10]

template<class Scalar >
reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( const Multipointer )

◆ operator()() [4/10]

template<class Scalar >
const_reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( const Multipointer ) const

◆ operator()() [5/10]

template<class Scalar >
reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( int  i)

◆ operator()() [6/10]

template<class Scalar >
const_reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( int  i) const

◆ operator()() [7/10]

template<class Scalar >
reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( int  i,
int  j 
)

◆ operator()() [8/10]

template<class Scalar >
const_reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( int  i,
int  j 
) const

◆ operator()() [9/10]

template<class Scalar >
reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( int  i,
int  j,
int  c 
)

◆ operator()() [10/10]

template<class Scalar >
const_reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator() ( int  i,
int  j,
int  c 
) const

◆ operator[]() [1/2]

template<class Scalar >
reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator[] ( int  i)
inline

◆ operator[]() [2/2]

template<class Scalar >
const_reference capd::diffAlgebra::HomogenousPolynomial< Scalar >::operator[] ( int  i) const
inline

Member Data Documentation

◆ const_reference

template<class Scalar >
const typedef ScalarType& capd::diffAlgebra::HomogenousPolynomial< Scalar >::const_reference

◆ m_coefficients

template<class Scalar >
ScalarType* capd::diffAlgebra::HomogenousPolynomial< Scalar >::m_coefficients
protected

◆ m_degree

template<class Scalar >
int capd::diffAlgebra::HomogenousPolynomial< Scalar >::m_degree
protected

◆ m_dim

template<class Scalar >
int capd::diffAlgebra::HomogenousPolynomial< Scalar >::m_dim
protected