Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tri_to_full

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

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.