dvec< LEN > Class Template Reference

#include <dvec.h>

Data Structures

class  add
class  mul
class  sqrt
class  sub

Public Member Functions

 dvec (double s)
 dvec (const double *vals, bool aligned=true)
 dvec (const dvec< LEN > &p)
dvec< LEN > & operator= (const dvec< LEN > &p)
double operator[] (int index) const
void u_store (double *arr) const
void a_store (double *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)

Detailed Description

template<int LEN>
class dvec< LEN >

Definition at line 62 of file dvec.h.


Constructor & Destructor Documentation

dvec ( double  s  )  [inline]

Definition at line 41 of file dvec.h.

dvec ( const double *  vals,
bool  aligned = true 
) [inline]

Definition at line 65 of file vector_x86.h.

dvec ( const dvec< LEN > &  p  )  [inline]

Definition at line 55 of file dvec.h.

References dvec_op::operator()().

Here is the call graph for this function:


Member Function Documentation

dvec< LEN > & operator= ( const dvec< LEN > &  p  )  [inline]

Definition at line 70 of file dvec.h.

double operator[] ( int  index  )  const [inline]

Definition at line 79 of file dvec.h.

void u_store ( double *  arr  )  const [inline]

Definition at line 86 of file dvec.h.

void a_store ( double *  arr  )  const [inline]

Definition at line 93 of file dvec.h.

bool operator== ( const dvec< LEN > &  b  )  const [inline]

Definition at line 101 of file dvec.h.

dvec< LEN > operator+ ( const dvec< LEN > &  b  )  [inline]

Definition at line 110 of file dvec.h.

dvec< LEN > operator- ( const dvec< LEN > &  b  )  [inline]

Definition at line 120 of file dvec.h.

dvec< LEN > operator* ( const dvec< LEN > &  b  )  [inline]

Definition at line 130 of file dvec.h.

dvec< LEN > operator/ ( const dvec< LEN > &  b  )  [inline]

Definition at line 140 of file dvec.h.

dvec< LEN > madd ( const dvec< LEN > &  s,
const dvec< LEN > &  b 
) [inline]

Definition at line 150 of file dvec.h.

dvec< LEN > madd ( const double  s,
const dvec< LEN > &  b 
) [inline]

Definition at line 160 of file dvec.h.

dvec< LEN > map ( const dvec_unop operation,
int  limit = LEN 
) [inline]

Definition at line 191 of file dvec.h.

double foldr ( double  proto,
const dvec_op operation,
int  limit = LEN 
) [inline]

Definition at line 170 of file dvec.h.

Referenced by mat2d_inverse().

double foldl ( double  proto,
const dvec_op operation,
int  limit = LEN 
) [inline]

Definition at line 180 of file dvec.h.


The documentation for this class was generated from the following files:
Generated on Tue Dec 11 13:14:30 2012 for LIBBN by  doxygen 1.6.3