[PD-cvs] externals/iem/iemmatrix/src iemmatrix.h,1.6,1.7
IOhannes m zmölnig
zmoelnig at users.sourceforge.net
Wed May 11 16:08:56 CEST 2005
Update of /cvsroot/pure-data/externals/iem/iemmatrix/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25106
Modified Files:
iemmatrix.h
Log Message:
mtx_doInvert can now return whether it could invert the matrix or not
(the function returns a valid matrix, even if inversion did not succeed)
Index: iemmatrix.h
===================================================================
RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/iemmatrix.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** iemmatrix.h 11 May 2005 13:05:28 -0000 1.6
--- iemmatrix.h 11 May 2005 14:08:53 -0000 1.7
***************
*** 139,143 ****
/* invert a square matrix (row=col=rowcol) */
! t_matrixfloat*mtx_doInvert(t_matrixfloat*input, int rowcol);
/* transpose a matrix */
t_matrixfloat*mtx_doTranspose(t_matrixfloat*output, int row, int col);
--- 139,144 ----
/* invert a square matrix (row=col=rowcol) */
! /* if "error" is non-NULL, it's content will be set to 0 if the matrix was invertable, else to non-0 */
! t_matrixfloat*mtx_doInvert(t_matrixfloat*input, int rowcol, int*error);
/* transpose a matrix */
t_matrixfloat*mtx_doTranspose(t_matrixfloat*output, int row, int col);
More information about the Pd-cvs
mailing list