[julia-users] Efficient convolution of sparse arrays?

2016-08-12 Thread 'Antoine Messager' via julia-users
Hello, I have signals that are 12,654,646 seconds long but very sparse, there are only a few hundreds events. I would like to compute the cross-correlation of those signals in a fast manner. Up to now I do the following: cross_cor=zeros(Int,120*60) for t0 in sig1 for t in sig2 if

[julia-users] Finding all the arguments of a function

2016-01-29 Thread 'Antoine Messager' via julia-users
Hi all, I forgot for the n-th time how to prevent a sampling from having two times the same value. While I wrote the previous sentence I remembered, but it is not my issue. I was wondering whether there is an option that would give all the arguments that can be used in a already implemented

[julia-users] Density plot using colour scale

2016-01-04 Thread 'Antoine Messager' via julia-users
Hi all, I can not find any function that plots the density of a real 2 column vector. I have a vector [X,Y] and I would like to see what areas are the densest using a colour scale. Would you know if there is any package that could do that? Thank you very much, Antoine

[julia-users] Density plot using colour scale

2016-01-04 Thread 'Antoine Messager' via julia-users
Hi all, I have a 2D vector [x,y] and I would like to plot the density on a 2D map using a colour scale. Would you know if there is anything else already implemented than Unicode ? Thank you very much, Antoine

[julia-users] Error plotting graph - plot function returns nothing

2015-11-10 Thread 'Antoine Messager' via julia-users
Dear all, I am currently trying to plot graphs. I installed both GraphViz and Graph packages. I then try to follow the example given in the documentation (and written below). I first had to deal with the issue listed here #172 . Thus I changed

[julia-users] Re: Code starting to be slow after 30 min of execution

2015-05-01 Thread 'Antoine Messager' via julia-users
I am sorry for insisting, but it seems that even with anonymous function, the time necessary to create an anonymous function or a normal function (without the @gensym) is linearly increasing with the quantity of function created. I have tried the following: *for i in 1:1000* *

Re: [julia-users] Code starting to be slow after 30 min of execution

2015-04-28 Thread 'Antoine Messager' via julia-users
The previous picture was only an example, I should by the end solve non linear system of dimension 500. I expect NLsolve to work with one dimension too. I have not figure out how to use anonymous function within NLsolve. I don't understand of what README Tim Holy you are talking about. I went

[julia-users] Re: Code starting to be slow after 30 min of execution

2015-04-28 Thread 'Antoine Messager' via julia-users
Both ideas you have given are working. Wonderful! I just need to figure out which one is the fastest, the @gensym out of the creation of the function probably. Thank you very much! Antoine. Le lundi 27 avril 2015 15:49:56 UTC+1, Antoine Messager a écrit : Dear all, I need to create a lot

Re: [julia-users] Code starting to be slow after 30 min of execution

2015-04-28 Thread 'Antoine Messager' via julia-users
Would it be possible to use a pointer to allocate space for the creation of my function every time at the same location? Le mardi 28 avril 2015 13:45:11 UTC+1, Antoine Messager a écrit : The previous picture was only an example, I should by the end solve non linear system of dimension 500. I

Re: [julia-users] Code starting to be slow after 30 min of execution

2015-04-28 Thread 'Antoine Messager' via julia-users
:20 AM 'Antoine Messager' via julia-users wrote: And then (approximatively): * myfunction = eval(code_f)* Le lundi 27 avril 2015 18:21:09 UTC+1, Antoine Messager a écrit : I use meta programming to create my function. This is a simpler example. The parameters

Re: [julia-users] Code starting to be slow after 30 min of execution

2015-04-28 Thread 'Antoine Messager' via julia-users
high that any function, once compiled, hangs around forever. The solution is to avoid creating so many compiled functions. Can you use anonymous functions? --Tim On Monday, April 27, 2015 10:22:20 AM 'Antoine Messager' via julia-users wrote: And then (approximatively

[julia-users] Code starting to be slow after 30 min of execution

2015-04-27 Thread 'Antoine Messager' via julia-users
Dear all, I need to create a lot of systems of equation, find some characteristics of each system and store the system if of interest. Each system is created under the same name. It works fine for the first 1000 systems but after the program starts to be too slow. I have tried to use the

Re: [julia-users] Code starting to be slow after 30 min of execution

2015-04-27 Thread 'Antoine Messager' via julia-users
Messager' via julia-users julia...@googlegroups.com wrote: Dear all, I need to create a lot of systems of equation, find some characteristics of each system and store the system if of interest. Each system is created under the same name. It works fine for the first 1000 systems

Re: [julia-users] Code starting to be slow after 30 min of execution

2015-04-27 Thread 'Antoine Messager' via julia-users
try and make a small self-contained runable example and post it otherwise it will be hard to divine an answer. On Mon, 2015-04-27 at 16:49, 'Antoine Messager' via julia-users julia...@googlegroups.com wrote: Dear all, I need to create a lot of systems of equation, find some

[julia-users] Method fieldnames not defined

2015-04-13 Thread 'Antoine Messager' via julia-users
Hi, I would like to find the field of SolverResults{Float64}. So according to the manual http://julia.readthedocs.org/en/latest/manual/types/, I just need to use the method fieldnames but unfortunately it is not defined. What can I do? Thank you, Antoine

[julia-users] GSL and solver type

2015-04-09 Thread 'Antoine Messager' via julia-users
Hello, I am quite new to Julia and I would like to use the GSL package https://github.com/jiahao/GSL.jl in order to find the roots of a multidimensional system of equations. According to the reference manual

[julia-users] Setting vectors within GSL package

2015-04-01 Thread 'Antoine Messager' via julia-users
Hello, I would like to find the roots of a multidimensional system using GSL. I have loaded the GSL package through Pkg.build(GSL). And it seemed to work fine. I need to create gsl_vector. The issue is there are no methods for setting such vectors. I cannot run the example program