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

Multiply/Divide a General Size Vector by a Scalar
[General Size Vectors]


Functions

Gan_Vectorgan_vec_scale_q (Gan_Vector *x, double a, Gan_Vector *y)
 Multiply vector by scalar.
Gan_Vectorgan_vec_scale_s (Gan_Vector *x, double a)
 Macro: Multiply vector by scalar.
Gan_Vectorgan_vec_scale_i (Gan_Vector *x, double a)
 Macro: Multiply vector by scalar.
Gan_Vectorgan_vec_divide_q (Gan_Vector *x, double a, Gan_Vector *y)
 Macro: Divide vector by scalar.
Gan_Vectorgan_vec_divide_s (Gan_Vector *x, double a)
 Macro: Divide vector by scalar.
Gan_Vectorgan_vec_divide_i (Gan_Vector *x, double a)
 Macro: Divide vector by scalar.
Gan_Vectorgan_vec_negate_q (Gan_Vector *x, Gan_Vector *y)
 Macro: Negate vector.
Gan_Vectorgan_vec_negate_s (Gan_Vector *x)
 Macro: Negate vector.
Gan_Vectorgan_vec_negate_i (Gan_Vector *x)
 Macro: Negate vector.
Gan_Vector_fgan_vecf_scale_q (Gan_Vector_f *x, float a, Gan_Vector_f *y)
 Multiply vector by scalar.
Gan_Vector_fgan_vecf_scale_s (Gan_Vector_f *x, float a)
 Macro: Multiply vector by scalar.
Gan_Vector_fgan_vecf_scale_i (Gan_Vector_f *x, float a)
 Macro: Multiply vector by scalar.
Gan_Vector_fgan_vecf_divide_q (Gan_Vector_f *x, float a, Gan_Vector_f *y)
 Macro: Divide vector by scalar.
Gan_Vector_fgan_vecf_divide_s (Gan_Vector_f *x, float a)
 Macro: Divide vector by scalar.
Gan_Vector_fgan_vecf_divide_i (Gan_Vector_f *x, float a)
 Macro: Divide vector by scalar.
Gan_Vector_fgan_vecf_negate_q (Gan_Vector_f *x, Gan_Vector_f *y)
 Macro: Negate vector.
Gan_Vector_fgan_vecf_negate_s (Gan_Vector_f *x)
 Macro: Negate vector.
Gan_Vector_fgan_vecf_negate_i (Gan_Vector_f *x)
 Macro: Negate vector.

Function Documentation

Gan_Vector* gan_vec_divide_i Gan_Vector x,
double  a
 

Macro: Divide vector by scalar.

Divide vector x by scalar a in-place: $ x \leftarrow \frac{1}{a} x $.

Gan_Vector* gan_vec_divide_q Gan_Vector x,
double  a,
Gan_Vector y
 

Macro: Divide vector by scalar.

Returns:
Result vector y.
Divide vector x by scalar a, writing result into vector $ y = \frac{1}{a} x $.

Gan_Vector* gan_vec_divide_s Gan_Vector x,
double  a
 

Macro: Divide vector by scalar.

Allocate and return a copy of vector x divided by scalar a.

Gan_Vector* gan_vec_negate_i Gan_Vector x  ) 
 

Macro: Negate vector.

Negate vector x in-place: $ x \leftarrow -x $.

Gan_Vector* gan_vec_negate_q Gan_Vector x,
Gan_Vector y
 

Macro: Negate vector.

Negate vector x into vector $ y = -x $, and return y.

Gan_Vector* gan_vec_negate_s Gan_Vector x  ) 
 

Macro: Negate vector.

Allocate and return a negated copy $ -x $ of vector x.

Gan_Vector* gan_vec_scale_i Gan_Vector x,
double  a
 

Macro: Multiply vector by scalar.

Returns:
Scaled vector x.
Multiply vector x by scalar a in-place: $ x \leftarrow a x $.

Gan_Vector* gan_vec_scale_q Gan_Vector x,
double  a,
Gan_Vector y
 

Multiply vector by scalar.

Returns:
Result vector y.
Multiply vector x by scalar a and write result $ a x $ into vector y.

Gan_Vector* gan_vec_scale_s Gan_Vector x,
double  a
 

Macro: Multiply vector by scalar.

Allocate and return a copy of vector x multiplied by scalar a.

Gan_Vector_f* gan_vecf_divide_i Gan_Vector_f x,
float  a
 

Macro: Divide vector by scalar.

Divide vector x by scalar a in-place: $ x \leftarrow \frac{1}{a} x $.

Gan_Vector_f* gan_vecf_divide_q Gan_Vector_f x,
float  a,
Gan_Vector_f y
 

Macro: Divide vector by scalar.

Returns:
Result vector y.
Divide vector x by scalar a, writing result into vector $ y = \frac{1}{a} x $.

Gan_Vector_f* gan_vecf_divide_s Gan_Vector_f x,
float  a
 

Macro: Divide vector by scalar.

Allocate and return a copy of vector x divided by scalar a.

Gan_Vector_f* gan_vecf_negate_i Gan_Vector_f x  ) 
 

Macro: Negate vector.

Negate vector x in-place: $ x \leftarrow -x $.

Gan_Vector_f* gan_vecf_negate_q Gan_Vector_f x,
Gan_Vector_f y
 

Macro: Negate vector.

Negate vector x into vector $ y = -x $, and return y.

Gan_Vector_f* gan_vecf_negate_s Gan_Vector_f x  ) 
 

Macro: Negate vector.

Allocate and return a negated copy $ -x $ of vector x.

Gan_Vector_f* gan_vecf_scale_i Gan_Vector_f x,
float  a
 

Macro: Multiply vector by scalar.

Returns:
Scaled vector x.
Multiply vector x by scalar a in-place: $ x \leftarrow a x $.

Gan_Vector_f* gan_vecf_scale_q Gan_Vector_f x,
float  a,
Gan_Vector_f y
 

Multiply vector by scalar.

Returns:
Result vector y.
Multiply vector x by scalar a and write result $ a x $ into vector y.

Gan_Vector_f* gan_vecf_scale_s Gan_Vector_f x,
float  a
 

Macro: Multiply vector by scalar.

Allocate and return a copy of vector x multiplied by scalar a.


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