Power class

Represents power function, f(x) = xc

Inheritance
Available Extensions

Constructors

Power(num exponent)
Constructs a power function
const

Properties

domain List<bool Function(num)>
Domain of this function
no setteroverride
exponent num
Power to which the argument is raised to
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

after<W>(InvertibleFunction<W, num> g) InvertibleFunction<W, num>
Returns composite function of this function and g
inherited
before<Z>(InvertibleFunction<num, Z> g) InvertibleFunction<num, Z>
Returns composite function of g and this function
inherited
call(num x) num
Makes this class callable
inherited
inverse() Power
Returns the inverse function of this function
override
isInDomain(num x) bool
Returns true if x is in the domain of this function
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
of<W>(InvertibleFunction<W, num> g) InvertibleFunction<W, num>
Returns composite function of this function and g
inherited
toString() String
A string representation of this object.
inherited
valueAt(num x) num
Defines the behaviour of this function
override

Operators

operator <<(InvertibleFunction<num, num> g) InvertibleRealFunction
Shorthand for after
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator >>(InvertibleFunction<num, num> g) InvertibleRealFunction
Shorthand for before
inherited