Returns a sparse matrix that spaces out an expression.

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