include
eigenpy
decompositions
sparse
cholmod
CholmodDecomposition.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2024 INRIA
3
*/
4
5
#ifndef __eigenpy_decomposition_sparse_cholmod_cholmod_decomposition_hpp__
6
#define __eigenpy_decomposition_sparse_cholmod_cholmod_decomposition_hpp__
7
8
#include "
eigenpy/eigenpy.hpp
"
9
#include "
eigenpy/decompositions/sparse/cholmod/CholmodBase.hpp
"
10
11
namespace
eigenpy
{
12
13
template
<
typename
CholdmodDerived>
14
struct
CholmodDecompositionVisitor
15
:
public
boost::python::def_visitor<
16
CholmodDecompositionVisitor<CholdmodDerived> > {
17
typedef
CholdmodDerived
Solver
;
18
19
template
<
class
PyClass>
20
void
visit
(PyClass &cl)
const
{
21
cl
22
23
.def(
CholmodBaseVisitor<Solver>
())
24
.def(
"setMode"
, &Solver::setMode, bp::args(
"self"
,
"mode"
),
25
"Set the mode for the Cholesky decomposition."
);
26
}
27
};
28
29
}
// namespace eigenpy
30
31
#endif // ifndef
32
// __eigenpy_decomposition_sparse_cholmod_cholmod_decomposition_hpp__
eigenpy::CholmodDecompositionVisitor
Definition:
CholmodDecomposition.hpp:14
CholmodBase.hpp
eigenpy
Definition:
alignment.hpp:14
eigenpy::CholmodDecompositionVisitor::visit
void visit(PyClass &cl) const
Definition:
CholmodDecomposition.hpp:20
eigenpy.hpp
eigenpy::CholmodDecompositionVisitor::Solver
CholdmodDerived Solver
Definition:
CholmodDecomposition.hpp:17
eigenpy::CholmodBaseVisitor
Definition:
CholmodBase.hpp:17
eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45