Main Page | Modules | Class List | File List | Class 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: $ A \leftarrow \frac{1}{a} A $.

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 $ \frac{1}{a} A $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. $ \frac{1}{a} A $.

Gan_SquMatrix* gan_squmat_negate_i Gan_SquMatrix A  ) 
 

Macro: Negate square matrix.

Negate square matrix A in-place: $ A \leftarrow -A $.

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 $ B = -A $.

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 $ -A $ 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: $ A \leftarrow a A $.

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 $ a A $ 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. $ a A $.

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: $ A \leftarrow \frac{1}{a} A $.

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 $ \frac{1}{a} A $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. $ \frac{1}{a} A $.

Gan_SquMatrix_f* gan_squmatf_negate_i Gan_SquMatrix_f A  ) 
 

Macro: Negate square matrix.

Negate square matrix A in-place: $ A \leftarrow -A $.

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 $ B = -A $.

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 $ -A $ 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: $ A \leftarrow a A $.

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 $ a A $ 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. $ a A $.


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