Mercurial > octave-nkf
comparison liboctave/dSparse.cc @ 5775:ace8d8d26933
[project @ 2006-04-24 19:13:06 by jwe]
author | jwe |
---|---|
date | Mon, 24 Apr 2006 19:13:11 +0000 |
parents | 8d7162924bd3 |
children | 6b9cec830d72 |
comparison
equal
deleted
inserted
replaced
5774:e7af222e98b0 | 5775:ace8d8d26933 |
---|---|
7618 } | 7618 } |
7619 | 7619 |
7620 return r; | 7620 return r; |
7621 } | 7621 } |
7622 | 7622 |
7623 // XXX FIXME XXX Do these really belong here? Maybe they should be | 7623 // FIXME Do these really belong here? Maybe they should be |
7624 // in a base class? | 7624 // in a base class? |
7625 | 7625 |
7626 SparseBoolMatrix | 7626 SparseBoolMatrix |
7627 SparseMatrix::all (int dim) const | 7627 SparseMatrix::all (int dim) const |
7628 { | 7628 { |
7919 operator * (const SparseMatrix& m, const Matrix& a) | 7919 operator * (const SparseMatrix& m, const Matrix& a) |
7920 { | 7920 { |
7921 SPARSE_FULL_MUL (Matrix, double, 0.); | 7921 SPARSE_FULL_MUL (Matrix, double, 0.); |
7922 } | 7922 } |
7923 | 7923 |
7924 // XXX FIXME XXX -- it would be nice to share code among the min/max | 7924 // FIXME -- it would be nice to share code among the min/max |
7925 // functions below. | 7925 // functions below. |
7926 | 7926 |
7927 #define EMPTY_RETURN_CHECK(T) \ | 7927 #define EMPTY_RETURN_CHECK(T) \ |
7928 if (nr == 0 || nc == 0) \ | 7928 if (nr == 0 || nc == 0) \ |
7929 return T (nr, nc); | 7929 return T (nr, nc); |