cheshirekow  v0.1.0
mpblocks::polynomial::SparsePolynomial< Scalar > Class Template Reference

#include <mpblocks/polynomial/SparsePolynomial.h>

Public Types

typedef LValue< Scalar,
Polynomial_t
LValue_t
 
typedef std::map< int, Scalar > Map_t
 
typedef std::pair< int, Scalar > Pair_t
 
typedef SparsePolynomial< Scalar > Polynomial_t
 

Public Member Functions

Scalar getImmutable (int i) const
 vector accessor More...
 
Scalar & getMutable (int i)
 access for assignment More...
 
int size () const
 
 SparsePolynomial ()
 Default constructor. More...
 

Protected Attributes

Map_t m_data
 

Detailed Description

template<typename Scalar>
class mpblocks::polynomial::SparsePolynomial< Scalar >

Definition at line 39 of file SparsePolynomial.h.

Member Typedef Documentation

template<typename Scalar >
typedef LValue< Scalar, Polynomial_t > mpblocks::polynomial::SparsePolynomial< Scalar >::LValue_t

Definition at line 43 of file SparsePolynomial.h.

template<typename Scalar >
typedef std::map<int,Scalar> mpblocks::polynomial::SparsePolynomial< Scalar >::Map_t

Definition at line 45 of file SparsePolynomial.h.

template<typename Scalar >
typedef std::pair<int,Scalar> mpblocks::polynomial::SparsePolynomial< Scalar >::Pair_t

Definition at line 46 of file SparsePolynomial.h.

template<typename Scalar >
typedef SparsePolynomial<Scalar> mpblocks::polynomial::SparsePolynomial< Scalar >::Polynomial_t

Definition at line 42 of file SparsePolynomial.h.

Constructor & Destructor Documentation

template<typename Scalar >
mpblocks::polynomial::SparsePolynomial< Scalar >::SparsePolynomial ( )
inline

Default constructor.

Definition at line 78 of file SparsePolynomial.h.

Member Function Documentation

template<typename Scalar >
Scalar mpblocks::polynomial::SparsePolynomial< Scalar >::getImmutable ( int  i) const
inline

vector accessor

Definition at line 68 of file SparsePolynomial.h.

template<typename Scalar >
Scalar& mpblocks::polynomial::SparsePolynomial< Scalar >::getMutable ( int  i)
inline

access for assignment

Definition at line 58 of file SparsePolynomial.h.

template<typename Scalar >
int mpblocks::polynomial::SparsePolynomial< Scalar >::size ( ) const
inline

Definition at line 52 of file SparsePolynomial.h.

Member Data Documentation

template<typename Scalar >
Map_t mpblocks::polynomial::SparsePolynomial< Scalar >::m_data
protected

Definition at line 49 of file SparsePolynomial.h.


The documentation for this class was generated from the following file: