EucDist: Solve the problem: ||A-B||^2 = ||A||^2 + ||B||^2 - 2*A'*B

EucDistR Documentation

Solve the problem: ||A-B||^2 = ||A||^2 + ||B||^2 - 2*A'*B

Description

Solve the problem: ||A-B||^2 = ||A||^2 + ||B||^2 - 2*A'*B

Usage

EucDist(A, B)

Arguments

A

matrix or vector

B

matrix or vector

Value

d matrix or vector


QinglinMei/RCSL documentation built on April 6, 2022, 9:13 p.m.