Synopsis

double mth_GetVectorMag(int ndim, double *a)

Purpose

Compute the magnitude of a vector.

Description

The magnitude of the vector a will be computed.

Input

ndim

Number of dimensions in vector

a

Vector to compute the magnitude of

Return

Magnitude of vector a