I am just starting to move some of my code from Julia 0.3 to the new 0.4 release. When I discovered NumericExtensions in 0.3 it dramatically sped up some of my code. I noticed that NumericExtensions does not work with 0.4 and then I saw multiple posts on the git site and Julia-Users suggesting it was just a stopgap until 0.4 came out and that some of the stuff in NumericExtensions was put in base or other packages like StatFuns.
After a bit of searching I was able to find one of those functions in Base and I looked at StatFuns but I could not find any others. My question is have all of the equivalent functionality been moved to base and/or other packages or just some of it? If not, is there a generally way with respect to changes in 0.4 to reproduce some of it without being an expert (particularly for functions like wsumfdiff)? Below are the functions I have used and what I have found in base and the functions or equivalent functions I have not found yet.
Here are the functions that I have been using:
Found:
sum(Abs2Fun(),x)
found equivalent with sumabs2 in base in reduce.jl
Not Sure:
sum(LogFun(),x)
I am not sure if sum(log(x)) is now the same or as fast as sum(LogFun(),x)
Cannot Find:
wsumfdiff(rcp!(x),Abs2Fun(),yperm,that)
cannot find the equivalent of rcp! which is equivalent to x<- 1./x
cannot find the equivalent of wsumfdiff or wsumsqdiff
I found sqL2dist(a,b) in Statsbase but I am not sure if you can or how to incorporate weights
I am sorry for the noise if the answers to this have already been posted somewhere that I have not found.
I am just starting to move some of my code from Julia 0.3 to the new 0.4 release. When I discovered NumericExtensions in 0.3 it dramatically sped up some of my code. I noticed that NumericExtensions does not work with 0.4 and then I saw multiple posts on the git site and Julia-Users suggesting it was just a stopgap until 0.4 came out and that some of the stuff in NumericExtensions was put in base or other packages like StatFuns.
After a bit of searching I was able to find one of those functions in Base and I looked at StatFuns but I could not find any others. My question is have all of the equivalent functionality been moved to base and/or other packages or just some of it? If not, is there a generally way with respect to changes in 0.4 to reproduce some of it without being an expert (particularly for functions like wsumfdiff)? Below are the functions I have used and what I have found in base and the functions or equivalent functions I have not found yet.
Here are the functions that I have been using:
Found:
sum(Abs2Fun(),x)
found equivalent with sumabs2 in base in reduce.jl
Not Sure:
sum(LogFun(),x)
I am not sure if sum(log(x)) is now the same or as fast as sum(LogFun(),x)
Cannot Find:
wsumfdiff(rcp!(x),Abs2Fun(),yperm,that)
cannot find the equivalent of rcp! which is equivalent to x<- 1./x
cannot find the equivalent of wsumfdiff or wsumsqdiff
I found sqL2dist(a,b) in Statsbase but I am not sure if you can or how to incorporate weights
I am sorry for the noise if the answers to this have already been posted somewhere that I have not found.