diff liboctave/fDiagMatrix.h @ 8367:445d27d79f4e

support permutation matrix objects
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 04 Dec 2008 08:31:56 +0100
parents 8b1a2555c4e2
children c3f7e2549abb
line wrap: on
line diff
--- a/liboctave/fDiagMatrix.h
+++ b/liboctave/fDiagMatrix.h
@@ -98,6 +98,8 @@
 
   FloatColumnVector diag (octave_idx_type k = 0) const;
 
+  bool is_identity (void) const;
+
   // i/o
 
   friend OCTAVE_API std::ostream& operator << (std::ostream& os, const FloatDiagMatrix& a);