mathmaker
0.4(alpha)
|
Exponented objects: CommutativeOperations (Sums&Products), Items, Quotients... More...
Public Member Functions | |
def | __init__ |
Constructor. | |
def | get_exponent |
Gets the exponent of the Function. | |
def | set_exponent |
Set the value of the exponent. | |
def | exponent_must_be_displayed |
True if the exponent isn't equivalent to a single 1. | |
Properties | |
exponent = property(get_exponent, doc = "Exponent of the Function") |
Exponented objects: CommutativeOperations (Sums&Products), Items, Quotients...
Any Exponented must have a exponent field and should reimplement the methods that are not already defined hereafter
Definition at line 1121 of file root_calculus.py.
def core.root_calculus.Exponented.__init__ | ( | self | ) |
Constructor.
Reimplemented from core.root_calculus.Signed.
Reimplemented in core.base_calculus.CommutativeOperation, and core.base_calculus.Operation.
Definition at line 1131 of file root_calculus.py.
References core.base_calculus.Item._exponent, core.base_calculus.Function._exponent, core.root_calculus.Exponented._exponent, core.base_calculus.Quotient._exponent, core.base_calculus.Fraction._exponent, core.base_calculus.Product._exponent, core.base_calculus.Sum._exponent, core.base_calculus.Monomial._exponent, and core.base_calculus.BinomialIdentity._exponent.
True if the exponent isn't equivalent to a single 1.
Definition at line 1171 of file root_calculus.py.
Referenced by core.base_calculus.Item.into_str(), core.base_calculus.Quotient.into_str(), core.base_calculus.Product.into_str(), core.base_calculus.Sum.into_str(), core.base_calculus.Item.multiply_symbol_is_required(), core.base_calculus.Quotient.requires_inner_brackets(), core.base_calculus.Product.requires_inner_brackets(), and core.base_calculus.Sum.requires_inner_brackets().
def core.root_calculus.Exponented.get_exponent | ( | self | ) |
Gets the exponent of the Function.
this should be already done by Item.get_exponent()...
Definition at line 1143 of file root_calculus.py.
References core.base_calculus.Item._exponent, core.base_calculus.Function._exponent, core.root_calculus.Exponented._exponent, core.base_calculus.Quotient._exponent, core.base_calculus.Fraction._exponent, core.base_calculus.Product._exponent, core.base_calculus.Sum._exponent, core.base_calculus.Monomial._exponent, and core.base_calculus.BinomialIdentity._exponent.
def core.root_calculus.Exponented.set_exponent | ( | self, | |
arg | |||
) |
Set the value of the exponent.
arg | Calculable|Number|String |
Definition at line 1157 of file root_calculus.py.
References core.base_calculus.Item._exponent, core.base_calculus.Function._exponent, core.root_calculus.Exponented._exponent, core.base_calculus.Quotient._exponent, core.base_calculus.Fraction._exponent, core.base_calculus.Product._exponent, core.base_calculus.Sum._exponent, core.base_calculus.Monomial._exponent, and core.base_calculus.BinomialIdentity._exponent.
Referenced by core.base_calculus.Monomial.__init__(), and core.base_calculus.Monomial.set_degree().