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

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

[Octave-patch-tracker] [patch #8960] Preliminary balancing and balance o


From: Nir Krakauer
Subject: [Octave-patch-tracker] [patch #8960] Preliminary balancing and balance option for eig
Date: Mon, 9 May 2016 14:39:29 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4

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

You should have a series of test cases to make sure that the balance option
(and eventually the other options you'll be adding) work as planned. Since
putting tests in the source files of built-in functions is still under
discussion [1], I suggest for now just writing an m-file script that runs
tests for eig.

> I already know that in Matlab there is no option to change balance option in
the general case, but the documentation does not mention if the balancing is
default or not in the generalised case. How should I handle this?

I think balancing should be an option, but not the default, for the
generalized case.

> I think that balancing a Symmetric or a Hermitian matrix does nothing, so I
didn't touched those functions (so there is no balancing at all). Please
correct me if I am wrong. 

I believe you're right.

> I am also not sure what to do in case of an invalid string input.

Try checking what Matlab does in this case and doing likewise.

[1] http://savannah.gnu.org/bugs/?47424

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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