#include <Monomial.h>
Inheritance diagram for mcMonomial:
This class is really light because it doesn't copy anything from the given expression; it just links them. Thus, you can create/delete mcMonomials everywhere you need; you can also reuse them recalling Init(). This class is somewhat slow: don't make useless calls because each function often uses complex algorithms and almost always will result in a lot of recursive calls.
Definition at line 441 of file Monomial.h.
|
Definition at line 95 of file Monomial.cpp. References mcElementArray::data_AddElements(), and mcObject::data_SetRefData(). |
|
Definition at line 97 of file Monomial.cpp. References mcElementArray::data_AddElements(), and mcObject::data_SetRefData(). |
|
Definition at line 101 of file Monomial.cpp. References mcElementArray::data_AddElements(), and mcObject::data_SetRefData(). |
|
Definition at line 99 of file Monomial.cpp. References mcElementArray::data_AddElements(), and mcObject::data_SetRefData(). |
|
Definition at line 93 of file Monomial.cpp. References mcElementArray::data_AddElements(), and mcObject::data_SetRefData(). |
|
Returns TRUE if this element can safely contain the given element type. Without this function a lot of errors could be undetectable:
mcPolynomial pol; // creates a new polynomial mcElement e(pol); // references it [...] // the programmers forgots what "e" references mcFraction f(e); // mcFraction wraps a mcPolynomialHelpers class ! f.data_GetNum(); // CRASH This function must be overridden by mcElement-derived classes in order to provide a list of the mcElementType it can safely contain. Reimplemented from mcElementArray. Definition at line 471 of file Monomial.h. References mcET_MONOMIAL. |
|
Definition at line 478 of file Monomial.h. References mcWRAPPER. Referenced by mcPolynomialHelpers::math_SimplifySolveOp(). |
|
Definition at line 504 of file Monomial.h. References mcWRAPPER. |
|
Definition at line 501 of file Monomial.h. References mcWRAPPER. Referenced by mcMonomialHelpers::math_Add(), mcPolynomialHelpers::math_PackSign(), mcPolynomialHelpers::math_SimplifySolveOp(), and mcPolynomialHelpers::math_SyncCoeffWithSigns(). |
|
Definition at line 490 of file Monomial.h. References mcWRAPPER. Referenced by mcPolynomialHelpers::math_GetMaxDegreeFor(). |
|
Definition at line 492 of file Monomial.h. References mcWRAPPER. |
|
Definition at line 474 of file Monomial.h. References mcWRAPPER. |
|
Definition at line 499 of file Monomial.h. References mcWRAPPER. Referenced by mcMonomialHelpers::math_isSimilarTo(). |
|
Definition at line 497 of file Monomial.h. References mcWRAPPER. |
|
Definition at line 495 of file Monomial.h. References mcWRAPPER. Referenced by mcMonomialHelpers::math_GetCoeff(). |
|
|
|
Definition at line 455 of file Monomial.h. References mcElement::math_SimpleMultiplyBy(). |
|
Definition at line 466 of file Monomial.h. |
|
Definition at line 461 of file Monomial.h. References mcElement::math_SimpleAdd(). |
|
Definition at line 464 of file Monomial.h. |
|
Definition at line 459 of file Monomial.h. References mcElement::math_SimpleSubtract(). |
|
Definition at line 465 of file Monomial.h. |
|
Definition at line 457 of file Monomial.h. References mcElement::math_SimpleDivideBy(). |
|
Definition at line 467 of file Monomial.h. |
|
Definition at line 443 of file Monomial.h. |
[ Top ] |