Diag-int: Turns an expression into a DiagVec object

DiagR Documentation

Turns an expression into a DiagVec object

Description

Turns an expression into a DiagVec object

Usage

Diag(expr)

Arguments

expr

An Expression that represents a vector or square matrix.

Value

An Expression representing the diagonal vector/matrix.


cvxgrp/CVXR documentation built on Nov. 8, 2024, 5:47 p.m.