Template Function proxsuite::proxqp::sparse::have_same_structure

Function Documentation

template<typename T, typename I>
auto proxsuite::proxqp::sparse::have_same_structure(proxsuite::linalg::sparse::MatRef<T, I> a, proxsuite::linalg::sparse::MatRef<T, I> b) -> bool

Checks whether matrix b has the same sparsity structure as matrix a.

Parameters:
  • a – matrix.

  • b – matrix.