[julia-users] Re: [julia-dev] Re: Google Summer of Code 2016 - Ideas Page

2016-02-11 Thread Pranit Bauva
there also exists a Sundials.jl package which manages to cover most of the ODEs, so is another package ODE.jl really required? Regards, Pranit Bauva

Re: [julia-users] Stepping avg. How faster to compute?

2016-01-10 Thread Pranit Bauva
/04/17/random-number-generator-mersenne-twister/ shows the analysis of the algorithm with the graph Regards, Pranit Bauva On Sat, Jan 2, 2016 at 5:27 PM, paul analyst wrote: > I have meny lonng vectors (like a)and need avg for intervals (f.e. 100 ) in > second new vecotr (b) > > julia> a

Re: [julia-users] strange behavior with float value multiplication

2015-12-28 Thread Pranit Bauva
. Regards, Pranit Bauva On Mon, Dec 28, 2015 at 3:29 PM, Yonghee Kim wrote: > I wrote simple code like this > > -- > a = 0.2 > > for i in 1:10 > println(a * i) > end > --- > > > and what I got is not 0.2, 0.4, 0.6,

Re: [julia-users] How are negative values handled by %?

2015-12-25 Thread Pranit Bauva
ulia/blob/c072d1ce73345e153e4fddf656cda544013b1219/test/numbers.jl#L1171-L1610 > > If you find some aspect of their behavior which is not well tested, by all > means add more tests. > > On Fri, Dec 25, 2015 at 12:46 PM, Pranit Bauva > wrote: >> >> Thanks! I am writing testing

Re: [julia-users] How are negative values handled by %?

2015-12-25 Thread Pranit Bauva
thand rem, which computes the remainder; the sign of >> the result matches the first argument. The mod function also exists, which >> computes the modulus, the result of which matches its second argument. >> >> On Fri, Dec 25, 2015 at 12:19 PM, Pranit Bauva >> wrote: &g

Re: [julia-users] `===` gives error with widemul()

2015-12-25 Thread Pranit Bauva
> > julia> typeof(ans) > BigInt > > > The == operator just checks for numerical equality. > > On Fri, Dec 25, 2015 at 12:03 PM, Pranit Bauva > wrote: >> >> Hey everyone! >> >> This gives an error >> julia> @test widemul(Int128(3), Int1

[julia-users] How are negative values handled by %?

2015-12-25 Thread Pranit Bauva
Hey everyone! Julia's way of handling negative values in % seem to be different. julia> 7 % -3 1 julia> -7 % 3 -1 julia> -7 % -3 -1 julia> Is this a bug or a feature? Regards, Pranit Bauva

[julia-users] `===` gives error with widemul()

2015-12-25 Thread Pranit Bauva
es not julia> @test widemul(Int128(3), Int128(2)) == Int128(6) julia> Could someone please explain how is `===` differing from `==` in this case? Regards, Pranit Bauva

Re: [julia-users] Can't declare variable of specific type

2015-11-07 Thread Pranit Bauva
not yet have constant-type globals. Note that in a >> function return statement, the first two of the above expressions compute a >> value and then :: is a type assertion and not a declaration. > > > On Sat, Nov 7, 2015 at 2:26 AM, Pranit Bauva > wrote: > >> hey ev

[julia-users] Can't declare variable of specific type

2015-11-07 Thread Pranit Bauva
type_test.jl" in the terminal. function foo() a::Int8 = 10 b::Int8 = 20 a + b end foo() x::Int8 = 10 y::Int8 = 20 x + y There shows an error that x is not defined. Can please someone explain this kind of behavior ? Regards, Pranit Bauva