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 Feb. 16, 2024, 2:31 a.m.