Quantcast
Channel: First steps - JuliaLang
Browsing all 2795 articles
Browse latest View live

Configuring Cxx.jl

@kumarbalachandran wrote: I am attempting to use the Arraymaker.cpp as a test for the installation of Cxx.jl and I get a failure on the precompilation stage: test Cxx Testing Cxx Resolving package...

View Article


Is it possible, that DataFrame row has a name, like colums have? For...

@BMval wrote: Is it possible, that DataFrame row has a name like columns have? For instance: df[:GR,:col] P.S. I know that it can’t be done like df[df.name.==“GR”,:col] thank you Posts: 1...

View Article


Expression interpolation

@tomtom wrote: in doc, the following example is given: julia> ex = :(a in $:((1, 2, 3) ) ) :(a in (1, 2, 3)) I don’t get the meaning of “expression interpolation”, as: julia> ex2 = :(a in (1, 2,...

View Article

Findall function

@anirudhpammi wrote: I have a question regarding the internal code of the findall function. I have an array and I want to find elements that satisfy two conditions. I know that I can use something...

View Article

Parametric type

@ohmsweetohm1 wrote: Is it possible to write a parametric type with default type? struct Point{T} x::T y::T end struct Foo a::Point{Float64} b::Point # should be the default type: Point{Float64}...

View Article


Cropping ticks and labels with Plot and gr()

@fer wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article

Ref not change

@andrey2185 wrote: Hello! x = 10 ax = Ref(x) x = 90 println(ax[]) # why 10 ? Posts: 7 Participants: 4 Read full topic

View Article

Install julia chromecook

@Luigi_Marongiu wrote: Hello, is it possible to install Julia on an acer chromebook? shall I simply copy all on a folder a create a link on /usr/local/bin? Thanks Posts: 3 Participants: 2 Read full...

View Article


Basic question about Distributions, drawing random sample and related...

@curious wrote: Julia version Julia 1.0.5 What I want to do: I want to draw a random sample from a continuous uniform distribution, U[10, 50]. A way to do it in Julia The following works: import...

View Article


Slowdown _after_ package load

@Peter_Adelman wrote: I have a somewhat odd “my package is slow to load” problem that I cannot find another example of, because the most serious slowdown occurs after the package loads: julia>...

View Article

Make error!

@buzz wrote: curl: (28) Operation too slow. Less than 1 bytes/sec transferred the last 15 seconds /home/balaji/julia/deps/llvm.mk:575: recipe for target...

View Article

Creating a complex matrix from a vector

@CPPhysics wrote: I am sure this is simple but I cannot find the solution. I have a problem where I would like to create a complex matrix out of a real vector. For example, say I have a vector: test =...

View Article

Installation of MKL on Julia 1.3.1

@kumarbalachandran wrote: The MKL installation on julia-1.3.1 fails on my Dell laptop build MKL Building LibCURL ────────→ `C:\Users\kumar\.julia\packages\LibCURL\lWJxD\deps\build.log` Building WinRPM...

View Article


Error when trying the first example for LoopVectorization

@lesshaste wrote: I am trying the first example from https://github.com/chriselrod/LoopVectorization.jl . That is: using LoopVectorization, BenchmarkTools function mydot(a, b) s = 0.0 @inbounds @simd...

View Article

Difficulties updating to Julia 1.3

@squirrel wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 2 Participants: 2 Read full topic

View Article


Silly question. How to add a row to array?

@BMval wrote: Very simple question. Please help me. a= [2 3; 5 6] push!(a, [1 2]) - does’t work append!(a, [1 2]) - doesn’t work thanks Posts: 13 Participants: 5 Read full topic

View Article

Issues updating to Julia 1.3.1

@squirrel wrote: I had been running JuliaPro 1.2 in Atom 1.40.1 x64. I wanted to update to Julia 1.3 because I’m under the impression that it has more powerful multithreading. I downloaded julia and...

View Article


2d Histogram?

@BMval wrote: Does anybody know, is available 2d Histogram function? thanks Posts: 2 Participants: 2 Read full topic

View Article

Can't use NDSparse Created Using Query.jl

@HBreddam wrote: Hi I want i have my data in Indexed tables and want to use Query.jl to make NDSparse tables for use in a creating a MIP model using JuMP. However when i have created the NDSparse test...

View Article

How to handle C dependency in packages

@henry2004y wrote: Hi, I am wondering that if I have some C codes in my own package, how should I get the C functions compiled when importing the package? Should I just ship the compiled dynamic...

View Article
Browsing all 2795 articles
Browse latest View live