ConicSolver.get_spacing_matrix function

Returns a sparse matrix that spaces out an expression.

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.

Returns

A sparse matrix that spaces out an expression

  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07