missing functions in Julia Windows

111 views
Skip to first unread message

Stéphane Laurent

unread,
Nov 2, 2012, 1:50:30 PM11/2/12
to juli...@googlegroups.com
There are some functions in the Julia documentation, for instance the linear algebra functions null() and pinv(), which are not defined in the latest version of Julia for Windows. How could I get these functions ?

Jameson Nash

unread,
Nov 2, 2012, 3:03:25 PM11/2/12
to juli...@googlegroups.com
I suspect they did not exist at the time of the last binary release. However, they will in the next binary release, since they exist in the current source tree for the Windows fork. I need to finish some more system code to close a few bugs, rebuild the whole thing, and should have a new binary release out in a few days.

On Nov 2, 2012, at 1:50 PM, Stéphane Laurent wrote:

> There are some functions in the Julia documentation, for instance the linear algebra functions null() and pinv(), which are not defined in the latest version of Julia for Windows. How could I get these functions ?
>
> --
>
>
>

Gabor

unread,
Nov 2, 2012, 3:27:47 PM11/2/12
to juli...@googlegroups.com
Here I am taking the opportunity to report a bug:
 
julia> a=ones(3,3)
3x3 Float64 Array:
 1.0  1.0  1.0
 1.0  1.0  1.0
 1.0  1.0  1.0
julia> det(a)
LapackException(2)
Obviously, det(a) should return zero.
 
I am using:
Version 0.0.0+99281979.r7076.dirty
Commit 7076ab06f1 (2012-10-15 01:58:45)
More importantly, thanks for providing up-to-date Windows versions!

Jameson Nash

unread,
Nov 2, 2012, 4:08:38 PM11/2/12
to juli...@googlegroups.com
Can someone familiar with the Lapack code fix this? Looks like an erroneous error:
If info = iuii is 0. The factorization has been completed, but U is exactly singular. Division by 0 will occur if you use the factor U for solving a system of linear equations.

From MATLAB:
>> [l,u]=lu(ones(3,3))

l =

     1     0     0
     1     1     0
     1     0     1


u =

     1     1     1
     0     0     0
     0     0     0


--
 
 
 

Gabor

unread,
Nov 3, 2012, 12:12:08 PM11/3/12
to juli...@googlegroups.com
Thanks for filing.
 
From Viral's answer at GitHub it seems that the bug is not Windows-specific.
I was not sure, because the 2012-06-27 version at julia.forio.com returns  -0.0.

Viral Shah

unread,
Nov 3, 2012, 2:38:52 PM11/3/12
to juli...@googlegroups.com
The linear algebra stuff has been reworked a fair bit in the last few months, and clearly this fell through the cracks.

-viral
Reply all
Reply to author
Forward
0 new messages