KSLCore
Toggle table of contents
R1.2.2
jvm
Platform filter
jvm
Switch theme
Search in API
KSLCore
KSLCore
/
ksl.utilities
/
manhattanDistance
manhattan
Distance
fun
List
<
Int
>
.
manhattanDistance
(
b
:
List
<
Int
>
)
:
Int
(
source
)
fun
IntArray
.
manhattanDistance
(
b
:
IntArray
)
:
Int
(
source
)
fun
List
<
Double
>
.
manhattanDistance
(
b
:
List
<
Double
>
)
:
Double
(
source
)
fun
DoubleArray
.
manhattanDistance
(
b
:
DoubleArray
)
:
Double
(
source
)
Computes the Manhattan distance between the two vectors. The vectors must be of the same size.