I think these sample programs may be too big for people to review for you.
If you can pare the problem down to an example that can be posted in an
email, you've more likely to get help.
On Thu, Jun 18, 2015 at 11:11 AM, SG davidhe...@gmail.com wrote:
Hi All,
I am a novice to Julia.
While I
Thank you, I will cut it down and post it again soon.
On Thursday, June 18, 2015 at 7:01:16 PM UTC+2, Stefan Karpinski wrote:
I think these sample programs may be too big for people to review for you.
If you can pare the problem down to an example that can be posted in an
email, you've
Hi All,
I am a novice to Julia.
While I am running the attached julia program, I found inverse function
throws an error?
However it worked well in Matlab. Can you help me? Many thanks.
lag0.jl
Description: Binary data
example1_rev.jl
Description: Binary data
,Inflation
#= This line adds functions to take
an AR(2) model for US inflation
=#
using DataFrames
function lag0(x,p)
R::Int32=size(x,1)
C::Int32=size(x,2)
# Take the first R-p rows of matrix x
x1=x[1:(R-p),:]
return out=[zeros(p,C); x1]
end
#load inflation
I don't know why Y does not get its type inferred correctly. But you
can do:
eltype(df[2])[df[i,2] for i in 1:size(df,1)]
On Thu, 2015-06-18 at 20:21, SG davidhe...@gmail.com wrote:
#= This line adds functions to take
an AR(2) model for US inflation
=#
using DataFrames
El jueves, 18 de junio de 2015, 22:18:48 (UTC+2), Mauro escribió:
I don't know why Y does not get its type inferred correctly. But you
Array comprehensions in global scope never (?) have their types inferred.
You can try putting the array comprehension inside a
function -- this may (or