ScalarMonoid_<K, F> class

Same as a Monoid_ but instead of operating on objects from the same set a ScalarMonoid_ operates on two types from different sets and returns the left type as a result.

Implementers

Constructors

ScalarMonoid_()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sIdentity() → F
sOperate(K vector, F scalar) → K
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

create<K, F>(F _scalarIndentity(), K _scalarMultiplication(K vector, F scalar)) ScalarMonoid_<K, F>