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

vectorized_lower_tri_to_mat

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

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.