help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Vector with >2^32 elements in 64 bit octave


From: Johan Lans
Subject: Vector with >2^32 elements in 64 bit octave
Date: Wed, 9 Nov 2011 11:02:34 +0100

Hi
 I want to make a calculation with a vector larger than 2^32 elements. To be able to do this I've gotten access to a 64bit computer with a lot of RAM, and installed octave 3.0.1. However, when I do 

octave:27> n = [1:2^31];

I get:

error: invalid range
error: evaluating assignment _expression_ near line 27, column 3

Why is this? I have "Octave was configured for "x86_64-pc-linux-gnu".", and there is no problem doing x=int64(2^40), for example. I'm not sure if I can install a newer version of octave, since I don't have root access.

/Johan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]