[Developers] d4_array

John Sibert sibert at hawaii.edu
Thu Jul 24 10:41:56 PDT 2014


I was looking for a null constructor to use in the DATA_SECTION
   4darray effort_proxy;

and then allocate later
   effort_proxy.allocate(int,int, int,int, ivector&,ivector&, 
ivector&,ivector&)

I do this routinely with d3_arrays:
    3darray effort;

    effort.allocate(0, nfleet, ilbv, iubv, jlbm, jubm);

John Sibert
Emeritus Researcher, SOEST
University of Hawaii at Manoa
Honolulu HI (GMT-10)
808-294-3842 (mobile)

Visit the ADMB project http://admb-project.org/

On 07/23/2014 04:22 PM, dave fournier wrote:
> On 07/23/2014 06:54 PM, John Sibert wrote:
>> How does one declare a d4_array in a tpl file?
>>
> init_4darray
>
> for initial one but maybe that is not what you want?
> _______________________________________________
> Developers mailing list
> Developers at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/developers
>



More information about the Developers mailing list