Mercurial > hg > octave-lyh
diff src/ov-re-mat.h @ 2948:56be458e237f
[project @ 1997-05-09 13:37:35 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 13:51:06 +0000 |
parents | 4e7bea116f24 |
children | 5e0fe4c5d52f |
line wrap: on
line diff
--- a/src/ov-re-mat.h +++ b/src/ov-re-mat.h @@ -85,8 +85,20 @@ void assign (const octave_value_list& idx, const Matrix& rhs); + void assign_struct_elt (assign_op, const string& elt_nm, + const octave_value& rhs); + + void assign_struct_elt (assign_op, const string& elt_nm, + const octave_value_list& idx, + const octave_value& rhs); + idx_vector index_vector (void) const { return idx_vector (matrix); } + octave_value struct_elt_val (const string& nm, bool silent) const; + + octave_variable_reference + struct_elt_ref (octave_value *parent, const string& nm); + int rows (void) const { return matrix.rows (); } int columns (void) const { return matrix.columns (); }