Here are the most important special routines on MATRIXobjects: The
first routine allows to interchange columns:
NAME: change_column_ij
SYNOPSIS: INT change_column_ij(OP mat, INT i,j)
DESCRIPTION: interchanges in the MATRIXobject mat the columns
i,j.
The second routine allows to interchange rows:
NAME: change_row_ij
SYNOPSIS: INT change_row_ij(OP mat, INT i,j)
DESCRIPTION: interchanges in the MATRIXobject mat the rows
i,j.
Columns can be deleted:
NAME: delete_column_matrix
SYNOPSIS:
INT delete_column_matrix(OP mat,
INT i, OP result)
DESCRIPTION: deletes in the MATRIXobject mat the column i. The
result is the MATRIXobject result. mat and result may be the same
object.
Rows can be deleted:
NAME: delete_row_matrix
SYNOPSIS:
INT delete_row_matrix(OP mat,
INT i, OP result)
DESCRIPTION: deletes in the MATRIXobject mat the row i. The
result is the MATRIXobject result. mat and result may be the same
object.
Determinants can be evaluated:
NAME: det_mat_imm
SYNOPSIS: INT det_mat_imm(OP mat,erg)
DESCRIPTION: computes the determinant of the MATRIX mat, it
uses the definition as an alternating sum. You should use it if
there is no div operation defined for the entries. e. g.
POLYNOMobjects as entries.
Another routine for the evaluation of the determinant:
NAME: det_mat_tri
SYNOPSIS: INT det_mat_tri(OP mat,erg)
DESCRIPTION: computes the determinant of the MATRIX mat, it
uses the the triangulation of the matrix, so you must be careful
with non scalar entries, which allow no division.
Here is a routine for the immanants (= generalized matrix
functions):
NAME: immanente_matrix
SYNOPSIS: INT immanente_matrix(OP mat,part,res)
DESCRIPTION: computes the immanente labeled by the
PARTITIONobject part of the MATRIXobject mat. The result is stored
in res.
The Kronecker product can be formed:
NAME: kronecker_product
SYNOPSIS: INT kronecker_product(OP a,b,c)
The sum of the columns can be evaluated:
NAME: spalten_summe
SYNOPSIS: INT spalten_summe(OP mat,res)
DESCRIPTION: computes the sum of columns, the result is a
VECTORobject whose length is the number of columns
And you can also check the installation of MATRIXobjects:
NAME: test_matrix
SYNOPSIS: INT test_matrix()
DESCRIPTION:
harald.fripertinger "at" uni-graz.at, May 26,
2011