[julia-users] VideoIO failing to import in julia 0.4.6 (Fedora 24)

2016-08-10 Thread Shivkumar Chandrasekaran
On "import VideoIO" here is the relevant piece of the error:
ERROR: LoadError: LoadError: could not open file 
/home/shiv/.julia/v0.4/VideoIO/src/ffmpeg/AVUtil/src/../../../ffmpeg/AVUtil/v55/LIBAVUTIL.jl

The problem is that it is looking for "v55" directory but even github seems 
to have only "v54" directory.

Any idea how this can be fixed?

Thanks.

--shiv--


[julia-users] Maple's conformal plot of a complex function

2015-03-18 Thread Shivkumar Chandrasekaran
Before I re-invent the wheel, is there something similar to Maple's 
plot[conformal] for conformal plotting of a complex function in Julia? 
Here is the relevant Maple help page: 
http://www.maplesoft.com/support/help/Maple/view.aspx?path=plots%2fconformal

If not, what is the best/good starting point to implement it? Gadfly, 
Gaston, Cairo, ...?

Thanks.

--shiv--


Re: [julia-users] Specifying return type of a function

2015-03-12 Thread Shivkumar Chandrasekaran
Just documentation and readability of the functions themselves. For now I 
will just stick the return type in a comment (and hope I don't forget to 
change it if needed).

On Tuesday, March 10, 2015 at 3:20:42 PM UTC-7, Milan Bouchet-Valat wrote:

 Le mardi 10 mars 2015 à 15:12 -0700, Shivkumar Chandrasekaran a écrit : 
  Thanks! I guess I will put the return type in the calling code 
  instead. Nuisance though. 
 But you shouldn't need to. Julia is able to find out what the return 
 type is as long as you write type-stable code. Can you give more details 
 about what you're trying to achieve? 


 Regards 

  On Tuesday, March 10, 2015 at 2:39:37 PM UTC-7, Mauro wrote: 
  Sadly not.  Have a look at 
  https://github.com/JuliaLang/julia/issues/1090 
  and 
  https://github.com/JuliaLang/julia/pull/10269 
  
  The complication in Julia is that with its multimethods, it is 
  not so 
  clear what the return type of a generic function actually 
  means. 
  
  On Tue, 2015-03-10 at 21:24, Shivkumar Chandrasekaran 
  00s...@gmail.com wrote: 
   I am new to Julia, so forgive the elementary question, but I 
  could not seem 
   to find the answer in the docs or by googling the news 
  group. 
   
   Is it possible to specify the return type of a function in 
  Julia? 
   
   Thanks. 
   
   --shiv-- 
  



[julia-users] Specifying return type of a function

2015-03-12 Thread Shivkumar Chandrasekaran
I am new to Julia, so forgive the elementary question, but I could not seem 
to find the answer in the docs or by googling the news group.

Is it possible to specify the return type of a function in Julia?

Thanks.

--shiv--


[julia-users] Indenting by 2 spaces in ESS[Julia]

2015-03-12 Thread Shivkumar Chandrasekaran
I have tried all possible combinations of suggestions from the ESS manual 
to get the ESS[Julia] mode to convert indentation to 2 spaces rather than 4 
with no luck. Has anybody else succeeded, and if so could you please post 
your magic sauce? Thanks. --shiv--


Re: [julia-users] Specifying return type of a function

2015-03-10 Thread Shivkumar Chandrasekaran
Thanks! I guess I will put the return type in the calling code instead. 
Nuisance though.

On Tuesday, March 10, 2015 at 2:39:37 PM UTC-7, Mauro wrote:

 Sadly not.  Have a look at 
 https://github.com/JuliaLang/julia/issues/1090 
 and 
 https://github.com/JuliaLang/julia/pull/10269 

 The complication in Julia is that with its multimethods, it is not so 
 clear what the return type of a generic function actually means. 

 On Tue, 2015-03-10 at 21:24, Shivkumar Chandrasekaran 00s...@gmail.com 
 javascript: wrote: 
  I am new to Julia, so forgive the elementary question, but I could not 
 seem 
  to find the answer in the docs or by googling the news group. 
  
  Is it possible to specify the return type of a function in Julia? 
  
  Thanks. 
  
  --shiv--