comparison 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
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
72 MatrixType (const matrix_type t, bool _full = false); 72 MatrixType (const matrix_type t, bool _full = false);
73 73
74 MatrixType (const matrix_type t, const octave_idx_type np, 74 MatrixType (const matrix_type t, const octave_idx_type np,
75 const octave_idx_type *p, bool _full = false); 75 const octave_idx_type *p, bool _full = false);
76 76
77 MatrixType (const matrix_type t, const octave_idx_type ku, 77 MatrixType (const matrix_type t, const octave_idx_type ku,
78 const octave_idx_type kl, bool _full = false); 78 const octave_idx_type kl, bool _full = false);
79 79
80 ~MatrixType (void); 80 ~MatrixType (void);
81 81
82 MatrixType& operator = (const MatrixType& a); 82 MatrixType& operator = (const MatrixType& a);
101 101
102 int nlower (void) const { return lower_band; } 102 int nlower (void) const { return lower_band; }
103 103
104 bool is_dense (void) const { return dense; } 104 bool is_dense (void) const { return dense; }
105 105
106 bool is_diagonal (void) const 106 bool is_diagonal (void) const
107 { return (typ == Diagonal || typ == Permuted_Diagonal); } 107 { return (typ == Diagonal || typ == Permuted_Diagonal); }
108 108
109 bool is_upper_triangular (void) const 109 bool is_upper_triangular (void) const
110 { return (typ == Upper || typ == Permuted_Upper); } 110 { return (typ == Upper || typ == Permuted_Upper); }
111 111
112 bool is_lower_triangular (void) const 112 bool is_lower_triangular (void) const
113 { return (typ == Lower || typ == Permuted_Lower); } 113 { return (typ == Lower || typ == Permuted_Lower); }
114 114
115 bool is_banded (void) 115 bool is_banded (void)
116 { return (typ == Banded || typ == Banded_Hermitian); } 116 { return (typ == Banded || typ == Banded_Hermitian); }
117 117
118 bool is_tridiagonal (void) const 118 bool is_tridiagonal (void) const
119 { return (typ == Tridiagonal || typ == Tridiagonal_Hermitian); } 119 { return (typ == Tridiagonal || typ == Tridiagonal_Hermitian); }
120 120
121 bool is_hermitian (void) const 121 bool is_hermitian (void) const
122 { return (typ == Banded_Hermitian || typ == Tridiagonal_Hermitian || 122 { return (typ == Banded_Hermitian || typ == Tridiagonal_Hermitian ||
123 typ == Hermitian); } 123 typ == Hermitian); }
124 124
125 bool is_rectangular (void) const { return (typ == Rectangular); } 125 bool is_rectangular (void) const { return (typ == Rectangular); }