Re: [julia-users] Re: using chol command in Julia v.0.4.0

2015-10-22 Thread Milan Bouchet-Valat
A PR was just merged to change the behavior of chol() for 0.5: https://github.com/JuliaLang/julia/pull/13680 Le dimanche 18 octobre 2015 à 10:14 -0700, Christoph Ortner a écrit : > I agree - that would be much nicer. > > Christoph

Re: [julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Christoph Ortner
I agree - that would be much nicer. Christoph

Re: [julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Milan Bouchet-Valat
Le dimanche 18 octobre 2015 à 07:34 -0700, Christoph Ortner a écrit : > There is a discussion on this here: > > https://github.com/JuliaLang/julia/pull/10963 > > (but I am still not getting the point) The problem is that people will use the simpler function without wondering and get bad performa

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Christoph Ortner
There is a discussion on this here: https://github.com/JuliaLang/julia/pull/10963 (but I am still not getting the point)

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Christoph Ortner
Ok I just found a pull request that does just that. https://github.com/JuliaLang/julia/pull/10963 sorry for the rant. Christoph

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Christoph Ortner
On Sunday, 18 October 2015 14:33:30 UTC+1, Kristoffer Carlsson wrote: > > The reason for dispatching is to make the chol function type stable. > > https://github.com/JuliaLang/julia/pull/10862 > That was clear from the usage of Val, but I am still not really getting it. >From the discussions in

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Kristoffer Carlsson
The reason for dispatching is to make the chol function type stable. https://github.com/JuliaLang/julia/pull/10862 On Sunday, October 18, 2015 at 9:17:42 AM UTC+2, Christoph Ortner wrote: > > > I also like (and use) dispatch on values, using the Val{:symbol} > construction, but when I can I alwa

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread jamesmnason
Thanks to Kristoffer. I agree with Christoph. Best, Jim On Sunday, October 18, 2015 at 3:17:42 AM UTC-4, Christoph Ortner wrote: > > > I also like (and use) dispatch on values, using the Val{:symbol} > construction, but when I can I always hide it from the "user" even (when > important for pe

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-18 Thread Christoph Ortner
I also like (and use) dispatch on values, using the Val{:symbol} construction, but when I can I always hide it from the "user" even (when important for performance). Personally, I think chol(A, Val{:L}) is ugly and also confusing for novices. I am wondering: Why is it necessary to use disp

[julia-users] Re: using chol command in Julia v.0.4.0

2015-10-17 Thread Kristoffer Carlsson
Try chol(B, Val{:L}) and chol(B, Val{:U}) On Sunday, October 18, 2015 at 2:19:29 AM UTC+2, james...@gmail.com wrote: > > Hi All: > > This has got to be simple, yet beyond me. > > I construct a matrix QQ that causes isposdef(QQ) to return true. > > However, at the Julia command line > >