tri_to_full: Expands lower triangular to full matrix.

View source: R/conic_solvers.R

tri_to_fullR Documentation

Expands lower triangular to full matrix.

Description

Expands lower triangular to full matrix.

Usage

tri_to_full(lower_tri, n)

Arguments

lower_tri

A matrix representing the lower triangular part of the matrix, stacked in column-major order

n

The number of rows (columns) in the full square matrix.

Value

A matrix that is the scaled expansion of the lower triangular matrix.


CVXR documentation built on June 27, 2024, 5:11 p.m.