D.ndim: Calculate distance

Description Usage Arguments

Description

Calculate distance for any number of dimensions (without using a for loop) Recall, Distance = sqrt((x2 - x1)^2 + (y2 - y1)^2 ... more terms here)

Usage

1
D.ndim(point1, point2)

Arguments

point1

The first input point

point2

The secont input point.


akeyel/myr documentation built on May 12, 2019, 4:41 a.m.