Mercurial > forge
comparison main/fixed/src/fixedRowVector.h @ 5248:f8d77845533f octave-forge
Changes for compilation with 3.1.51+
author | adb014 |
---|---|
date | Thu, 13 Nov 2008 22:49:30 +0000 |
parents | 2de537641f94 |
children | d84d2fea3c90 |
comparison
equal
deleted
inserted
replaced
5247:2a89127eb1b1 | 5248:f8d77845533f |
---|---|
38 #endif | 38 #endif |
39 #if !defined(octave_FixedMatrix_h) | 39 #if !defined(octave_FixedMatrix_h) |
40 class FixedMatrix; | 40 class FixedMatrix; |
41 #endif | 41 #endif |
42 | 42 |
43 typedef FixedPoint (*f_f_Mapper)(FixedPoint); | 43 typedef FixedPoint (*fp_fp_Mapper)(FixedPoint); |
44 | 44 |
45 class | 45 class |
46 OCTAVE_FIXED_API | 46 OCTAVE_FIXED_API |
47 FixedRowVector : public MArray<FixedPoint> | 47 FixedRowVector : public MArray<FixedPoint> |
48 { | 48 { |
130 | 130 |
131 FixedRowVector extract_n (int c1, int n) const; | 131 FixedRowVector extract_n (int c1, int n) const; |
132 | 132 |
133 // other operations | 133 // other operations |
134 | 134 |
135 FixedRowVector map (f_f_Mapper f) const; | 135 FixedRowVector map (fp_fp_Mapper f) const; |
136 | 136 |
137 FixedRowVector& apply (f_f_Mapper f); | 137 FixedRowVector& apply (fp_fp_Mapper f); |
138 | 138 |
139 FixedPoint min (void) const; | 139 FixedPoint min (void) const; |
140 FixedPoint max (void) const; | 140 FixedPoint max (void) const; |
141 | 141 |
142 friend FixedRowVector operator * (const FixedRowVector& a, const Matrix& b); | 142 friend FixedRowVector operator * (const FixedRowVector& a, const Matrix& b); |