Addition class
Represents addition function, f(x) = x + c
- Inheritance
-
- Object
- InvertibleFunction<
num, num> - InvertibleRealFunction
- Addition
- Available Extensions
Properties
- addBy → num
-
Added to the argument
final
-
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 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 functioninherited -
call(
num x) → num -
Makes this class callable
inherited
-
inverse(
) → Subtraction -
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.
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