Re: [julia-users] mapping to colums of a matrix

2015-04-07 Thread René Donner
Unfortunately the documentation is not really great yet, but https://github.com/rened/FunctionalData.jl#computing-map-and-friends-details is a collection of functions that could be used for this, with optional in-place operations and parallel processing. It is basically a generalization of

[julia-users] mapping to colums of a matrix

2015-04-04 Thread Tamas Papp
Hi, Suppose I have a function that maps an atom of type T, eg Float64, into Vector{T}, and takes another argument n that determines its length. What is the idiomatic/fast way of collecting the values in the columns of a matrix? Currently I am using this: @doc Map elements of `x` into columns

Re: [julia-users] mapping to colums of a matrix

2015-04-04 Thread Tim Holy
Try the cat, hcat, vcat family of functions. --Tim On Saturday, April 04, 2015 05:04:21 PM Tamas Papp wrote: Hi, Suppose I have a function that maps an atom of type T, eg Float64, into Vector{T}, and takes another argument n that determines its length. What is the idiomatic/fast way of