[ADMB Users] element_div (or element_prod) within the function

Saang-Yoon shyunuw at gmail.com
Fri Oct 15 14:46:58 PDT 2010


Please ignore this post.  I mistakenly put "element_" instead of
"elem_".  Sorry.

On Oct 15, 4:56 pm, Saang-Yoon <shyu... at gmail.com> wrote:
> Hi.
>
> I wonder about whether "element_prod" or "element_div" can be directly
> used again within the function.  For example,
>
>   C=element_prod(element_div(F,(F+M)), element_prod( (1-exp(-(F+M))),
> N) );
>   Cr=element_prod( (element_div(Fr,(Fr+Mr))), Nr);
>
> where F, M, and N are matrices, and Cr, Fr, Mr, and Nr are vectors.
> I put these above lines under PROCEDURE_SECTION.  Error messages after
> compile and link were related to these above lines.
>
> Thank you.
>
> Saang-Yoon
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users



More information about the Users mailing list