Euclidean2DSpace

object Euclidean2DSpace : GeometrySpace<Vector2D> , ScaleOperations<Vector2D>

2D Euclidean space

Functions

Link copied to clipboard
open override fun add(left: Vector2D, right: Vector2D): Vector2D
Link copied to clipboard
open fun binaryOperation(operation: String, left: Vector2D, right: Vector2D): Vector2D
Link copied to clipboard
open override fun binaryOperationFunction(operation: String): (left: Vector2D, right: Vector2D) -> Vector2D
Link copied to clipboard
open fun bindSymbol(value: String): Vector2D
Link copied to clipboard
open fun bindSymbolOrNull(value: String): Vector2D?
Link copied to clipboard
open override fun Vector2D.distanceTo(other: Vector2D): Double

L2 distance

Link copied to clipboard
open operator fun Vector2D.div(k: Number): Vector2D
Link copied to clipboard
open infix override fun Vector2D.dot(other: Vector2D): Double

Scalar product

Link copied to clipboard
open fun export(arg: Vector2D): Vector2D
Link copied to clipboard
open operator fun Vector2D.minus(arg: Vector2D): Vector2D
Link copied to clipboard
fun Vector2D.norm(): Double
Link copied to clipboard
open operator fun Vector2D.plus(arg: Vector2D): Vector2D
Link copied to clipboard
open override fun scale(a: Vector2D, value: Double): Vector2D
Link copied to clipboard
open operator fun Number.times(arg: Vector2D): Vector2D
open operator fun Vector2D.times(k: Number): Vector2D
Link copied to clipboard
open operator override fun Vector2D.unaryMinus(): Vector2D
Link copied to clipboard
open fun unaryOperation(operation: String, arg: Vector2D): Vector2D
Link copied to clipboard
open override fun unaryOperationFunction(operation: String): (arg: Vector2D) -> Vector2D
Link copied to clipboard
open operator fun Vector2D.unaryPlus(): Vector2D

Properties

Link copied to clipboard
open override val zero: Vector2D

Sources

Link copied to clipboard