[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Change of dimension of matrices

At the end

Function: matrix_t* matrix_add_dimensions (const matrix_t* mat, int dimsup)
If dimsup is positive, adds dimsup columns on the righ in mat; if dimsup is negative, deletes the -dimsup last columns of mat.

Anywhere

See section Change of dimension of vectors, for more details about the meaning of arrays of elements of type dimsup_t.

Function: matrix_t* matrix_add_dimensions_multi (const matrix_t* mat, const dimsup_t* tab, size_t size)
Inserts new columns with null values in matrix mat, according to the array tab of size size.
Function: matrix_t* matrix_remove_dimensions_multi (const matrix_t* mat, const dimsup_t* tab, size_t size)
Deletes some columns in matrix mat, according to the array tab of size size.

Change of dimensions together with permutation

Function: matrix_t* matrix_add_permute_dimensions (const matrix_t* mat, int dimsup, const int* permutation)
Scale vector_add_permute_dimensions to matrices.
Function: matrix_t* matrix_permute_remove_dimensions (const matrix_t* mat, int dimsup, const int* permutation)
Scale vector_permute_remove_dimensions to matrices.



This document was generated on October, 27 2006 using texi2html