Main Page   Modules   Compound List   File List   Compound 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: .

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 .

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: .

Gan_Vector* gan_vec_negate_q Gan_Vector   x,
Gan_Vector   y
 

Macro: Negate vector.

Negate vector x into vector , and return y.

Gan_Vector* gan_vec_negate_s Gan_Vector   x
 

Macro: Negate vector.

Allocate and return a negated copy 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: .

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 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: .

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 .

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: .

Gan_Vector_f* gan_vecf_negate_q Gan_Vector_f   x,
Gan_Vector_f   y
 

Macro: Negate vector.

Negate vector x into vector , and return y.

Gan_Vector_f* gan_vecf_negate_s Gan_Vector_f   x
 

Macro: Negate vector.

Allocate and return a negated copy 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: .

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 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 Mon Oct 13 16:15:00 2003 by doxygen1.3-rc1