vector.c File Reference


Functions

vector vec_diff (vector *a2, vector *a1)
vector vec_sum (vector *a2, vector *a1)
vector vec_mult (vector *a1, double scalar)
vector vec_3cm (vector *a1, vector *a2, vector *a3)
double dot_prod (vector *a1, vector *a2)
vector cross_prod (vector *a1, vector *a2)
void vec_norm (vector *a)
void vec_zero (vector *a)
double vec_length (vector *a)
double vec_dist (vector *a1, vector *a2)
void vec_rtp (vector *a, double *rv, double *ctv, double *stv, double *cpv, double *spv)
void vec_print (vector *a, char *string)

Function Documentation

vector cross_prod ( vector a1,
vector a2 
)

double dot_prod ( vector a1,
vector a2 
)

vector vec_3cm ( vector a1,
vector a2,
vector a3 
)

vector vec_diff ( vector a2,
vector a1 
)

double vec_dist ( vector a1,
vector a2 
)

double vec_length ( vector a  ) 

vector vec_mult ( vector a1,
double  scalar 
)

void vec_norm ( vector a  ) 

void vec_print ( vector a,
char *  string 
)

void vec_rtp ( vector a,
double *  rv,
double *  ctv,
double *  stv,
double *  cpv,
double *  spv 
)

vector vec_sum ( vector a2,
vector a1 
)

void vec_zero ( vector a  ) 


Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.