Main Page | Modules | Class List | File List | Class Members | File Members

Access an Element of a General Size Vector
[General Size Vectors]


Functions

Gan_Bool gan_vec_set_el (Gan_Vector *x, unsigned i, double value)
 Macro: Set specific element of vector.
double gan_vec_get_el (const Gan_Vector *x, unsigned i)
 Macro: Get specific element of vector.
Gan_Bool gan_vec_inc_el (Gan_Vector *x, unsigned i, double value)
 Macro: Increment specific element of vector by given value.
Gan_Bool gan_vec_dec_el (Gan_Vector *x, unsigned i, double value)
 Macro: Decrement specific element of vector by given value.
Gan_Bool gan_vecf_set_el (Gan_Vector_f *x, unsigned i, float value)
 Macro: Set specific element of vector.
float gan_vecf_get_el (const Gan_Vector_f *x, unsigned i)
 Macro: Get specific element of vector.
Gan_Bool gan_vecf_inc_el (Gan_Vector_f *x, unsigned i, float value)
 Macro: Increment specific element of vector by given value.
Gan_Bool gan_vecf_dec_el (Gan_Vector_f *x, unsigned i, float value)
 Macro: Decrement specific element of vector by given value.

Function Documentation

Gan_Bool gan_vec_dec_el Gan_Vector x,
unsigned  i,
double  value
 

Macro: Decrement specific element of vector by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Macro to decrement element i of generic vector by given value.

double gan_vec_get_el const Gan_Vector x,
unsigned  i
 

Macro: Get specific element of vector.

Macro to return element i of generic vector, or DBL_MAX on failure.

Gan_Bool gan_vec_inc_el Gan_Vector x,
unsigned  i,
double  value
 

Macro: Increment specific element of vector by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Macro to increment element i of generic vector by given value.

Gan_Bool gan_vec_set_el Gan_Vector x,
unsigned  i,
double  value
 

Macro: Set specific element of vector.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set element i of generic vector to given value.

Gan_Bool gan_vecf_dec_el Gan_Vector_f x,
unsigned  i,
float  value
 

Macro: Decrement specific element of vector by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Macro to decrement element i of generic vector by given value.

float gan_vecf_get_el const Gan_Vector_f x,
unsigned  i
 

Macro: Get specific element of vector.

Macro to return element i of generic vector, or FLT_MAX on failure.

Gan_Bool gan_vecf_inc_el Gan_Vector_f x,
unsigned  i,
float  value
 

Macro: Increment specific element of vector by given value.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Macro to increment element i of generic vector by given value.

Gan_Bool gan_vecf_set_el Gan_Vector_f x,
unsigned  i,
float  value
 

Macro: Set specific element of vector.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Set element i of generic vector to given value.


Generated on Fri Mar 17 12:44:59 2006 by  doxygen 1.3.9.1