to_lower_tri: Vector to lower triangular matrix (RTMB compatible)

View source: R/math_functions.R

to_lower_triR Documentation

Vector to lower triangular matrix (RTMB compatible)

Description

Vector to lower triangular matrix (RTMB compatible)

Usage

to_lower_tri(x, M, D)

Arguments

x

A numeric or advector.

M

Number of rows.

D

Number of columns.

Value

An M x D lower triangular matrix.


BayesRTMB documentation built on Nov. 24, 2026, 9:06 a.m.