Learn R Programming

CVXR (version 0.99-7)

Symmetric: Symmetric Variable

Description

An expression representing a symmetric matrix.

Usage

Symmetric(n, name = NA_character_)

Arguments

n

The number of rows/columns in the matrix.

name

(Optional) A character string representing the name of the variable.

Value

An '>Expression representing the symmetric matrix.

Examples

Run this code
# NOT RUN {
x <- Symmetric(3, name="s3")
# }

Run the code above in your browser using DataLab