diff liboctave/array/boolMatrix.h @ 19509:8b4a24081e47

Remove redundant methods now that Matrices inherit from NDArrays. * boolMatrix.cc, boolMatrix.h, chMatrix.cc, chMatrix.h: boolMatrix and charMatrix are now subclasses of boolNDArray and charNDArray. They now inherit the methods any, all, diag, and the operator = from their parent classes.
author Carnë Draug <carandraug@octave.org>
date Mon, 03 Nov 2014 22:18:29 +0000
parents 25f535b90e52
children 50922b1c74df
line wrap: on
line diff
--- a/liboctave/array/boolMatrix.h
+++ b/liboctave/array/boolMatrix.h
@@ -52,12 +52,6 @@
 
   boolMatrix (const boolMatrix& a) : boolNDArray (a) { }
 
-  boolMatrix& operator = (const boolMatrix& a)
-  {
-    Array<bool>::operator = (a);
-    return *this;
-  }
-
   bool operator == (const boolMatrix& a) const;
   bool operator != (const boolMatrix& a) const;
 
@@ -76,9 +70,6 @@
 
   boolMatrix diag (octave_idx_type k = 0) const;
 
-  boolMatrix all (int dim = -1) const;
-  boolMatrix any (int dim = -1) const;
-
 #if 0
   // i/o