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.


anqif/CVXR documentation built on Feb. 6, 2024, 4:28 a.m.