GeometrySpace

interface GeometrySpace<V : Vector> : Space<V>

Functions

add
Link copied to clipboard
common
abstract fun add(a: V, b: V): V
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: V, right: V): V
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (V, V) -> V
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): V
distanceTo
Link copied to clipboard
common
abstract fun V.distanceTo(other: V): Double
L2 distance
div
Link copied to clipboard
common
open operator fun V.div(k: Number): V
dot
Link copied to clipboard
common
abstract infix fun V.dot(other: V): Double
Scalar product
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
minus
Link copied to clipboard
common
open operator fun V.minus(b: V): V
multiply
Link copied to clipboard
common
abstract fun multiply(a: V, k: Number): V
plus
Link copied to clipboard
common
open operator fun V.plus(b: V): V
times
Link copied to clipboard
common
open operator fun V.times(k: Number): V
open operator fun Number.times(b: V): V
toString
Link copied to clipboard
common
open fun toString(): String
unaryMinus
Link copied to clipboard
common
open operator fun V.unaryMinus(): V
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: V): V
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (V) -> V
unaryPlus
Link copied to clipboard
common
open operator fun V.unaryPlus(): V

Properties

zero
Link copied to clipboard
common
abstract val zero: V

Inheritors

Euclidean2DSpace
Link copied to clipboard
Euclidean3DSpace
Link copied to clipboard