Thank you Mauro ! That's exactly what I wanted. A method for developping
new function.
Tom : thank you for your answer. But, if I understand what you say, you
define two functions. I'm talking about define one, but make changes. It's
more a refreshing problem in fact.
Le mardi 16 juin 2015 15:34:44 UTC+2, Etienne Cmb a écrit :
>
> Hi !
>
> I discovered Julia a few days ago. I'm coming from Matlab. I designed an
> otpimized pipeline in Matlab for my PhD work. But, analysis can take weeks.
> So I decided to try Julia, learning basis and performance tips. For
> instance, i'm developping basic functions. So I've a main.jl and functions.
> But when I make changes in my functions, they didn't take effect
> immediatly. For example, I made a simple function powerE :
>
> 1st definition: powerE(x, Fs, Fc)
>
> I run it and it works. After that, i'm learning how to define the type of
> arguments. So I modify it :
>
> 2nd definition: powerE{T <: FloatingPoint}(x::Array{T}, Fs::Integer, Fc::
> Integer)
>
> It seems to work, but in fact, it's the 1st definition which is active.
>
> My question is, how do your work in Julia, to be sure that it's last
> modifications take effect?
>
> Thank you !
>