comparison liboctave/dRowVector.h @ 1359:a6994c934a50

[project @ 1995-09-05 21:30:26 by jwe]
author jwe
date Tue, 05 Sep 1995 21:30:26 +0000
parents 611d403c7f3d
children 1281a23a34dd
comparison
equal deleted inserted replaced
1358:dc9c01f66a19 1359:a6994c934a50
51 } 51 }
52 52
53 int operator == (const RowVector& a) const; 53 int operator == (const RowVector& a) const;
54 int operator != (const RowVector& a) const; 54 int operator != (const RowVector& a) const;
55 55
56 // destructive insert/delete/reorder operations 56 // destructive insert/delete/reorder operations
57 57
58 RowVector& insert (const RowVector& a, int c); 58 RowVector& insert (const RowVector& a, int c);
59 59
60 RowVector& fill (double val); 60 RowVector& fill (double val);
61 RowVector& fill (double val, int c1, int c2); 61 RowVector& fill (double val, int c1, int c2);
65 ColumnVector transpose (void) const; 65 ColumnVector transpose (void) const;
66 66
67 friend RowVector real (const ComplexRowVector& a); 67 friend RowVector real (const ComplexRowVector& a);
68 friend RowVector imag (const ComplexRowVector& a); 68 friend RowVector imag (const ComplexRowVector& a);
69 69
70 // resize is the destructive equivalent for this one 70 // resize is the destructive equivalent for this one
71 71
72 RowVector extract (int c1, int c2) const; 72 RowVector extract (int c1, int c2) const;
73 73
74 // row vector by row vector -> row vector operations 74 // row vector by row vector -> row vector operations
75 75
76 RowVector& operator += (const RowVector& a); 76 RowVector& operator += (const RowVector& a);
77 RowVector& operator -= (const RowVector& a); 77 RowVector& operator -= (const RowVector& a);
78 78
79 // row vector by matrix -> row vector 79 // row vector by matrix -> row vector
80 80
81 friend RowVector operator * (const RowVector& a, const Matrix& b); 81 friend RowVector operator * (const RowVector& a, const Matrix& b);
82 82
83 // other operations 83 // other operations
84 84
85 friend RowVector map (d_d_Mapper f, const RowVector& a); 85 friend RowVector map (d_d_Mapper f, const RowVector& a);
86 friend RowVector map (d_c_Mapper f, const ComplexRowVector& a); 86 friend RowVector map (d_c_Mapper f, const ComplexRowVector& a);
87 void map (d_d_Mapper f); 87 void map (d_d_Mapper f);
88 88
89 double min (void) const; 89 double min (void) const;
90 double max (void) const; 90 double max (void) const;
91 91
92 // i/o 92 // i/o
93 93
94 friend ostream& operator << (ostream& os, const RowVector& a); 94 friend ostream& operator << (ostream& os, const RowVector& a);
95 friend istream& operator >> (istream& is, RowVector& a); 95 friend istream& operator >> (istream& is, RowVector& a);
96 96
97 private: 97 private: