diff liboctave/CSparse.h @ 8366:8b1a2555c4e2

implement diagonal matrix objects * * *
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 03 Dec 2008 13:32:57 +0100
parents 64cf956a109c
children eb63fbe60fab
line wrap: on
line diff
--- a/liboctave/CSparse.h
+++ b/liboctave/CSparse.h
@@ -90,6 +90,8 @@
 
   explicit SparseComplexMatrix (const SparseBoolMatrix& a);
 
+  explicit SparseComplexMatrix (const ComplexDiagMatrix& a);
+
   SparseComplexMatrix (octave_idx_type r, octave_idx_type c, octave_idx_type num_nz) 
     : MSparse<Complex> (r, c, num_nz) { }