help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

funny behavior of the sparse


From: Gorazd Brumen
Subject: funny behavior of the sparse
Date: Wed, 22 Nov 2006 12:13:13 +0100
User-agent: Thunderbird 1.5.0.8 (X11/20061116)

Hi,

A = sparse ([1:10, 10], [1:10,5], [1:10 1], 10,10)
A =

Compressed Column Sparse (rows = 10, cols = 10, nnz = 11)

  (1, 1) ->  1
  (2, 2) ->  2
  (3, 3) ->  3
  (4, 4) ->  4
  (5, 5) ->  5
  (10, 5) ->  1
  (6, 6) ->  6
  (7, 7) ->  7
  (8, 8) ->  8
  (9, 9) ->  9
  (10, 10) ->  10

octave:5> spinv (A)
error: division by zero
warning: spinverse: matrix singular to machine precision, rcond = 0


This does not make much sense?
Tested on Octave 2.9.9 and 2.9.7

Regards,
Gorazd




-- 
Gorazd Brumen
Mail: address@hidden
WWW: http://www.gorazdbrumen.net/
PGP: Key at http://pgp.mit.edu, ID BCC93240


reply via email to

[Prev in Thread] Current Thread [Next in Thread]