|
copasi API
0.1
|
#include <CNormalProduct.h>
Public Member Functions | |
| CNormalProduct () | |
| CNormalProduct (const CNormalProduct &src) | |
| virtual CNormalBase * | copy () const |
| CNormalProduct & | operator= (const CNormalProduct &src) |
| bool | operator< (const CNormalProduct &rhs) const |
| virtual | ~CNormalProduct () |
| bool | setFactor (const C_FLOAT64 &number) |
| bool | multiply (const C_FLOAT64 &number) |
| bool | multiply (const CNormalItem &item) |
| bool | multiply (const CNormalFunction &fun) |
| bool | multiply (const CNormalChoice &choice) |
| bool | multiply (const CNormalGeneralPower &pow) |
| bool | multiply (const CNormalItemPower &itemPower) |
| bool | multiply (const std::set< CNormalItemPower *, compareItemPowers > &itemPowers) |
| bool | remove (std::set< CNormalItemPower *, compareItemPowers >::iterator it) |
| bool | remove (const CNormalItemPower &itemPower) |
| bool | multiply (const CNormalProduct &product) |
| CNormalSum * | multiply (const CNormalSum &sum) |
| const CNormalSum * | multiply (const CNormalLcm &lcm) |
| const C_FLOAT64 & | getFactor () const |
| const std::set < CNormalItemPower *, compareItemPowers > & | getItemPowers () const |
| void | setItemPowers (const std::set< CNormalItemPower *, compareItemPowers > &set) |
| bool | checkSamePowerList (const CNormalProduct &rhs) const |
| bool | operator== (const CNormalProduct &rhs) const |
| virtual std::string | toString () const |
| virtual bool | simplify () |
| CNormalGeneralPower * | getDenominator () const |
| void | setDenominatorsOne () |
Static Public Member Functions | |
| static CNormalProduct * | createUnitProduct () |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CNormalProduct &d) |
The class for products used in CNormal
| CNormalProduct::CNormalProduct | ( | ) |
Default constructor
| CNormalProduct::CNormalProduct | ( | const CNormalProduct & | src | ) |
Copy contructor
| CNormalProduct::~CNormalProduct | ( | ) | [virtual] |
Destructor
| bool CNormalProduct::checkSamePowerList | ( | const CNormalProduct & | rhs | ) | const |
| CNormalBase * CNormalProduct::copy | ( | ) | const [virtual] |
Implements CNormalBase.
| CNormalProduct * CNormalProduct::createUnitProduct | ( | ) | [static] |
Returns a product that is 1. In this case it only creates a new product instance with new.
| CNormalGeneralPower * CNormalProduct::getDenominator | ( | ) | const |
| const C_FLOAT64 & CNormalProduct::getFactor | ( | ) | const |
Retrieve the factor of this product.
| const std::set< CNormalItemPower *, compareItemPowers > & CNormalProduct::getItemPowers | ( | ) | const |
Retrieve the set of itempowers of this product.
| bool CNormalProduct::multiply | ( | const C_FLOAT64 & | number | ) |
Multiply this product with a number.
| bool CNormalProduct::multiply | ( | const CNormalItem & | item | ) |
Multiply an item to this product.
| bool CNormalProduct::multiply | ( | const CNormalFunction & | fun | ) |
Multiply a function to this product.
Multiply an item to this product.
| bool CNormalProduct::multiply | ( | const CNormalChoice & | choice | ) |
Multiply a function to this product.
Multiply an choice to this product.
| bool CNormalProduct::multiply | ( | const CNormalGeneralPower & | pow | ) |
Multiply a general power to this product.
Multiply an item to this product.
| bool CNormalProduct::multiply | ( | const CNormalItemPower & | itemPower | ) |
Multiply an itempower to this product.
| bool CNormalProduct::multiply | ( | const std::set< CNormalItemPower *, compareItemPowers > & | itemPowers | ) |
Multiply a list of itempowers to this product.
| bool CNormalProduct::multiply | ( | const CNormalProduct & | product | ) |
Multiply this product with another product.
| CNormalSum * CNormalProduct::multiply | ( | const CNormalSum & | sum | ) |
Multiply this product with a sum NOT CONTAINING FRACTIONS!.
| const CNormalSum * CNormalProduct::multiply | ( | const CNormalLcm & | lcm | ) |
Multiply this product with a lcm.
| bool CNormalProduct::operator< | ( | const CNormalProduct & | rhs | ) | const |
Smaller operator
| CNormalProduct & CNormalProduct::operator= | ( | const CNormalProduct & | src | ) |
Assignment operator
| bool CNormalProduct::operator== | ( | const CNormalProduct & | rhs | ) | const |
| bool CNormalProduct::remove | ( | std::set< CNormalItemPower *, compareItemPowers >::iterator | it | ) |
Remove an itempower from this product, provided it is a factor of it.
| bool CNormalProduct::remove | ( | const CNormalItemPower & | itemPower | ) |
Remove an itempower from this product, provided it is a factor of it. -used in multiplication with lcm-
| void CNormalProduct::setDenominatorsOne | ( | ) |
| bool CNormalProduct::setFactor | ( | const C_FLOAT64 & | number | ) |
Set the factor for this product.
| void CNormalProduct::setItemPowers | ( | const std::set< CNormalItemPower *, compareItemPowers > & | set | ) |
Sets the item powers of this product.
| bool CNormalProduct::simplify | ( | ) | [virtual] |
Implements CNormalBase.
| std::string CNormalProduct::toString | ( | ) | const [virtual] |
Implements CNormalBase.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const CNormalProduct & | d | ||
| ) | [friend] |
1.7.5.1