vectorized_lower_tri_to_mat: Turns symmetric 2D array into a lower triangular matrix

View source: R/conic_solvers.R

vectorized_lower_tri_to_matR Documentation

Turns symmetric 2D array into a lower triangular matrix

Description

Turns symmetric 2D array into a lower triangular matrix

Usage

vectorized_lower_tri_to_mat(v, dim)

Arguments

v

A list of length (dim * (dim + 1) / 2).

dim

The number of rows (equivalently, columns) in the output array.

Value

Return the symmetric 2D array defined by taking "v" to specify its lower triangular matrix.


CVXR documentation built on Oct. 31, 2022, 1:07 a.m.