wnvnrm(3)

NAME

wn_norm2_vect, wn_norm_vect, wn_unit_vect, wn_dist2_vect,
wn_dist_vect - fast vector norm

SYNOPSIS

#include <wn/wnvect.h>
double wn_norm2_vect(double *vect, int len)
double wn_norm_vect(double *vect, int len)
void wn_unit_vect(double vect, int len)
double wn_dist2_vect(double v1[], double v2[], int len)
double wn_dist_vect(double v1[], double v2[], int len)

DESCRIPTION

Vector norm and squared norm, coded to be especially fast.
Find unit vector. Vector distance and distance squared.

SEE ALSO

wnvadd, wndot

AUTHOR

Will Naylor
WNLIB August 23, 1998
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout