Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

{add,sub,mul,div}: componentwise binary operations.


Functions

*static void vm_VMath::add (T_fp v[], T_fp const cv1[], T_fp const cv2[])
static void vm_VMath::sub (T_fp v[], T_fp const cv1[], T_fp const cv2[])
static void vm_VMath::mul (T_fp v[], T_fp const cv1[], T_fp const cv2[])
static void vm_VMath::div (T_fp v[], T_fp const cv1[], T_fp const cv2[])
static void vm_VMath::add (T_fp v[], T_fp const cv[], T_fp r)
static void vm_VMath::sub (T_fp v[], T_fp const cv[], T_fp r)
static void vm_VMath::mul (T_fp v[], T_fp const cv[], T_fp r)
static void vm_VMath::div (T_fp v[], T_fp const cv[], T_fp r)
static void vm_VMath::add (T_fp v[], T_fp r, T_fp const cv[])
static void vm_VMath::sub (T_fp v[], T_fp r, T_fp const cv[])
static void vm_VMath::mul (T_fp v[], T_fp r, T_fp const cv[])
static void vm_VMath::div (T_fp v[], T_fp r, T_fp const cv[])

Function Documentation

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::add T_fp  v[],
T_fp  r,
T_fp const   cv[]
[inline, static, inherited]
 

component-wise v[n] = r + cv[n]

Parameters:
v result vector
r input T_fp
cv input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::add T_fp  v[],
T_fp const   cv[],
T_fp  r
[inline, static, inherited]
 

component-wise v[n] = cv[n] + r

Parameters:
v result vector
cv input vector
r input T_fp

template<class T_fp, int N_len>
* static void vm_VMath< T_fp, N_len >::add T_fp  v[],
T_fp const   cv1[],
T_fp const   cv2[]
[inline, static, inherited]
 

component-wise v[n] = cv1[n] + cv2[n]

Parameters:
v result vector
cv1 1st input vector
cv2 2nd input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::div T_fp  v[],
T_fp  r,
T_fp const   cv[]
[inline, static, inherited]
 

component-wise v[n] = r / cv[n]

Parameters:
v result vector
r input T_fp
cv input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::div T_fp  v[],
T_fp const   cv[],
T_fp  r
[inline, static, inherited]
 

component-wise v[n] = cv[n] / r

Parameters:
v result vector
cv input vector
r input T_fp

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::div T_fp  v[],
T_fp const   cv1[],
T_fp const   cv2[]
[inline, static, inherited]
 

component-wise v[n] = cv1[n] / cv2[n]

Parameters:
v result vector
cv1 1st input vector
cv2 2nd input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::mul T_fp  v[],
T_fp  r,
T_fp const   cv[]
[inline, static, inherited]
 

component-wise v[n] = r * cv[n]

Parameters:
v result vector
r input T_fp
cv input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::mul T_fp  v[],
T_fp const   cv[],
T_fp  r
[inline, static, inherited]
 

component-wise v[n] = cv[n] * r

Parameters:
v result vector
cv input vector
r input T_fp

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::mul T_fp  v[],
T_fp const   cv1[],
T_fp const   cv2[]
[inline, static, inherited]
 

component-wise v[n] = cv1[n] * cv2[n]

Parameters:
v result vector
cv1 1st input vector
cv2 2nd input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::sub T_fp  v[],
T_fp  r,
T_fp const   cv[]
[inline, static, inherited]
 

component-wise v[n] = r - cv[n]

Parameters:
v result vector
r input T_fp
cv input vector

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::sub T_fp  v[],
T_fp const   cv[],
T_fp  r
[inline, static, inherited]
 

component-wise v[n] = cv[n] - r

Parameters:
v result vector
cv input vector
r input T_fp

template<class T_fp, int N_len>
static void vm_VMath< T_fp, N_len >::sub T_fp  v[],
T_fp const   cv1[],
T_fp const   cv2[]
[inline, static, inherited]
 

component-wise v[n] = cv1[n] - cv2[n]

Parameters:
v result vector
cv1 1st input vector
cv2 2nd input vector


Generated on Wed Apr 19 17:38:32 2006 for vm_math by  doxygen 1.4.2