Mercurial > octave
comparison src/ov-base-mat.h @ 4676:c0aa75a64635
[project @ 2003-12-16 16:47:52 by jwe]
author | jwe |
---|---|
date | Tue, 16 Dec 2003 16:47:52 +0000 |
parents | 12b6fbd57436 |
children | 35bfb4e0b96b |
comparison
equal
deleted
inserted
replaced
4675:f6d6335c08f6 | 4676:c0aa75a64635 |
---|---|
54 | 54 |
55 octave_base_matrix (void) | 55 octave_base_matrix (void) |
56 : octave_base_value () { } | 56 : octave_base_value () { } |
57 | 57 |
58 octave_base_matrix (const MT& m) | 58 octave_base_matrix (const MT& m) |
59 : octave_base_value (), matrix (m) { } | 59 : octave_base_value (), matrix (m) |
60 { | |
61 if (matrix.ndims () == 0) | |
62 matrix.resize (dim_vector (0, 0)); | |
63 } | |
60 | 64 |
61 octave_base_matrix (const octave_base_matrix& m) | 65 octave_base_matrix (const octave_base_matrix& m) |
62 : octave_base_value (), matrix (m.matrix) { } | 66 : octave_base_value (), matrix (m.matrix) { } |
63 | 67 |
64 ~octave_base_matrix (void) { } | 68 ~octave_base_matrix (void) { } |