Most voted "julia" questions
Julia is a high-level, dynamic programming language designed to meet high-performance requirements in scientific computing, but is also effective for general-purpose programming, use on the web, and as a specification language.
Learn more…8 questions
Sort by count of
-
5
votes3
answers186
viewsHow to include columns in a Dataframe in Julia?
I got the following DataFrame generic with 100 lines: using DataFrames df = DataFrame(X=LinRange(0.0,2π,100)); head(df) 6×1 DataFrame │ Row │ X │ │ │ Float64 │ ├─────┼───────────┤ │ 1 │ 0.0 │ │ 2 │…
-
4
votes1
answer147
viewsCreate vectors of new types in Julia
I can’t create vectors of new types in Juulia, they don’t work. The example program is this: # Meu tipo customizado struct Job id::Int64 order::Int64 time::Float64 end #Aqui eu crio o vetor v =…
-
4
votes1
answer90
viewsMultiple dispatch in Julia language
I’m studying about the language Julia and read that the multiple dispatch allows the functions to be dispatched dynamically, but it’s still not clear to me.
-
1
votes1
answer72
viewsJulia error VS Code and Juno / Error Julia VS Code and Juno
When I try to make a basic program like this in VS Code: n = 0 while n < 10 n+=1 println(n) end i get this mistake: ERROR: syntax: unexpected end I tried to do the same program on Juno (the…
-
1
votes1
answer66
viewsHow to change the value of an entire argument passed as a reference in Julia
function muda_o_valor_do_inteiro!(x::Int64) x = 10 end a = 9 muda_o_valor_do_inteiro!(a) println(a) # a deveria possuir o valor 10 I have already understood that with vectors I can modify the value…
-
1
votes1
answer132
viewsHow to use the sum in Julia?
I need to put this objective function on Julia. Can someone help me? I started to do so, but I do not know how to join the objective functions as in the image above. using JuMP, Cbc Model1 =…
juliaasked 4 years, 5 months ago Raquel Santos 55 -
0
votes0
answers41
viewsHow to delimit the columns of a matrix in Julia
I have a Matrix 4:3 and would like to catch only 2:3. Is it possible to delimited using the Delimitedfiles command? How should I use? Q = convert(Matrix, ACT[2:3]) #Gostaria de omitir o 2:3…
juliaasked 4 years, 4 months ago Raquel Santos 55 -
0
votes0
answers24
viewsHow to declare a binary variable in a robust optimization model?
I’m trying to declare a binary variable in a robust model, but every time I try the following error message appears: In @variable(ModeloD,b[A],lower_bound = 0,Bin): Unrecognized keyword argument…
juliaasked 4 years, 1 month ago Raquel Santos 55