[ADMB Users] Printing a vector in a row format

Ian Taylor ian.taylor at noaa.gov
Wed Mar 7 14:37:51 PST 2012


http://admb-project.org/documentation/faq#dll

On Wed, Mar 7, 2012 at 12:14 PM, bigA <jaguar.smart at gmail.com> wrote:

> Perhaps I am missing something, but using dlls with admb is still a work
> in progress?
> I don't have my copy of the user manual with me, but my recolection is
> that dlls are not well documented and are not well supported.  I think
> there have been some emails circulated about dlls with R, they are probably
> on this list?
>
>
> On Wed, Mar 7, 2012 at 6:14 AM, Weihai Liu <liuweih at msu.edu> wrote:
>
>> try ofs<< column_vector( yourVector);
>>
>>
>> On Wed, Mar 7, 2012 at 3:38 AM, Naji Nassar <nassar.naji at orange.fr>wrote:
>>
>>> Hi all****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> I’m looking for an elegant way in ADMB to print a vector in a column
>>> format, just to avoid loop****
>>>
>>>   {****
>>>
>>>     ofstream ofs("llik1.txt");****
>>>
>>>      for (t=1;t<=nobs;t+=1)****
>>>
>>>       {****
>>>
>>>         ofs << llik(t) << endl;****
>>>
>>>       }****
>>>
>>>   }****
>>>
>>> ** **
>>>
>>> ADMB DLL with MSVC.. I still don’t find a solution.. Any help is highly
>>> appreciated****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Naji****
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at admb-project.org
>>> http://lists.admb-project.org/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at admb-project.org
>> http://lists.admb-project.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120307/bfe4cc4b/attachment.html>


More information about the Users mailing list