asignment of matrix to indexed diagonal matrix

Søren Hauberg soren at hauberg.org
Fri Jan 9 08:12:17 CST 2009


Hi All,
  It seems the introduction of diagonal matrices has introduced a
problem. If I type

  pascal (3)

I get the following error

warning: is_scalar is obsolete and will be removed from a future version
of Octave; please use isscalar instead
error: assignment of `matrix' to indexed `diagonal matrix' not
implemented
error: assignment failed, or no method for `diagonal matrix = matrix'
error: called from:
error:   /home/sh/Programmer//share/octave/3.1.51
+/m/special-matrix/pascal.m at line 52, column 15

Cheers,
Søren




More information about the Bug-octave mailing list