comparison src/ov.cc @ 8960:93f18f166aba

remove float perm matrices
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 12 Mar 2009 09:24:37 +0100
parents eb63fbe60fab
children dc6bda6f9994
comparison
equal deleted inserted replaced
8959:089abf117499 8960:93f18f166aba
41 #include "ov-re-mat.h" 41 #include "ov-re-mat.h"
42 #include "ov-flt-re-mat.h" 42 #include "ov-flt-re-mat.h"
43 #include "ov-re-diag.h" 43 #include "ov-re-diag.h"
44 #include "ov-flt-re-diag.h" 44 #include "ov-flt-re-diag.h"
45 #include "ov-perm.h" 45 #include "ov-perm.h"
46 #include "ov-flt-perm.h"
47 #include "ov-bool-sparse.h" 46 #include "ov-bool-sparse.h"
48 #include "ov-cx-sparse.h" 47 #include "ov-cx-sparse.h"
49 #include "ov-re-sparse.h" 48 #include "ov-re-sparse.h"
50 #include "ov-int8.h" 49 #include "ov-int8.h"
51 #include "ov-int16.h" 50 #include "ov-int16.h"
691 : rep (new octave_float_complex_matrix (v)) 690 : rep (new octave_float_complex_matrix (v))
692 { 691 {
693 maybe_mutate (); 692 maybe_mutate ();
694 } 693 }
695 694
696 octave_value::octave_value (const PermMatrix& p, bool single) 695 octave_value::octave_value (const PermMatrix& p)
697 : rep () 696 : rep (new octave_perm_matrix (p))
698 { 697 {
699 if (single) 698 maybe_mutate ();
700 rep = new octave_float_perm_matrix (p);
701 else
702 rep = new octave_perm_matrix (p);
703 } 699 }
704 700
705 octave_value::octave_value (bool b) 701 octave_value::octave_value (bool b)
706 : rep (new octave_bool (b)) 702 : rep (new octave_bool (b))
707 { 703 {
2479 octave_float_matrix::register_type (); 2475 octave_float_matrix::register_type ();
2480 octave_float_diag_matrix::register_type (); 2476 octave_float_diag_matrix::register_type ();
2481 octave_float_complex_matrix::register_type (); 2477 octave_float_complex_matrix::register_type ();
2482 octave_float_complex_diag_matrix::register_type (); 2478 octave_float_complex_diag_matrix::register_type ();
2483 octave_perm_matrix::register_type (); 2479 octave_perm_matrix::register_type ();
2484 octave_float_perm_matrix::register_type ();
2485 octave_null_matrix::register_type (); 2480 octave_null_matrix::register_type ();
2486 octave_null_str::register_type (); 2481 octave_null_str::register_type ();
2487 octave_null_sq_str::register_type (); 2482 octave_null_sq_str::register_type ();
2488 } 2483 }
2489 2484