Main Page   Modules   Compound List   File List   Compound Members   File Members  

Multiply/Divide a General Size Matrix by a Scalar
[General Size Matrices]


Functions

Gan_Matrixgan_mat_scale_q (Gan_Matrix *A, double a, Gan_Matrix *B)
 Multiply matrix by scalar.

Gan_Matrixgan_mat_divide_q (Gan_Matrix *A, double a, Gan_Matrix *B)
 Divide matrix by scalar.

void gan_mat_free_va (Gan_Matrix *A,...)
 Free a NULL-terminated variable argument list of matrices.

Gan_Matrixgan_mat_form_gen (Gan_Matrix *A, unsigned long rows, unsigned long cols, double *data, size_t data_size)
Gan_Matrixgan_mat_scale_s (Gan_Matrix *A, double a)
 Macro: Multiply matrix by scalar.

Gan_Matrixgan_mat_scale_i (Gan_Matrix *A, double a)
 Macro: Multiply matrix by scalar.

Gan_Matrixgan_mat_divide_s (Gan_Matrix *A, double a)
 Macro: Divide matrix by scalar.

Gan_Matrixgan_mat_divide_i (Gan_Matrix *A, double a)
 Macro: Divide matrix by scalar.

Gan_Matrixgan_mat_negate_q (Gan_Matrix *A, Gan_Matrix *B)
 Macro: Negate matrix.

Gan_Matrixgan_mat_negate_s (Gan_Matrix *A)
 Macro: Negate matrix.

Gan_Matrixgan_mat_negate_i (Gan_Matrix *A)
 Macro: Negate matrix.

Gan_SquMatrixgan_squmat_scale_q (Gan_SquMatrix *A, double a, Gan_SquMatrix *B)
 Macro: Multiply square matrix by scalar.

Gan_SquMatrixgan_squmat_scale_s (Gan_SquMatrix *A, double a)
 Macro: Multiply square matrix by scalar.

Gan_SquMatrixgan_squmat_scale_i (Gan_SquMatrix *A, double a)
 Macro: Multiply square matrix by scalar.

Gan_SquMatrixgan_squmat_divide_q (Gan_SquMatrix *A, double a, Gan_SquMatrix *B)
 Macro: Divide square matrix by scalar.

Gan_SquMatrixgan_squmat_divide_s (Gan_SquMatrix *A, double a)
 Macro: Divide square matrix by scalar.

Gan_SquMatrixgan_squmat_divide_i (Gan_SquMatrix *A, double a)
 Macro: Divide square matrix by scalar.

Gan_SquMatrixgan_squmat_negate_q (Gan_SquMatrix *A, Gan_SquMatrix *B)
 Macro: Negate square matrix.

Gan_SquMatrixgan_squmat_negate_s (Gan_SquMatrix *A)
 Macro: Negate square matrix.

Gan_SquMatrixgan_squmat_negate_i (Gan_SquMatrix *A)
 Macro: Negate square matrix.

Gan_Matrix_fgan_matf_scale_q (Gan_Matrix_f *A, float a, Gan_Matrix_f *B)
 Multiply matrix by scalar.

Gan_Matrix_fgan_matf_divide_q (Gan_Matrix_f *A, float a, Gan_Matrix_f *B)
 Divide matrix by scalar.

void gan_matf_free_va (Gan_Matrix_f *A,...)
 Free a NULL-terminated variable argument list of matrices.

Gan_Matrix_fgan_matf_form_gen (Gan_Matrix_f *A, unsigned long rows, unsigned long cols, float *data, size_t data_size)
Gan_Matrix_fgan_matf_scale_s (Gan_Matrix_f *A, float a)
 Macro: Multiply matrix by scalar.

Gan_Matrix_fgan_matf_scale_i (Gan_Matrix_f *A, float a)
 Macro: Multiply matrix by scalar.

Gan_Matrix_fgan_matf_divide_s (Gan_Matrix_f *A, float a)
 Macro: Divide matrix by scalar.

Gan_Matrix_fgan_matf_divide_i (Gan_Matrix_f *A, float a)
 Macro: Divide matrix by scalar.

Gan_Matrix_fgan_matf_negate_q (Gan_Matrix_f *A, Gan_Matrix_f *B)
 Macro: Negate matrix.

Gan_Matrix_fgan_matf_negate_s (Gan_Matrix_f *A)
 Macro: Negate matrix.

Gan_Matrix_fgan_matf_negate_i (Gan_Matrix_f *A)
 Macro: Negate matrix.

Gan_SquMatrix_fgan_squmatf_scale_q (Gan_SquMatrix_f *A, float a, Gan_SquMatrix_f *B)
 Macro: Multiply square matrix by scalar.

Gan_SquMatrix_fgan_squmatf_scale_s (Gan_SquMatrix_f *A, float a)
 Macro: Multiply square matrix by scalar.

Gan_SquMatrix_fgan_squmatf_scale_i (Gan_SquMatrix_f *A, float a)
 Macro: Multiply square matrix by scalar.

Gan_SquMatrix_fgan_squmatf_divide_q (Gan_SquMatrix_f *A, float a, Gan_SquMatrix_f *B)
 Macro: Divide square matrix by scalar.

Gan_SquMatrix_fgan_squmatf_divide_s (Gan_SquMatrix_f *A, float a)
 Macro: Divide square matrix by scalar.

Gan_SquMatrix_fgan_squmatf_divide_i (Gan_SquMatrix_f *A, float a)
 Macro: Divide square matrix by scalar.

Gan_SquMatrix_fgan_squmatf_negate_q (Gan_SquMatrix_f *A, Gan_SquMatrix_f *B)
 Macro: Negate square matrix.

Gan_SquMatrix_fgan_squmatf_negate_s (Gan_SquMatrix_f *A)
 Macro: Negate square matrix.

Gan_SquMatrix_fgan_squmatf_negate_i (Gan_SquMatrix_f *A)
 Macro: Negate square matrix.


Function Documentation

Gan_Matrix* gan_mat_divide_i Gan_Matrix   A,
double    a
 

Macro: Divide matrix by scalar.

Divide matrix A by scalar a in-place.

Gan_Matrix* gan_mat_divide_q Gan_Matrix   A,
double    a,
Gan_Matrix   B
 

Divide matrix by scalar.

Divide matrix A by scalar a into matrix B, and return B.

Gan_Matrix* gan_mat_divide_s Gan_Matrix   A,
double    a
 

Macro: Divide matrix by scalar.

Allocate and return a copy of matrix A divided by scalar a.

void gan_mat_free_va Gan_Matrix   A,
...   
 

Free a NULL-terminated variable argument list of matrices.

Free a NULL-terminated variable argument list of matrices, starting with matrix A.

Gan_Matrix* gan_mat_negate_i Gan_Matrix   A
 

Macro: Negate matrix.

Negate matrix A in-place.

Gan_Matrix* gan_mat_negate_q Gan_Matrix   A,
Gan_Matrix   B
 

Macro: Negate matrix.

Negate matrix A into matrix B, and return B.

Gan_Matrix* gan_mat_negate_s Gan_Matrix   A
 

Macro: Negate matrix.

Allocate and return a negated copy of matrix A.

Gan_Matrix* gan_mat_scale_i Gan_Matrix   A,
double    a
 

Macro: Multiply matrix by scalar.

Multiply matrix A by scalar a in-place.

Gan_Matrix* gan_mat_scale_q Gan_Matrix   A,
double    a,
Gan_Matrix   B
 

Multiply matrix by scalar.

Rescale matrix A by scalar a into matrix B, and return B.

Gan_Matrix* gan_mat_scale_s Gan_Matrix   A,
double    a
 

Macro: Multiply matrix by scalar.

Allocate and return a copy of matrix A multiplied by scalar a.

Gan_Matrix_f* gan_matf_divide_i Gan_Matrix_f   A,
float    a
 

Macro: Divide matrix by scalar.

Divide matrix A by scalar a in-place.

Gan_Matrix_f* gan_matf_divide_q Gan_Matrix_f   A,
float    a,
Gan_Matrix_f   B
 

Divide matrix by scalar.

Divide matrix A by scalar a into matrix B, and return B.

Gan_Matrix_f* gan_matf_divide_s Gan_Matrix_f   A,
float    a
 

Macro: Divide matrix by scalar.

Allocate and return a copy of matrix A divided by scalar a.

void gan_matf_free_va Gan_Matrix_f   A,
...   
 

Free a NULL-terminated variable argument list of matrices.

Free a NULL-terminated variable argument list of matrices, starting with matrix A.

Gan_Matrix_f* gan_matf_negate_i Gan_Matrix_f   A
 

Macro: Negate matrix.

Negate matrix A in-place.

Gan_Matrix_f* gan_matf_negate_q Gan_Matrix_f   A,
Gan_Matrix_f   B
 

Macro: Negate matrix.

Negate matrix A into matrix B, and return B.

Gan_Matrix_f* gan_matf_negate_s Gan_Matrix_f   A
 

Macro: Negate matrix.

Allocate and return a negated copy of matrix A.

Gan_Matrix_f* gan_matf_scale_i Gan_Matrix_f   A,
float    a
 

Macro: Multiply matrix by scalar.

Multiply matrix A by scalar a in-place.

Gan_Matrix_f* gan_matf_scale_q Gan_Matrix_f   A,
float    a,
Gan_Matrix_f   B
 

Multiply matrix by scalar.

Rescale matrix A by scalar a into matrix B, and return B.

Gan_Matrix_f* gan_matf_scale_s Gan_Matrix_f   A,
float    a
 

Macro: Multiply matrix by scalar.

Allocate and return a copy of matrix A multiplied by scalar a.

Gan_SquMatrix* gan_squmat_divide_i Gan_SquMatrix   A,
double    a
 

Macro: Divide square matrix by scalar.

Divide square matrix A by scalar a in-place: .

Gan_SquMatrix* gan_squmat_divide_q Gan_SquMatrix   A,
double    a,
Gan_SquMatrix   B
 

Macro: Divide square matrix by scalar.

Returns:
Result matrix B.
Divide square matrix A by scalar a, writing result into square matrix B.

Gan_SquMatrix* gan_squmat_divide_s Gan_SquMatrix   A,
double    a
 

Macro: Divide square matrix by scalar.

Returns:
Result as a new matrix.
Allocate and return a copy of square matrix A divided by scalar a, i.e. .

Gan_SquMatrix* gan_squmat_negate_i Gan_SquMatrix   A
 

Macro: Negate square matrix.

Negate square matrix A in-place: .

Gan_SquMatrix* gan_squmat_negate_q Gan_SquMatrix   A,
Gan_SquMatrix   B
 

Macro: Negate square matrix.

Returns:
Result matrix B.
Negate square matrix A into square matrix .

Gan_SquMatrix* gan_squmat_negate_s Gan_SquMatrix   A
 

Macro: Negate square matrix.

Returns:
Result as a new matrix.
Allocate and return a negated copy of square matrix A.

Gan_SquMatrix* gan_squmat_scale_i Gan_SquMatrix   A,
double    a
 

Macro: Multiply square matrix by scalar.

Returns:
Result matrix A.
Multiply square matrix A by scalar a in-place: .

Gan_SquMatrix* gan_squmat_scale_q Gan_SquMatrix   A,
double    a,
Gan_SquMatrix   B
 

Macro: Multiply square matrix by scalar.

Returns:
Result matrix B.
Multiply square matrix A by scalar a, writing result into square matrix B.

Gan_SquMatrix* gan_squmat_scale_s Gan_SquMatrix   A,
double    a
 

Macro: Multiply square matrix by scalar.

Returns:
Result as a new matrix.
Allocate and return a copy of square matrix A multiplied by scalar a, i.e. .

Gan_SquMatrix_f* gan_squmatf_divide_i Gan_SquMatrix_f   A,
float    a
 

Macro: Divide square matrix by scalar.

Divide square matrix A by scalar a in-place: .

Gan_SquMatrix_f* gan_squmatf_divide_q Gan_SquMatrix_f   A,
float    a,
Gan_SquMatrix_f   B
 

Macro: Divide square matrix by scalar.

Returns:
Result matrix B.
Divide square matrix A by scalar a, writing result into square matrix B.

Gan_SquMatrix_f* gan_squmatf_divide_s Gan_SquMatrix_f   A,
float    a
 

Macro: Divide square matrix by scalar.

Returns:
Result as a new matrix.
Allocate and return a copy of square matrix A divided by scalar a, i.e. .

Gan_SquMatrix_f* gan_squmatf_negate_i Gan_SquMatrix_f   A
 

Macro: Negate square matrix.

Negate square matrix A in-place: .

Gan_SquMatrix_f* gan_squmatf_negate_q Gan_SquMatrix_f   A,
Gan_SquMatrix_f   B
 

Macro: Negate square matrix.

Returns:
Result matrix B.
Negate square matrix A into square matrix .

Gan_SquMatrix_f* gan_squmatf_negate_s Gan_SquMatrix_f   A
 

Macro: Negate square matrix.

Returns:
Result as a new matrix.
Allocate and return a negated copy of square matrix A.

Gan_SquMatrix_f* gan_squmatf_scale_i Gan_SquMatrix_f   A,
float    a
 

Macro: Multiply square matrix by scalar.

Returns:
Result matrix A.
Multiply square matrix A by scalar a in-place: .

Gan_SquMatrix_f* gan_squmatf_scale_q Gan_SquMatrix_f   A,
float    a,
Gan_SquMatrix_f   B
 

Macro: Multiply square matrix by scalar.

Returns:
Result matrix B.
Multiply square matrix A by scalar a, writing result into square matrix B.

Gan_SquMatrix_f* gan_squmatf_scale_s Gan_SquMatrix_f   A,
float    a
 

Macro: Multiply square matrix by scalar.

Returns:
Result as a new matrix.
Allocate and return a copy of square matrix A multiplied by scalar a, i.e. .


Generated on Mon Oct 13 16:14:58 2003 by doxygen1.3-rc1