Mercurial > hg > octave-nkf
diff liboctave/MatrixType.h @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/liboctave/MatrixType.h +++ b/liboctave/MatrixType.h @@ -74,7 +74,7 @@ MatrixType (const matrix_type t, const octave_idx_type np, const octave_idx_type *p, bool _full = false); - MatrixType (const matrix_type t, const octave_idx_type ku, + MatrixType (const matrix_type t, const octave_idx_type ku, const octave_idx_type kl, bool _full = false); ~MatrixType (void); @@ -103,21 +103,21 @@ bool is_dense (void) const { return dense; } - bool is_diagonal (void) const + bool is_diagonal (void) const { return (typ == Diagonal || typ == Permuted_Diagonal); } - - bool is_upper_triangular (void) const + + bool is_upper_triangular (void) const { return (typ == Upper || typ == Permuted_Upper); } - bool is_lower_triangular (void) const + bool is_lower_triangular (void) const { return (typ == Lower || typ == Permuted_Lower); } bool is_banded (void) { return (typ == Banded || typ == Banded_Hermitian); } - + bool is_tridiagonal (void) const { return (typ == Tridiagonal || typ == Tridiagonal_Hermitian); } - + bool is_hermitian (void) const { return (typ == Banded_Hermitian || typ == Tridiagonal_Hermitian || typ == Hermitian); }