try ofs<< column_vector( yourVector);<div><br><br><div class="gmail_quote">On Wed, Mar 7, 2012 at 3:38 AM, Naji Nassar <span dir="ltr"><<a href="mailto:nassar.naji@orange.fr">nassar.naji@orange.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div><p class="MsoNormal">Hi all<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">I’m looking for an elegant way in ADMB to print a vector in a column format, just to avoid loop<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:"Courier New""> {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> ofstream ofs("llik1.txt");<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> for (t=1;t<=nobs;t+=1)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> ofs << llik(t) << endl;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> }<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:"Courier New""> }<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">ADMB DLL with MSVC.. I still don’t find a solution.. Any help is highly appreciated<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Naji<u></u><u></u></span></p>
</font></span></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>