Re: [julia-users] Elapsed CPU time in Julia?

2016-02-04 Thread Lytu
ulialang.org/en/latest/manual/performance-tips/#measur >>> e-performance-with-time-and-pay-attention-to-memory-allocation >>> <http://docs.julialang.org/en/latest/manual/performance-tips/#measure-performance-with-time-and-pay-attention-to-memory-allocation> >>> >

Re: [julia-users] Re: Elapsed CPU time in Julia?

2016-02-04 Thread Lytu
lt;http://docs.julialang.org/en/latest/manual/performance-tips/#measure-performance-with-time-and-pay-attention-to-memory-allocation> >> >> >> Regards >> >> > On Wednesday, February 3, 2016 at 3:28:28 PM UTC-5, Lytu wrote: >> > > Hello Julia users, >>

Re: [julia-users] Re: Elapsed CPU time in Julia?

2016-02-04 Thread Lytu
memory-allocation >> <http://docs.julialang.org/en/latest/manual/performance-tips/#measure-performance-with-time-and-pay-attention-to-memory-allocation> >> >> >> Regards >> >> > On Wednesday, February 3, 2016 at 3:28:28 PM UTC-5, Lytu wrote: >> &g

[julia-users] Elapsed CPU time in Julia?

2016-02-03 Thread Lytu
Hello Julia users, Can someone tell me what's the equivalent of matlab elapsed cputime in Julia For example i Matlab, we can do this: t = cputime; x=4; iter = 1; z = ones(1,4); y=x*2*z; e = cputime-t But in Julia i don't seem to find how to do this. I thought i can use

[julia-users] Re: Elapsed CPU time in Julia?

2016-02-03 Thread Lytu
end R=R-H(:,k)*H(:,k)'; end if nargout >=2 t = [t cputime-t0]; e = [e 0.5*norm(A-H*H','fro')^2]; end iter = iter + 1; end end On Wednesday, 3 February 2016 21:28:28 UTC+1, Lytu wrote: > > Hello Julia use

[julia-users] Problem when i use ode for the numeric resolution of the ordinary differential equation in Julia

2015-06-12 Thread Lytu
Hello, I have a question about the package ODE in Julia. In Matlab, when i use *[tout, yout] = ode45('fct', t, y0);* it works but when i try to do the same thing in Julia *tout, yout = ode45(fct, t, y0)* , sometimes it works but with different results *tout, yout* and with a different plot

[julia-users] How to contact the package maintainer ?

2015-06-12 Thread Lytu
I have some issues with the ODE package. Can anyone please tell me how to contact the package maintainer because we can have the name of the person but not his e-mail. Thanks

[julia-users] How to convert a matrix in Julia ?

2015-05-17 Thread Lytu
Hello Julia users, How can i convert an Array{Int32,2} matrix H in an Array{Float64,2} matrix? For example: H=[5 3 6;3 9 12;6 12 17] I ask this because i would like to do this: H=[5 3 6;3 9 12;6 12 17] val=-7.046128291045994

[julia-users] Problem with plot in Julia

2015-05-17 Thread Lytu
I have an issue with my code in attachment. When i run, it plots nothing. In attachment, there are the code (2 files) and the plot that i was supposed to have (that i had in Matlab). Can someone please tell me why? Thank you CoDeNMFSymORIGINAL.jl Description: Binary data Run.jl

[julia-users] Re: Problem with if else in Julia

2015-05-16 Thread Lytu
. is automatically converting a 1x1 matrix to a scalar or defining comparison between 1x1 matrices and scalars reasonable? On Friday, May 15, 2015 at 5:14:43 PM UTC-4, Lytu wrote: When i do: M=rand(5,5) a=M[:,1]' * M[:,1] if a0 println(Less than 0) else println(more) end I have an error

[julia-users] Problem with if else in Julia

2015-05-15 Thread Lytu
When i do: M=rand(5,5) a=M[:,1]' * M[:,1] if a0 println(Less than 0) else println(more) end I have an error: isless has no method matching isless(::Array{Float64,2}, ::Int 32) in at operators.jl:32 Can anyone tell me please how to do this? Thank you

[julia-users] Which command in julia that permit us to see the implementation of a module/function?

2015-05-15 Thread Lytu
Is there a command in julia that enables us to see/show the implementation of a module or a function in julia? If yes, which command? Can we modify the code of an existing module/function?

[julia-users] how do we convert an array{Float64,1} in a Float64?

2015-05-15 Thread Lytu
Someone know how to convert an array{Float64,1} in a Float64? Thank you