|
|
Maximum dimension array
I would define an array y(1:800e6) but it doesn't seem possible...
|
|
0
|
|
|
|
Reply
|
Allamarein
|
10/2/2010 9:34:47 PM |
|
Allamarein <matteo.diplomacy@gmail.com> wrote:
> I would define an array y(1:800e6) but it doesn't seem possible...
maybe y(1:int(800e6))
In Fortran 77 REAL values were allowed for subscripts, though
not for dimensions. Even that one went away in Fortran 90 and later.
-- glen
|
|
0
|
|
|
|
Reply
|
glen
|
10/2/2010 9:53:03 PM
|
|
On 10/2/2010 2:34 PM, Allamarein wrote:
> I would define an array y(1:800e6) but it doesn't seem possible...
This depends on the facilities of each implementation. On most 32-bit
OS, and also 64-bit Windows (and linux with typical defaults), all
static data and code must fit within 2GB. Allocatable arrays have larger
limits in most implementations.
--
Tim Prince
|
|
0
|
|
|
|
Reply
|
Tim
|
10/2/2010 10:00:59 PM
|
|
On 3 Ott, 00:00, Tim Prince <tpri...@computer.org> wrote:
> On 10/2/2010 2:34 PM, Allamarein wrote:> I would define an array y(1:800e=
6) but it doesn't seem possible...
>
> This depends on the facilities of each implementation. =A0On most 32-bit
> OS, and also 64-bit Windows (and linux with typical defaults), all
> static data and code must fit within 2GB. Allocatable arrays have larger
> limits in most implementations.
>
> --
> Tim Prince
I refer my self to the number of elements...not the memory usage
|
|
0
|
|
|
|
Reply
|
Allamarein
|
10/2/2010 10:22:53 PM
|
|
"Allamarein" <matteo.diplomacy@gmail.com> wrote in message
news:1d634157-881e-46f3-aca4-d9d807609c7d@i21g2000yqg.googlegroups.com...
>I refer my self to the number of elements...not the memory usage
Memory usage is related to the number of elements.
If the array is of characters, then memory required is
800,000,000 bytes.
If the array of of integers or default reals, memory
required would typically be 4 � 800,000,000 bytes,
i.e., 3,200,000,000 bytes.
|
|
0
|
|
|
|
Reply
|
robin
|
10/3/2010 1:10:33 AM
|
|
|
4 Replies
1157 Views
(page loaded in 0.086 seconds)
Similiar Articles: Maximum dimension array - comp.lang.fortranI would define an array y(1:800e6) but it doesn't seem possible... ... to get indices of an array - comp.soft-sys.matlabMaximum dimension array - comp.lang.fortran to get indices of an array - comp.soft-sys.matlab... to selected dimension - comp.cad ... to get indices of an array - comp ... Finding First 50 max. values in an array - comp.soft-sys.matlab ...Maximum dimension array - comp.lang.fortran Finding First 50 max. values in an array - comp.soft-sys.matlab ... Maximum dimension array - comp.lang.fortran Finding First ... find max in 3D array -- slow - comp.lang.idl-pvwaveMaximum dimension array - comp.lang.fortran Finding First 50 max. values in an array - comp.soft-sys.matlab ... Maximum dimension array - comp ... 186 x 84 So I am having ... namelist input of multidimensional array? - comp.lang.fortran ...I'm curious if anyone has some example code of how to input a 2-D (or, in principle, n-D) array via a namelist file in Fortran 95 (I'm using a reaso... the maximum memory size allowed in malloc - comp.lang.cMaximum dimension array - comp.lang.fortran... 1:int(800e6)) In Fortran 77 REAL values were allowed ... refer my self to the number of elements...not the memory ... Problem with Matmul - comp.lang.fortranWhat are the dimensions for RESULT, array, and array2? Also, why is RESULT independent of irows ... integer :: irows,icols,ii,j do irows=1,5 do icols=1,3 array ... Allocatable versus automatic arrays - comp.lang.fortranIs that some maximum value, or is it just a value that is larger than ... Maximum dimension array - comp.lang.fortran Allocatable versus automatic arrays - comp.lang ... API, get all dimensions aligned to selected dimension - comp.cad ...Maximum dimension array - comp.lang.fortran API, get all dimensions aligned to selected dimension - comp.cad ... to get indices of an array - comp.soft-sys.matlab ... Local Maxima of 2D array - comp.lang.idl-pvwave... move a small 3x3 array across it, each time working out what the maximum value of that array ... to find the MAXima and their indices together with the keyword DIMENSION=3? Download Maximum Or Minimum for N Dimension Array - Maximum Or ...maxNsarvas N-D Array Maximum With Subscript Output X = MAXN(A) returns the maximum value found as the first element followed by the subscripts of A. maximum array dimension (Beginning Java forum at JavaRanch)Does anybody know if there is a limit to the number of dimensions([][][]...) an array can have? I looked in the JLS in chapters 10 and 15 but couldn t 7/22/2012 9:55:34 PM
|
|
|
|
|
|
|
|
|