Mercurial > hg > octave-nkf
comparison liboctave/chMatrix.h @ 1728:42b4f904f1af
[project @ 1996-01-09 11:36:01 by jwe]
author | jwe |
---|---|
date | Tue, 09 Jan 1996 11:41:43 +0000 |
parents | c5f9b6cea4a8 |
children | c43d042f20be |
comparison
equal
deleted
inserted
replaced
1727:ba9b08842dbe | 1728:42b4f904f1af |
---|---|
29 #endif | 29 #endif |
30 | 30 |
31 // For FILE... | 31 // For FILE... |
32 #include <cstdio> | 32 #include <cstdio> |
33 | 33 |
34 #include <string> | |
35 | |
34 #include "MArray.h" | 36 #include "MArray.h" |
35 | 37 |
36 #include "mx-defs.h" | 38 #include "mx-defs.h" |
37 | 39 |
38 class charMatrix : public MArray2<char> | 40 class |
41 charMatrix : public MArray2<char> | |
39 { | 42 { |
40 friend class ComplexMatrix; | 43 friend class ComplexMatrix; |
41 | 44 |
42 public: | 45 public: |
43 | 46 |
60 // destructive insert/delete/reorder operations | 63 // destructive insert/delete/reorder operations |
61 | 64 |
62 charMatrix& insert (const char *s, int r, int c); | 65 charMatrix& insert (const char *s, int r, int c); |
63 charMatrix& insert (const charMatrix& a, int r, int c); | 66 charMatrix& insert (const charMatrix& a, int r, int c); |
64 | 67 |
65 char *row_as_string (int r) const; | 68 string row_as_string (int r) const; |
66 | 69 |
67 #if 0 | 70 #if 0 |
68 Matrix& insert (const RowVector& a, int r, int c); | 71 Matrix& insert (const RowVector& a, int r, int c); |
69 Matrix& insert (const ColumnVector& a, int r, int c); | 72 Matrix& insert (const ColumnVector& a, int r, int c); |
70 Matrix& insert (const DiagMatrix& a, int r, int c); | 73 Matrix& insert (const DiagMatrix& a, int r, int c); |