Menu

Exponented

Nicolas Hainaux

Exponented objects are all calculus objects that have an exponent.
This applies to all of them except Values. So, any Exponented can 'recursively' embed another Exponented. Stop this 'recursion' using a Value.

Fields Methods (provided) Methods (must be reimplemented)
exponent get_exponent()
set_exponent()
exponent_must_be_displayed()

exponent_must_be_displayed() is used by into_str() methods to determine whether the object's exponent needs to be displayed or not.

Check Exponented's complete doc

Back


Related

Doc for dev: Core Objects
Doc for dev: Monomial

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.