forked from kscience/kmath
Update kmath-core/src/commonMain/kotlin/space/kscience/kmath/operations/Algebra.kt
Co-authored-by: Iaroslav Postovalov <38042667+CommanderTvis@users.noreply.github.com>
This commit is contained in:
parent
dfac6aeb5c
commit
72f4d7c7e6
@ -84,7 +84,7 @@ public interface Algebra<T> {
|
|||||||
* @return an operation.
|
* @return an operation.
|
||||||
*/
|
*/
|
||||||
public fun binaryOperationFunction(operation: String): (left: T, right: T) -> T =
|
public fun binaryOperationFunction(operation: String): (left: T, right: T) -> T =
|
||||||
error("Binary operation '$operation; not defined in $this")
|
error("Binary operation '$operation' not defined in $this")
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dynamically invokes a binary operation with the certain name.
|
* Dynamically invokes a binary operation with the certain name.
|
||||||
|
Loading…
Reference in New Issue
Block a user