ConicSolver.get_spacing_matrix: Returns a sparse matrix that spaces out an expression.

View source: R/conic_solvers.R

ConicSolver.get_spacing_matrixR 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


CVXR documentation built on June 27, 2024, 5:11 p.m.