vec_magnitude(3)

NAME
vec_magnitude, vec_magnitude2d - calculate magnitude (length) of a vector

SYNOPSIS
#include <matvec.h>

float vec_magnitude (const float *v);
float vec_magnitude2d (const float *v);

DESCRIPTION

vec_magnitude calculates the magnitude (length) of a 3D vector. vec_magnitude2d calculates the magnitude of a 2D vector.

AUTHOR
Richard Jones <rich@annexia.org>

LICENSE
GNU LGPL (see http://www.gnu.org/)

VERSION
c2lib-1.2.14

SEE ALSO
vec_normalize(3), vec_normalize2d(3).