[ADMB Users] Printing a vector in a row format

bigA jaguar.smart at gmail.com
Wed Mar 7 12:14:40 PST 2012


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120307/8eb28e03/attachment.html>


More information about the Users mailing list