R/math_functions.R
to_lower_tri.Rd
Vector to lower triangular matrix (RTMB compatible)
to_lower_tri(x, M, D)
A numeric or advector.
Number of rows.
Number of columns.
An M x D lower triangular matrix.