linalg_norm {fakmct} | R Documentation |
Linear Algebra for Euclidean distance
Description
Linear Algebra for Euclidean distance
Usage
linalg_norm(inputA, inputB)
Arguments
inputA |
First input vector |
inputB |
Second input vector. Must be of the same dimension as inputA. |
Value
Returns the calculation results by squares of distances between two input values
Examples
a <- c(-3,-2,-1,3,3,2,3)
b <- c(-3,-2,-1,0,1,2,3)
linalg_norm(a,b) # = 3.605
[Package fakmct version 0.1.0 Index]