Not sure if it's the canonical method, but Julia has a wrapper for the
`stat` system call (http://en.wikipedia.org/wiki/Stat_(system_call)), so
you can just do
```
stat(filename).size
```
to get the file size in bytes.
See https://gist.github.com/ajtulloch/10434524 for an example.
On Fri, Apr
I think that sqrtm would often be the more reasonable advise. My guess is
that the Cholesky factor is very often used like a matrix square root.
2014-04-08 18:22 GMT+02:00 Stefan Karpinski ste...@karpinski.org:
Is it possible to default to unpivoted and if that fails detect that a
pivoted
Isn't sqrtm more computationally expensive?
On Friday, 11 April 2014 09:03:38 UTC+2, Andreas Noack Jensen wrote:
I think that sqrtm would often be the more reasonable advise. My guess is
that the Cholesky factor is very often used like a matrix square root.
I've been trying to get IJulia to work on Ubuntu 12.04 with Julia Version
0.3.0-prerelease+2057. I installed ipython 2.0.0 using easy_install:
easy_install ipython[all]
and this allows me to run an ipython notebook from the terminal with:
ipython notebook
This all works fine. I then
Actually much more expensive, but I think that it could easily get
confusing to use the permuted Cholesky factor. We should probably have a
look at sqrtm and see if it could be made more efficient. It allocates a
lot of memory and I am not sure that it is necessary.
2014-04-11 11:28 GMT+02:00
Lisp has certainly had a strong influence on Julia. First class functions,
homoiconicity, running code at compile time and compiling code at runtime,
the interactive REPL, dynamic typing and GC, everything you could really
want from a Lisp is there.
But, syntax does make a difference, I think.
I'm trying to do movies of an evolving solution to a PDE. Let's say that
the solution at time steps is stored as columns of an array.Is this
possible? Preferably in IJulia, but if that's not possible export from
Julia.
I will be giving a talk in London to introduce how Julia facilitates
the writing of numerical algorithms.
University College London
Roberts Building, Room 106
Monday, 14 April at 14:50
http://www.maths.manchester.ac.uk/news-and-events/events/anahpc13/
I will be in London this weekend also, and
Hi,
create pictures for each frame [1:N] ... (lets say pic_n.png)
then
mencoder mf://*.png -mf w=200:h=150:fps=25:type=png -ovc copy -oac copy -o
out.avi
now you should have a out.avi
Best
Arnim
On Friday, April 11, 2014 1:20:18 PM UTC+2, Sheehan Olver wrote:
I'm trying to do movies
Was hoping for something one line on Julia
Sent from my iPhone
On Apr 11, 2014, at 10:18 PM, Arnim Bleier arnim.ble...@gmail.com wrote:
Hi,
create pictures for each frame [1:N] ... (lets say pic_n.png)
then
mencoder mf://*.png -mf w=200:h=150:fps=25:type=png -ovc copy -oac copy -o
Hi,
I am trying to figure out what kind of options do I have for utilizing the
GPU for high performance computing in Julia.
I have seen some old
threadshttps://groups.google.com/forum/#!msg/julia-dev/YeF2mu2Ii-k/zcr78Ml_6IIJdiscussing
an nvptx backend and the CUDA.jl package. I would like to
Dear David,
It probably would be easier to pass a function that, given the current
states and the parameters, returned a Float64 vector of rates. The main
issue that I have is that eval can't see all the variables defined in the
function scope, so my code runs fine if run globally, but not as
This error usually means that python can't find the julia executable. Try
running Pkg.build(IJulia) and see if there are any errors. If there are
no errors, then look in ~/.config/ipython/profile_julia/ipython_config.py.
The last line should be c.KernelManager.kernel_cmd = Does the Julia
Last week I had a similar error, but I cannot remember the exact phrasing.
The reason was the the REPL, but Pkg.checkout(IJulia) fixed it.
2014-04-11 15:13 GMT+02:00 Isaiah Norton isaiah.nor...@gmail.com:
This error usually means that python can't find the julia executable. Try
running
This looks to have solved the problem nicely! When I looked at the last
line of ~/.ipython/profile_julia/ipython_config.py it was:
c.KernelManager.kernel_cmd = [/home/thomas/julia/usr/bin/julia, -F,
/home/thomas/.julia/IJulia/src/kernel.jl, {connection_file}]
However there was no julia
We contemplated giving Julia macros function call syntax, but decided not
to. These were a few of the reasons:
1. The @foo syntax serves as a warning to the reader that something
unusual is about to happen. Macro invocation isn't at all like a function
call and doesn't look like it – it
HI John,
Done, should be available, thanks to Jiahao!
Rob J. Goedman
goed...@icloud.com
On Apr 8, 2014, at 8:03 AM, John Myles White johnmyleswh...@gmail.com wrote:
Hi Rob,
Please do submit your package to METADATA now that it has a well-defined
license. It seems like a really useful
Could you check to see if this is corrected automatically by running
Pkg.build(IJulia)? If not, we should figure out why.
On Fri, Apr 11, 2014 at 9:57 AM, Thomas Moore tommo...@live.com.au wrote:
This looks to have solved the problem nicely! When I looked at the last
line of
filesize(filename) just does that for you. Unless you're planning on asking
a lot of questions about the same file, there's not really any point in
doing the stat and then getting its properties.
On Thu, Apr 10, 2014 at 8:41 PM, Andrew Tulloch and...@tullo.ch wrote:
Not sure if it's the
Hello,
I need to compute aggregate statistics---say, the mean over columns, but
later these will become more computationally intensive---for a large
collection of matrices. These matrices vary in the number of rows, but
have the same number of columns.
I am looking for a general scheme
it's included at http://julialang.org/gsoc/2014/
On Friday, 11 April 2014 05:09:11 UTC-3, gexarcha wrote:
Hi,
I am trying to figure out what kind of options do I have for utilizing the
GPU for high performance computing in Julia.
I have seen some old
Hi Gexarcha,
I'm the author of the OpenCL package for Julia. Although things have
stalled lately do to other commitments, I think we are slowly building a
pretty good story at least on the OpenCL side. I know that the library has
already been used sucesfully in a handful of reasearch
my mistake... Can an administrator edit my post, and remove the reference
to the GNU Radio, and the C code snippet? It is just a straightforward
(pretty stupid) implementation of the standard, and carries no useful
information. I only used it to verify the Julia CRC code results, but there
are
I just added a draft implementation along the lines of ODE.jl:
https://github.com/sdwfrost/Gillespie.jl
Hi all,
I understand most of the mental maps between the common object-oriented
systems (Python, JavaScript) to Julia's multiple dispatch system.
But, when a function really does logically belong to its first argument, I
(sometimes) find myself missing the function namespacing inherent to
Assuming avconv or ffmpeg is available on your system, you can open a pipe
to it:
pipe, process = writesto(`avconv -y -f rawvideo -pix_fmt gray -s 100x100
-r 30 -i - -an -c:v libx264 -pix_fmt yuv420p movie.mp4`)
The options are detailed in the docs; -s is the movie size and -r is the
frame
It's rarely used, but | may be what you're looking for:
julia X = zeros(50, 50);
julia X|size
(50,50)
julia X|length
2500
On Friday, April 11, 2014 6:49:16 PM UTC-4, Ben Racine wrote:
Hi all,
I understand most of the mental maps between the common object-oriented
systems (Python,
@Tracy
Tracy, right now, the 'main' section of the conference will be June
26th/27th at the Gleacher
Centerhttp://www.chicagobooth.edu/corp/conference-facilities/gleachernear
the loop (downtown). There will also be a Julia Hack Day open to the
community at the University of Chicago campus in Hyde
Yes, but unfortunately, the piping operator, |, can only be applied to
functions taking a single argument. I really wish it could be applied to
functions of any number of elements.
On 4/11/14, 17:49, Ben Racine wrote:
But, when a function really does logically belong to its first argument,
I (sometimes) find myself missing the function namespacing inherent to
those systems. I find myself wanting to do what one can do in R and
inject a '.' into the function name just for
30 matches
Mail list logo