InvertibleRealFunction class abstract

Superclass of all invertible real functions

Inheritance
Implementers
Available Extensions

Constructors

InvertibleRealFunction([IRFSymbol? _symbol])
Constructs a real function
const
InvertibleRealFunction.of(InvertibleFunction<num, num> irf)
Converts any invertible function whose domain ⊆ num and codomain ⊆ num into an instance of InvertibleRealFunction
factory
InvertibleRealFunction.parse(String source)
Parse source as an instance of InvertibleRealFunction and return
factory

Properties

domain List<bool Function(num)>
Domain of this function
no setterinherited
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 setterinherited
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() InvertibleRealFunction
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.
override
valueAt(num x) num
Defines the behaviour of this function
inherited

Operators

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