From pburns at pburns.seanet.com  Sun Nov 30 18:35:11 2003
From: pburns at pburns.seanet.com (Patrick Burns)
Date: Sun Nov 30 18:33:46 2003
Subject: [Rd] eigen of matrix of Inf hangs (PR#5406)
References: <Pine.LNX.4.44.0311301605340.32068-100000@gannet.stats>
Message-ID: <3FCA2A4F.6010007@pburns.seanet.com>

I agree an error makes sense.

Pat

Prof Brian Ripley wrote:

>Yes, and it applies to svd() too (and the previous fix for NaNs was
>applied to eigen but not to La.eigen).
>
>I think this should be an error (with Inf or NaN): it was in the days 
>of LIN/EISPACK-based code, and I don't understand why it has been chnaged 
>to returning NAs in the case of NaN inputs.
>
>Now all of eigen, La.eigen, svd and La.svd give an error on matrix(Inf,2,2).
>
>On Sat, 29 Nov 2003 pburns@pburns.seanet.com wrote:
>
>  
>
>>Full_Name: Patrick Burns
>>Version: 1.8.1
>>OS: Windows 2000
>>Submission from: (NULL) (81.129.3.151)
>>
>>
>>The command:
>>
>>eigen(matrix(Inf, 2, 2))
>>
>>causes version 1.8.1 to hang in both Windows 2000 and SuSe 8.2.
>>(Hang defined as apparently needing to kill the process in order
>>to get a prompt back.)
>>
>>
>>This is similar to bug #4366 where the same command used NaN
>>instead of Inf.
>>
>>______________________________________________
>>R-devel@stat.math.ethz.ch mailing list
>>https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>>
>>
>>    
>>
>
>  
>


[Rd] eigen of matrix of Inf hangs (PR#5406)
Patrick Burns