diff liboctave/dMatrix.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 9b2654476502
line wrap: on
line diff
--- a/liboctave/dMatrix.h
+++ b/liboctave/dMatrix.h
@@ -67,7 +67,7 @@
   int operator == (const Matrix& a) const;
   int operator != (const Matrix& a) const;
 
-// destructive insert/delete/reorder operations
+  // destructive insert/delete/reorder operations
 
   Matrix& insert (const Matrix& a, int r, int c);
   Matrix& insert (const RowVector& a, int r, int c);
@@ -92,11 +92,11 @@
   friend Matrix real (const ComplexMatrix& a);
   friend Matrix imag (const ComplexMatrix& a);
 
-// resize is the destructive equivalent for this one
+  // resize is the destructive equivalent for this one
 
   Matrix extract (int r1, int c1, int r2, int c2) const;
 
-// extract row or column i.
+  // extract row or column i.
 
   RowVector row (int i) const;
   RowVector row (char *s) const;
@@ -161,41 +161,41 @@
   Matrix& operator += (const DiagMatrix& a);
   Matrix& operator -= (const DiagMatrix& a);
 
-// unary operations
+  // unary operations
 
   Matrix operator ! (void) const;
 
-// column vector by row vector -> matrix operations
+  // column vector by row vector -> matrix operations
 
   friend Matrix operator * (const ColumnVector& a, const RowVector& a);
 
-// diagonal matrix by scalar -> matrix operations
+  // diagonal matrix by scalar -> matrix operations
 
   friend Matrix operator + (const DiagMatrix& a, double s);
   friend Matrix operator - (const DiagMatrix& a, double s);
 
-// scalar by diagonal matrix -> matrix operations
+  // scalar by diagonal matrix -> matrix operations
 
   friend Matrix operator + (double s, const DiagMatrix& a);
   friend Matrix operator - (double s, const DiagMatrix& a);
 
-// matrix by diagonal matrix -> matrix operations
+  // matrix by diagonal matrix -> matrix operations
 
   friend Matrix operator + (const Matrix& a, const DiagMatrix& b);
   friend Matrix operator - (const Matrix& a, const DiagMatrix& b);
   friend Matrix operator * (const Matrix& a, const DiagMatrix& b);
 
-// diagonal matrix by matrix -> matrix operations
+  // diagonal matrix by matrix -> matrix operations
 
   friend Matrix operator + (const DiagMatrix& a, const Matrix& b);
   friend Matrix operator - (const DiagMatrix& a, const Matrix& b);
   friend Matrix operator * (const DiagMatrix& a, const Matrix& b);
 
-// matrix by matrix -> matrix operations
+  // matrix by matrix -> matrix operations
 
   friend Matrix operator * (const Matrix& a, const Matrix& b);
 
-// other operations
+  // other operations
 
   friend Matrix map (d_d_Mapper f, const Matrix& a);
   friend Matrix map (d_c_Mapper f, const ComplexMatrix& a);
@@ -225,7 +225,7 @@
   RowVector column_max (void) const;
   RowVector column_max_loc (void) const;
 
-// i/o
+  // i/o
 
   friend ostream& operator << (ostream& os, const Matrix& a);
   friend istream& operator >> (istream& is, Matrix& a);
@@ -233,8 +233,6 @@
   int read (FILE *fptr, char *type);
   int write (FILE *fptr, char *type);
 
-// Until templates really work with g++:
-
 private:
 
   Matrix (double *d, int r, int c) : MArray2<double> (d, r, c) { }