int vector_normalize

(double* v, int len)

Scales the sum of elements in a vector to one.

Documentation

Scales the sum of elements in a vector to one.
Parameters:
v - vector
len - length of the vector
Returns:
0 for success; -1 for error

Alphabetic index



This page was generated with the help of DOC++.