triu_to_full: Expands upper triangular to full matrix.

View source: R/clarabel.R

triu_to_fullR Documentation

Expands upper triangular to full matrix.

Description

Expands upper triangular to full matrix.

Usage

triu_to_full(upper_tri, n)

Arguments

upper_tri

A matrix representing the uppertriangular 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 upper triangular matrix.


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