l2Dist_fast: (Fast) L2 Distance

Description Usage Arguments Value See Also

Description

Computes the standard Euclidean distance with a fast C++ implementation.

Usage

1
l2Dist_fast(x, y, cid = FALSE, cortK = -1)

Arguments

x

1st numeric vector/time series.

y

2nd numeric vector/time series.

cid

Should the distance be made complexity invariant (l2CompCorFactor_fast)?

cortK

Should the temporal behavior (correlation) of the time series' diff vectors be considered (cortFactor_fast)? A factor smaller than 0 means no, higher factors will be used as parameter k in the temporal correlation scaling function.

Value

The distance as double.

See Also

Other L_p distances: l1DistMult_fast, l1Dist_fast, l2DistMult_fast, l2Dist, l2Norm_fast, lmaxDistMult_fast, lmaxDist_fast


Jakob-Bach/FastTSDistances documentation built on May 13, 2019, 1:15 p.m.