On 03.09.2012, at 12:29, Philip Nienhuis <pr.nienh...@hccnet.nl> wrote:

> PMFJI
> 
> but, uhm....
> 
> Lukas Reichlin wrote:
>> On 03.09.2012, at 10:39, Rafael Laboissiere<raf...@laboissiere.net>  wrote:
>> 
>>> * Rafael Laboissiere<raf...@laboissiere.net>  [2012-08-30 23:47]:
>>> 
>>>> * Carnë Draug<carandraug+...@gmail.com>  [2012-08-27 16:43]:
>>>> 
>>>>> a new release of control package is out, version 2.3.53, by Lukas 
>>>>> Reichlin.
>>>> 
>>>> In exercising the tests in inst/@lti/minreal.m, I got the error below.
>>>> Is it normal?
>> Hi Rafael,
>> 
>> You can check whether the observed and expected results are equivalent 
>> state-space models (i.e. state-transformation, see command prescale for 
>> formulae). This can be done, e.g., by inspection of the Hankel singular 
>> values (command hsvd), time response (step, impulse) or frequency response 
>> (sigma).
>> If they are the same, there should be nothing to worry about. If you want 
>> the same results, use Reference BLAS (and LAPACK) from www.netlib.org 
>> instead of ATLAS which you are probably using. The SLICOT authors recommend 
>> the use of the reference implementations. Correct results are more important 
>> than minor speed advantages of automatically tuned linear algebra software, 
>> aren't they? :-)
> 
> ... shouldn't such an interpretation be reflected in the tests then, rather 
> than a plain "assert" comparison that depends on what (allowed!) dependencies 
> happen to be in place.
> Currently the test just seems to yield confusion.
> 
> Philip

Hi Philip

I see your point, but currently, the tests are such that if they pass, one can 
trust the results. If they fail, it is up to the user to check whether the 
results in this special case are correct and if he has confidence in his SLICOT 
dependencies (e.g. ATLAS) in general. I don't know how to do this automatically 
and how to avoid false positive tests (which would be a very bad thing). Do you 
have any ideas how to check the results of the failing tests?

Lukas 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to