InvertibleRealFunction class abstract
Superclass of all invertible real functions
- Inheritance
-
- Object
- InvertibleFunction<
num, num> - InvertibleRealFunction
- 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 ofInvertibleRealFunction
and returnfactory
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 functioninherited -
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
ifx
is in the domain of this functioninherited -
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