Insert Part of a General Size Matrix in Another (original) (raw)
| Functions | |
|---|---|
| Gan_Matrix * | gan_mat_insert_gen (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_Matrix *B, Gan_TposeFlag B_tr, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Insert part of generic matrix in another generic matrix. | |
| Gan_Matrix * | gan_mat_insertv_gen (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, Gan_TposeFlag x_tr, unsigned long rx, unsigned long size) |
| Insert part of column vector in a generic matrix. | |
| Gan_Matrix * | gan_mat_insertsym (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_SquMatrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Insert part of symmetric matrix in a generic matrix. | |
| Gan_Matrix * | gan_mat_insert (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_Matrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert part of generic matrix in another generic matrix. | |
| Gan_Matrix * | gan_mat_insertT (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_Matrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert transpose of part of generic matrix in another generic matrix. | |
| Gan_Matrix * | gan_mat_insertv (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, unsigned long rx, unsigned long rows) |
| Macro: Insert part of column vector in a generic matrix. | |
| Gan_Matrix * | gan_mat_insertvT (Gan_Matrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, unsigned long rx, unsigned long cols) |
| Macro: Insert part of row vector in a generic matrix. | |
| Gan_SquMatrix * | gan_symmat_insert_gen (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Matrix *B, Gan_TposeFlag B_tr, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Inserts part of generic matrix in symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insertv_gen (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Vector *x, Gan_TposeFlag x_tr, unsigned long rx, unsigned long size) |
| Inserts part of vector in symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insertsym (Gan_SquMatrix *A, unsigned long rA, const Gan_SquMatrix *B, unsigned long rB, unsigned long size) |
| Insert diagonal part of symmetric matrix in symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insertsym_od (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const Gan_SquMatrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Insert off-diagonal part of symmetric matrix in symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insert (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Matrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert part of generic matrix in symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insertT (Gan_SquMatrix *S, unsigned long rS, unsigned long cS, const Gan_Matrix *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert transpose of part of generic matrix in symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insertv (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, unsigned long rx, unsigned long rows) |
| Macro: Insert part of column vector in a symmetric matrix. | |
| Gan_SquMatrix * | gan_symmat_insertvT (Gan_SquMatrix *A, unsigned long rA, unsigned long cA, const Gan_Vector *x, unsigned long rx, unsigned long cols) |
| Macro: Insert part of row vector in a symmetric matrix. | |
| Gan_Matrix_f * | gan_matf_insert_gen (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_Matrix_f *B, Gan_TposeFlag B_tr, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Insert part of generic matrix in another generic matrix. | |
| Gan_Matrix_f * | gan_matf_insertv_gen (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_Vector_f *x, Gan_TposeFlag x_tr, unsigned long rx, unsigned long size) |
| Insert part of column vector in a generic matrix. | |
| Gan_Matrix_f * | gan_matf_insertsym (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_SquMatrix_f *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Insert part of symmetric matrix in a generic matrix. | |
| Gan_Matrix_f * | gan_matf_insert (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_Matrix_f *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert part of generic matrix in another generic matrix. | |
| Gan_Matrix_f * | gan_matf_insertT (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_Matrix_f *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert transpose of part of generic matrix in another generic matrix. | |
| Gan_Matrix_f * | gan_matf_insertv (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_Vector_f *x, unsigned long rx, unsigned long rows) |
| Macro: Insert part of column vector in a generic matrix. | |
| Gan_Matrix_f * | gan_matf_insertvT (Gan_Matrix_f *A, unsigned long rA, unsigned long cA, const Gan_Vector_f *x, unsigned long rx, unsigned long cols) |
| Macro: Insert part of row vector in a generic matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insert_gen (Gan_SquMatrix_f *S, unsigned long rS, unsigned long cS, const Gan_Matrix_f *B, Gan_TposeFlag B_tr, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Inserts part of generic matrix in symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insertv_gen (Gan_SquMatrix_f *S, unsigned long rS, unsigned long cS, const Gan_Vector_f *x, Gan_TposeFlag x_tr, unsigned long rx, unsigned long size) |
| Inserts part of vector in symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insertsym (Gan_SquMatrix_f *A, unsigned long rA, const Gan_SquMatrix_f *B, unsigned long rB, unsigned long size) |
| Insert diagonal part of symmetric matrix in symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insertsym_od (Gan_SquMatrix_f *A, unsigned long rA, unsigned long cA, const Gan_SquMatrix_f *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Insert off-diagonal part of symmetric matrix in symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insert (Gan_SquMatrix_f *S, unsigned long rS, unsigned long cS, const Gan_Matrix_f *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert part of generic matrix in symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insertT (Gan_SquMatrix_f *S, unsigned long rS, unsigned long cS, const Gan_Matrix_f *B, unsigned long rB, unsigned long cB, unsigned long rows, unsigned long cols) |
| Macro: Insert transpose of part of generic matrix in symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insertv (Gan_SquMatrix_f *A, unsigned long rA, unsigned long cA, const Gan_Vector_f *x, unsigned long rx, unsigned long rows) |
| Macro: Insert part of column vector in a symmetric matrix. | |
| Gan_SquMatrix_f * | gan_symmatf_insertvT (Gan_SquMatrix_f *A, unsigned long rA, unsigned long cA, const Gan_Vector_f *x, unsigned long rx, unsigned long cols) |
| Macro: Insert part of row vector in a symmetric matrix. |
Function Documentation
| Gan_Matrix* gan_mat_insert | ( | Gan_Matrix * | A, |
|---|---|---|---|
| unsigned long | rA, | ||
| unsigned long | cA, | ||
| const Gan_Matrix * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Macro: Insert part of generic matrix in another generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA,cA and rows by cols in size with the section of generic matrix B, starting at position rB, cB.Macro call to gan_mat_insert_gen(). | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | Insert part of generic matrix in another generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA, cA and rows by cols in size with the section of generic matrix B, starting at position rB, cB. | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Gan_Matrix* gan_mat_insertsym | ( | Gan_Matrix * | A, |
|---|---|---|---|
| unsigned long | rA, | ||
| unsigned long | cA, | ||
| const Gan_SquMatrix * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Insert part of symmetric matrix in a generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA,cA and rows by cols in size with the section of symmetric matrix B, starting at position rB, cB. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Gan_Matrix* gan_mat_insertT | ( | Gan_Matrix * | A, |
|---|---|---|---|
| unsigned long | rA, | ||
| unsigned long | cA, | ||
| const Gan_Matrix * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Macro: Insert transpose of part of generic matrix in another generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA,cA and rows by cols in size with the transpose of section of generic matrix B, starting at position rB, cB.Macro call to gan_mat_insert_gen(). | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of column vector in a generic matrix. Fills a section of a column of generic matrix A starting at row,column position rA,cA with a section rows elements in size, taken from column vector x, starting at position rx. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Insert part of column vector in a generic matrix. Fills a section of a column of generic matrix A starting at row,column position rA,cA with a section rows elements in size, taken from column vector x, starting at position rx. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of row vector in a generic matrix. Fills a section of a row of generic matrix A starting at row,column position rA,cA with a section cols elements in size, taken from transpose of column vector x, starting at position rx.Macro call to gan_mat_insertv_gen(). | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Gan_Matrix_f* gan_matf_insert | ( | Gan_Matrix_f * | A, |
|---|---|---|---|
| unsigned long | rA, | ||
| unsigned long | cA, | ||
| const Gan_Matrix_f * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Macro: Insert part of generic matrix in another generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA,cA and rows by cols in size with the section of generic matrix B, starting at position rB, cB.Macro call to gan_matf_insert_gen(). | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Insert part of generic matrix in another generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA, cA and rows by cols in size with the section of generic matrix B, starting at position rB, cB. | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Insert part of symmetric matrix in a generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA,cA and rows by cols in size with the section of symmetric matrix B, starting at position rB, cB. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Gan_Matrix_f* gan_matf_insertT | ( | Gan_Matrix_f * | A, |
|---|---|---|---|
| unsigned long | rA, | ||
| unsigned long | cA, | ||
| const Gan_Matrix_f * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Macro: Insert transpose of part of generic matrix in another generic matrix. Fills a rectangular part of generic matrix A starting at row,column position rA,cA and rows by cols in size with the transpose of section of generic matrix B, starting at position rB, cB.Macro call to gan_matf_insert_gen(). | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of column vector in a generic matrix. Fills a section of a column of generic matrix A starting at row,column position rA,cA with a section rows elements in size, taken from column vector x, starting at position rx. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Insert part of column vector in a generic matrix. Fills a section of a column of generic matrix A starting at row,column position rA,cA with a section rows elements in size, taken from column vector x, starting at position rx. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of row vector in a generic matrix. Fills a section of a row of generic matrix A starting at row,column position rA,cA with a section cols elements in size, taken from transpose of column vector x, starting at position rx.Macro call to gan_matf_insertv_gen(). | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Gan_SquMatrix* gan_symmat_insert | ( | Gan_SquMatrix * | S, |
|---|---|---|---|
| unsigned long | rS, | ||
| unsigned long | cS, | ||
| const Gan_Matrix * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Macro: Insert part of generic matrix in symmetric matrix. **Returns:**Result matrix S.Fills a rectangular part of symmetric matrix S starting at row,column position rS, cS and rows by cols in size with the section in generic matrix B, starting at position rB, cB. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Insert diagonal part of symmetric matrix in symmetric matrix. **Returns:**Result matrix A.Fills a square on-diagonal part of symmetric matrix A starting at row,column position rA,rA and with given row/column size with the section in symmetric matrix B, starting at position rB, rB. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Gan_SquMatrix* gan_symmat_insertsym_od | ( | Gan_SquMatrix * | A, |
|---|---|---|---|
| unsigned long | rA, | ||
| unsigned long | cA, | ||
| const Gan_SquMatrix * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Insert off-diagonal part of symmetric matrix in symmetric matrix. **Returns:**Result matrix A.Fills an off-diagonal rectangular part of symmetric matrix A starting at row, column position rA,cA and with given dimensions rows, cols with the section in symmetric matrix B, starting at position rB, cB. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Gan_SquMatrix* gan_symmat_insertT | ( | Gan_SquMatrix * | S, |
|---|---|---|---|
| unsigned long | rS, | ||
| unsigned long | cS, | ||
| const Gan_Matrix * | B, | ||
| unsigned long | rB, | ||
| unsigned long | cB, | ||
| unsigned long | rows, | ||
| unsigned long | cols | ||
| ) |
| | Macro: Insert transpose of part of generic matrix in symmetric matrix. **Returns:**Result matrix S.Fills a rectangular part of symmetric matrix S starting at row,column position rS,cS and rows by cols in size with the transpose of the section in generic matrix B, starting at position rB, cB. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of column vector in a symmetric matrix. **Returns:**Result matrix A.Fills a section of a column of symmetric matrix A starting at row,column position rA,cA with a section rows elements in size, taken from column vector x, starting at position rx. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | Macro: Insert part of row vector in a symmetric matrix. **Returns:**Result matrix A.Fills a section of a row of symmetric matrix A starting at row,column position rA,cA with a section cols elements in size, taken from transpose of column vector x, starting at position rx. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of generic matrix in symmetric matrix. **Returns:**Result matrix S.Fills a rectangular part of symmetric matrix S starting at row,column position rS, cS and rows by cols in size with the section in generic matrix B, starting at position rB, cB. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Insert diagonal part of symmetric matrix in symmetric matrix. **Returns:**Result matrix A.Fills a square on-diagonal part of symmetric matrix A starting at row,column position rA,rA and with given row/column size with the section in symmetric matrix B, starting at position rB, rB. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | Insert off-diagonal part of symmetric matrix in symmetric matrix. **Returns:**Result matrix A.Fills an off-diagonal rectangular part of symmetric matrix A starting at row, column position rA,cA and with given dimensions rows, cols with the section in symmetric matrix B, starting at position rB, cB. | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert transpose of part of generic matrix in symmetric matrix. **Returns:**Result matrix S.Fills a rectangular part of symmetric matrix S starting at row,column position rS,cS and rows by cols in size with the transpose of the section in generic matrix B, starting at position rB, cB. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| | Macro: Insert part of column vector in a symmetric matrix. **Returns:**Result matrix A.Fills a section of a column of symmetric matrix A starting at row,column position rA,cA with a section rows elements in size, taken from column vector x, starting at position rx. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | Macro: Insert part of row vector in a symmetric matrix. **Returns:**Result matrix A.Fills a section of a row of symmetric matrix A starting at row,column position rA,cA with a section cols elements in size, taken from transpose of column vector x, starting at position rx. | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
