Class OrdSummand
Class defined in:src/js/Ord.js:252
Constructor to create a triple omega ^ ord * n, representing a term (or
a summand) of an Ord object.
The base is always omega, the exponent and the factor can be defined by the parameters.
Note that you must ensure not to violate the normalized form
of the Ord to which this OrdSummand will be appended.
OrdSummand( exponent, fac )
src/js/Ord.js:252
Parameters:
-
exponent<Ord / number>The exponent of the triple. If undefined, the value will be 0.
-
fac<Number>The factor of the triple. If undefined, the value will be 1.
getExponent( )
src/js/Ord.js:283
Get the exponent. Note that this method returns an Ord object if the exponent is greater or equal to omega, and a number if the exponent is a natural number (is less than omega).
isGreaterThan( otherOS )
src/js/Ord.js:352
Compares the sizes of this OrdSummand versus another one (which is given as parameter)
Parameters:-
otherOS<OrdSummand>The other OrdSummand, to which this object will be compared.
serialize( arr, htmlStyle. )
src/js/Ord.js:307
Serializes the data of this OrdSummand recursively and appends the single components to the array given as parameter
Parameters:
Transfinite Ordinal Calculator: OrdSummand