Meta Matrix Library
Home About FAQ Install Documentation To Do Download Related Links


Tutorial   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages (e.g. ToDo)  

Vector operations


Functions

void meml_vector_abs_f (VECTOR *a)
 $ a := abs( a ) $
VECTORmeml_vector_abs (const VECTOR *a)
 $ b := abs( a ) $
MEML_FLOAT meml_vector_element_max (const VECTOR *a)
 $ \alpha := \max a $
MEML_FLOAT meml_vector_element_max_f (const VECTOR *a, MEML_INT *which)
 $ \alpha := \max a := a[which] $
VECTORmeml_vector_min (const VECTOR *x, const VECTOR *y)
 $ z := x - y$
void meml_vector_min_f (const VECTOR *x, VECTOR *y)
 $ y := - x + y = y - x$
VECTORmeml_vector_multiadd (const MEML_FLOAT *alpha, const VECTOR **x, MEML_INT n)
 $ y := \sum_{i=0}^{n-1} \alpha_i x_i $
VECTORmeml_vector_add (const VECTOR *x, const VECTOR *y)
 $ y := x + y$
MEML_FLOAT meml_vector_norm (const VECTOR *x)
 $ \alpha := \|x\|_{2} $
MEML_FLOAT meml_vector_norm_max (const VECTOR *x)
 $ \alpha := \|x\|_{max} $
int meml_vector_equal (const VECTOR *x, const VECTOR *y)
 returns 1 if x=y and 0 if x $ \not= $ y

Function Documentation

VECTOR* meml_vector_abs const VECTOR a  ) 
 

$ b := abs( a ) $

void meml_vector_abs_f VECTOR a  ) 
 

$ a := abs( a ) $

VECTOR* meml_vector_add const VECTOR x,
const VECTOR y
 

$ y := x + y$

MEML_FLOAT meml_vector_element_max const VECTOR a  ) 
 

$ \alpha := \max a $

MEML_FLOAT meml_vector_element_max_f const VECTOR a,
MEML_INT which
 

$ \alpha := \max a := a[which] $

int meml_vector_equal const VECTOR x,
const VECTOR y
 

returns 1 if x=y and 0 if x $ \not= $ y

VECTOR* meml_vector_min const VECTOR x,
const VECTOR y
 

$ z := x - y$

void meml_vector_min_f const VECTOR x,
VECTOR y
 

$ y := - x + y = y - x$

VECTOR* meml_vector_multiadd const MEML_FLOAT alpha,
const VECTOR **  x,
MEML_INT  n
 

$ y := \sum_{i=0}^{n-1} \alpha_i x_i $

MEML_FLOAT meml_vector_norm const VECTOR x  ) 
 

$ \alpha := \|x\|_{2} $

MEML_FLOAT meml_vector_norm_max const VECTOR x  ) 
 

$ \alpha := \|x\|_{max} $


Generated on Tue Mar 28 14:10:38 2006 by  doxygen 1.4.1