QPALM 1.0.0
Proximal Augmented Lagrangian method for Quadratic Programs
Namespaces | Functions
sparse.cpp File Reference
#include <sparse.hpp>
#include <ladel_global.h>
#include <algorithm>
+ Include dependency graph for sparse.cpp:

Go to the source code of this file.

Namespaces

namespace  qpalm
 
namespace  qpalm::alloc
 RAII-based wrappers for the allocation and deallocation functions of the C API.
 

Functions

QPALM_CXX_EXPORT ladel_sparse_matrix qpalm::eigen_to_ladel (sparse_mat_t &mat, ladel_int symmetry=UNSYMMETRIC)
 Convert an Eigen sparse matrix to a LADEL sparse matrix, without creating a copy. More...
 
QPALM_CXX_EXPORT ladel_sparse_matrix_ptr qpalm::eigen_to_ladel_copy (const sparse_mat_t &mat)
 Similar to eigen_to_ladel, but creates a copy of all data, in such a way that the returned matrix is completely decoupled from mat, and such that it can be reallocated and deallocated by the ladel_sparse_free and similar functions. More...