kmath-geometry
/
space.kscience.kmath.geometry
/
Vector2D
Vector2
D
interface
Vector2D
:
Buffer
<
Double
> ,
Vector
Content copied to clipboard
Functions
Properties
Extensions
Sources
Functions
get
Link copied to clipboard
open operator override fun
get
(index:
Int
):
Double
Content copied to clipboard
iterator
Link copied to clipboard
open operator override fun
iterator
():
Iterator
<
Double
>
Content copied to clipboard
toString
Link copied to clipboard
abstract override fun
toString
():
String
Content copied to clipboard
Properties
size
Link copied to clipboard
open override val
size
:
Int
Content copied to clipboard
x
Link copied to clipboard
abstract val
x
:
Double
Content copied to clipboard
y
Link copied to clipboard
abstract val
y
:
Double
Content copied to clipboard
Extensions
distanceTo
Link copied to clipboard
open override fun
Vector2D
.
distanceTo
(other:
Vector2D
):
Double
Content copied to clipboard
L2 distance
div
Link copied to clipboard
open operator fun
Vector2D
.
div
(k:
Number
):
Vector2D
Content copied to clipboard
dot
Link copied to clipboard
open infix override fun
Vector2D
.
dot
(other:
Vector2D
):
Double
Content copied to clipboard
Scalar product
minus
Link copied to clipboard
open operator fun
Vector2D
.
minus
(other:
Vector2D
):
Vector2D
Content copied to clipboard
norm
Link copied to clipboard
fun
Vector2D
.
norm
():
Double
Content copied to clipboard
plus
Link copied to clipboard
open operator fun
Vector2D
.
plus
(other:
Vector2D
):
Vector2D
Content copied to clipboard
r
Link copied to clipboard
val
Vector2D
.
r
:
Double
Content copied to clipboard
times
Link copied to clipboard
open operator fun
Vector2D
.
times
(k:
Number
):
Vector2D
Content copied to clipboard
unaryMinus
Link copied to clipboard
open operator override fun
Vector2D
.
unaryMinus
():
Vector2D
Content copied to clipboard
unaryPlus
Link copied to clipboard
open operator fun
Vector2D
.
unaryPlus
():
Vector2D
Content copied to clipboard
Sources
common source
Link copied to clipboard