DACE 2.0 API Manual
Differential Algebra Core Engine
Public Member Functions | Data Fields
DACE::Monomial Class Reference

#include <dace/Monomial.h>

+ Collaboration diagram for DACE::Monomial:

Public Member Functions

 Monomial ()
 
unsigned int order () const
 
std::string toString () const
 

Data Fields

std::vector< unsigned int > m_jj
 
double m_coeff
 

Detailed Description

Monomial class

Constructor & Destructor Documentation

◆ Monomial()

DACE::Monomial::Monomial ( )

Default constructor.

Create a Monomial object large enough to hold all current monomials.

Member Function Documentation

◆ order()

unsigned int DACE::Monomial::order ( ) const

Return the order of the Monomial.

Compute the order of the monomial.

Returns
Order of the monomial

◆ toString()

std::string DACE::Monomial::toString ( ) const

Convert current monomial to string.

Convert monomial to string.

Returns
A string representing the monomial in human readable form.

Field Documentation

◆ m_coeff

double DACE::Monomial::m_coeff

Coefficient.

◆ m_jj

std::vector<unsigned int> DACE::Monomial::m_jj

Vector of exponents.


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