Mercurial > forge
comparison main/fixed/src/fixedMatrix.h @ 11277:7b7cd174847c octave-forge
fixed: remove obsolete resize_fill_value()
author | jordigh |
---|---|
date | Fri, 30 Nov 2012 20:11:09 +0000 |
parents | d84d2fea3c90 |
children |
comparison
equal
deleted
inserted
replaced
11276:3f056f8b0358 | 11277:7b7cd174847c |
---|---|
168 | 168 |
169 FixedColumnVector column (int i) const; | 169 FixedColumnVector column (int i) const; |
170 FixedColumnVector column (char *s) const; | 170 FixedColumnVector column (char *s) const; |
171 | 171 |
172 void resize (octave_idx_type nr, octave_idx_type nc, | 172 void resize (octave_idx_type nr, octave_idx_type nc, |
173 const FixedPoint& rfv = resize_fill_value ()) | 173 const FixedPoint& rfv = FixedPoint ()) |
174 { | 174 { |
175 MArray<FixedPoint>::resize (dim_vector (nr, nc), rfv); | 175 MArray<FixedPoint>::resize (dim_vector (nr, nc), rfv); |
176 } | 176 } |
177 | 177 |
178 // unary operations | 178 // unary operations |
250 // i/o | 250 // i/o |
251 | 251 |
252 friend OCTAVE_FIXED_API std::ostream& operator << (std::ostream& os, const FixedMatrix& a); | 252 friend OCTAVE_FIXED_API std::ostream& operator << (std::ostream& os, const FixedMatrix& a); |
253 friend OCTAVE_FIXED_API std::istream& operator >> (std::istream& is, FixedMatrix& a); | 253 friend OCTAVE_FIXED_API std::istream& operator >> (std::istream& is, FixedMatrix& a); |
254 | 254 |
255 static FixedPoint resize_fill_value (void) { return FixedPoint(); } | |
256 | |
257 }; | 255 }; |
258 | 256 |
259 OCTAVE_FIXED_API FixedMatrix operator * (const FixedColumnVector& a, const FixedRowVector& b); | 257 OCTAVE_FIXED_API FixedMatrix operator * (const FixedColumnVector& a, const FixedRowVector& b); |
260 OCTAVE_FIXED_API FixedMatrix operator * (const FixedMatrix& a, const FixedMatrix& b); | 258 OCTAVE_FIXED_API FixedMatrix operator * (const FixedMatrix& a, const FixedMatrix& b); |
261 | 259 |