LIBINT
2.1.0-stable
|
represents linear combination of objects of type T with coefficients of type C More...
#include <algebra.h>
Public Types | |
typedef std::pair< C, T > | term_t |
typedef std::vector< term_t > | data_t |
Public Member Functions | |
LinearCombination (data_t *data) | |
LinearCombination & | operator+= (const term_t &t) |
size_t | size () const |
const term_t & | operator[] (unsigned int i) const |
represents linear combination of objects of type T with coefficients of type C