Mercurial > hg > octave-jordi
diff liboctave/dSparse.h @ 7802:1a446f28ce68
implement optimized sparse-dense transposed multiplication
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sun, 18 May 2008 20:23:31 +0200 |
parents | 8c32f95c2639 |
children | 935be827eaf8 |
line wrap: on
line diff
--- a/liboctave/dSparse.h +++ b/liboctave/dSparse.h @@ -432,8 +432,12 @@ const SparseMatrix& b); extern OCTAVE_API Matrix operator * (const Matrix& a, const SparseMatrix& b); +extern OCTAVE_API Matrix mul_trans (const Matrix& a, + const SparseMatrix& b); extern OCTAVE_API Matrix operator * (const SparseMatrix& a, const Matrix& b); +extern OCTAVE_API Matrix trans_mul (const SparseMatrix& a, + const Matrix& b); extern OCTAVE_API SparseMatrix min (double d, const SparseMatrix& m); extern OCTAVE_API SparseMatrix min (const SparseMatrix& m, double d);