<div dir="ltr">Was passing on an issue from a friend, and lazily didn't try it myself. Of course now I try it it compiles fine, and he now tells me the second dimension is ragged. Trying myself, I'm finding <div style>
init_int d1</div><div style>init_ivector d2vec(1,d1)</div><div style>init_int d3</div><div style>init_3darray blah(1,d1,1,d2vec,1,d3)</div><div style><br></div><div style>compiles fine, but</div><div style><br></div><div style>
init_int d1</div><div style>init_ivector d2vec(1,d1)</div><div style>init_int d3</div><div style>init_int d4</div><div style>init_4darray blah(1,d1,1,d2vec,1,d3,1,d4)</div><div style><br></div><div style>does not. The first candidate for data_4array:allocate contains int args only, the other candidate has ad_integer args for the first two, and then const index_type& args thereafter. Not sure what an index_type is, but it looks like ragged arrays are not implemented for arrays of dimension higher than 3. It would be very handy but we can workaround without too much ugliness.</div>
<div style><br></div><div style>Number of people desiring this functionality++; (Number of people capable of and intending to implement it in the near future+=0.)</div><div style><br></div><div style>Alex</div><div style>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 14, 2013 at 2:56 AM, dave fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A little example of what you want would help.<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/<u></u>mailman/listinfo/users</a><br>
</blockquote></div><br></div>