octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #9011] Tests for corefcn/sparse.cc


From: Lachlan Andrew
Subject: [Octave-patch-tracker] [patch #9011] Tests for corefcn/sparse.cc
Date: Fri, 10 Jun 2016 09:09:48 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #1, patch #9011 (project octave):

These look like an excellent start (although you have


%!assert (issparse (sparse (1)), true)


twice).

You might want to add tests for sparse() with complex values, NA, NaN, +Inf
and -Inf.

It would also be great to have tests of basic operations on sparse matrices:
addition, subtraction, array multiply, matrix multiply, left-divide,
right-divide, taking sub-matrices, transpose, Hermitian transpose.  These
aren't explicitly tests for sparse(), but are sort of wrapped up in there.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9011>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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