BRL-CAD
|
#include <dvec.h>
Data Structures | |
class | add |
class | mul |
class | sqrt |
class | sub |
Public Member Functions | |
dvec (double s) | |
dvec (const double *vals) | |
dvec (const float *vals) | |
dvec (const dvec< LEN > &p) | |
dvec< LEN > & | operator= (const dvec< LEN > &p) |
double | operator[] (int index) const |
void | u_store (double *arr) const |
void | u_store (float *arr) const |
void | a_store (double *arr) const |
void | a_store (float *arr) const |
bool | operator== (const dvec< LEN > &b) const |
dvec< LEN > | operator+ (const dvec< LEN > &b) |
dvec< LEN > | operator- (const dvec< LEN > &b) |
dvec< LEN > | operator* (const dvec< LEN > &b) |
dvec< LEN > | operator/ (const dvec< LEN > &b) |
dvec< LEN > | madd (const dvec< LEN > &s, const dvec< LEN > &b) |
dvec< LEN > | madd (const double s, const dvec< LEN > &b) |
dvec< LEN > | map (const dvec_unop &operation, int limit=LEN) |
double | foldr (double proto, const dvec_op &operation, int limit=LEN) |
double | foldl (double proto, const dvec_op &operation, int limit=LEN) |
dvec | ( | double | s | ) |
dvec | ( | const double * | vals | ) |
dvec | ( | const float * | vals | ) |
double operator[] | ( | int | index | ) | const |
void u_store | ( | double * | arr | ) | const |
void u_store | ( | float * | arr | ) | const |
void a_store | ( | double * | arr | ) | const |
Referenced by mat2d_inverse(), and pt2dsub().
void a_store | ( | float * | arr | ) | const |
bool operator== | ( | const dvec< LEN > & | b | ) | const |
double foldl | ( | double | proto, |
const dvec_op & | operation, | ||
int | limit = LEN |
||
) |