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