[ADMB Users] how to assign a matrix column (vector) after extracting it

Saang-Yoon shyunuw at gmail.com
Sun Oct 17 12:37:21 PDT 2010


Hi, Dr. Fournier.
Thank you VERY MUCH for your tips.  GREAT!!!  Best Wishes,
Saang-Yoon

On Oct 17, 10:45 am, dave fournier <da... at otter-rsch.com> wrote:
> However ADMB stores matrices by row so it is a lot more efficient to do
> this by row.
>
>    for (int i=1;i<=r;i++)
>         M(i)=MM(i)(1,c-1);
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list