Learn R Programming

CVXR (version 1.0)

t.Expression: Matrix Transpose

Description

The transpose of a matrix.

Usage

# S3 method for Expression
t(x)

# S4 method for Expression t(x)

Arguments

x

An '>Expression representing a matrix.

Value

An '>Expression representing the transposed matrix.

Examples

Run this code
# NOT RUN {
x <- Variable(3, 4)
t(x)
# }

Run the code above in your browser using DataLab