QPALM 1.1.5a1
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
Namespaces | Functions
sparse.cpp File Reference
#include <sparse.hpp>
#include <ladel_global.h>
#include <algorithm>
#include <cassert>
+ 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

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