SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
vector.c File Reference

Vector operations. More...

Functions

float spr_math_vector_dist2 (int n, const float *x, const float *y)
 
float spr_math_vec_dist (int n, const float *x, const float *y)
 
void spr_math_vec_pme (int n, float *x, float *y, float *z)
 
void spr_math_vec_init (int n, float *x, float a)
 Initializes the first n elements of x[] with a. More...
 
void spr_math_vec_add (int n, float *x, float *y, float *z)
 
int spr_math_vec_findmax (int n, const float *x)
 out: index of highest value More...
 
int spr_math_vec_findmin (int n, const float *x)
 out: index of lowest value More...
 

Detailed Description

Vector operations.

Author
Philippe Le Cerf
Date
21 Nov 1991
Revision History:
13 Jan 1994 - FS
Added vector_add() and vector_findmax()
7 Jun 1994 - FS
Commented out the function mahal2() which was never used
26 Sep 1994 - KD
Added vector_findmin()