ConicSolver.get_spacing_matrix {CVXR}R Documentation

Returns a sparse matrix that spaces out an expression.

Description

Returns a sparse matrix that spaces out an expression.

Usage

ConicSolver.get_spacing_matrix(dim, spacing, offset)

Arguments

dim

A vector outlining the dimensions of the matrix.

spacing

An int of the number of rows between the start of each non-zero block.

offset

An int of the number of zeros at the beginning of the matrix.

Value

A sparse matrix that spaces out an expression


[Package CVXR version 1.0-14 Index]