Classes | Functions
sparse_solver.h File Reference
#include "sparse.h"
#include <Eigen/SparseCore>
#include <Eigen/SparseLU>
#include <sstream>
Include dependency graph for sparse_solver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  prune_column
 

Functions

template<typename Solver , typename DenseMat >
void check_sparse_abs_determinant (Solver &solver, const typename Solver::MatrixType &A, const DenseMat &dA)
 
template<typename Solver , typename DenseMat >
void check_sparse_determinant (Solver &solver, const typename Solver::MatrixType &A, const DenseMat &dA)
 
template<typename Solver >
void check_sparse_leastsquare_solving (Solver &solver)
 
template<typename Scalar , typename Rhs , typename DenseMat , typename DenseRhs >
void check_sparse_solving (Eigen::SparseLU< Eigen::SparseMatrix< Scalar > > &solver, const typename Eigen::SparseMatrix< Scalar > &A, const Rhs &b, const DenseMat &dA, const DenseRhs &db)
 
template<typename Solver , typename Rhs , typename DenseMat , typename DenseRhs >
void check_sparse_solving (Solver &solver, const typename Solver::MatrixType &A, const Rhs &b, const DenseMat &dA, const DenseRhs &db)
 
template<typename Solver , typename Rhs >
void check_sparse_solving_real_cases (Solver &solver, const typename Solver::MatrixType &A, const Rhs &b, const typename Solver::MatrixType &fullA, const Rhs &refX)
 
template<typename Solver >
void check_sparse_spd_determinant (Solver &solver)
 
template<typename Solver >
void check_sparse_spd_solving (Solver &solver, int maxSize=(std::min)(300, EIGEN_TEST_MAX_SIZE), int maxRealWorldSize=100000)
 
template<typename Solver >
void check_sparse_square_abs_determinant (Solver &solver)
 
template<typename Solver >
void check_sparse_square_determinant (Solver &solver)
 
template<typename Solver >
void check_sparse_square_solving (Solver &solver, int maxSize=300, int maxRealWorldSize=100000, bool checkDeficient=false)
 
template<typename Solver , typename DenseMat >
void generate_sparse_leastsquare_problem (Solver &, typename Solver::MatrixType &A, DenseMat &dA, int maxSize=300, int options=ForceNonZeroDiag)
 
template<typename Solver , typename DenseMat >
int generate_sparse_spd_problem (Solver &, typename Solver::MatrixType &A, typename Solver::MatrixType &halfA, DenseMat &dA, int maxSize=300)
 
template<typename Solver , typename DenseMat >
Index generate_sparse_square_problem (Solver &, typename Solver::MatrixType &A, DenseMat &dA, int maxSize=300, int options=ForceNonZeroDiag)
 
template<typename Solver , typename Rhs , typename Guess , typename Result >
void solve_with_guess (IterativeSolverBase< Solver > &solver, const MatrixBase< Rhs > &b, const Guess &g, Result &x)
 
template<typename Solver , typename Rhs , typename Guess , typename Result >
void solve_with_guess (SparseSolverBase< Solver > &solver, const MatrixBase< Rhs > &b, const Guess &, Result &x)
 
template<typename Solver , typename Rhs , typename Guess , typename Result >
void solve_with_guess (SparseSolverBase< Solver > &solver, const SparseMatrixBase< Rhs > &b, const Guess &, Result &x)
 

Function Documentation

◆ check_sparse_abs_determinant()

template<typename Solver , typename DenseMat >
void check_sparse_abs_determinant ( Solver &  solver,
const typename Solver::MatrixType A,
const DenseMat &  dA 
)

Definition at line 328 of file sparse_solver.h.

◆ check_sparse_determinant()

template<typename Solver , typename DenseMat >
void check_sparse_determinant ( Solver &  solver,
const typename Solver::MatrixType A,
const DenseMat &  dA 
)

Definition at line 312 of file sparse_solver.h.

◆ check_sparse_leastsquare_solving()

template<typename Solver >
void check_sparse_leastsquare_solving ( Solver &  solver)

Definition at line 666 of file sparse_solver.h.

◆ check_sparse_solving() [1/2]

template<typename Scalar , typename Rhs , typename DenseMat , typename DenseRhs >
void check_sparse_solving ( Eigen::SparseLU< Eigen::SparseMatrix< Scalar > > &  solver,
const typename Eigen::SparseMatrix< Scalar > &  A,
const Rhs &  b,
const DenseMat &  dA,
const DenseRhs &  db 
)

Definition at line 150 of file sparse_solver.h.

◆ check_sparse_solving() [2/2]

template<typename Solver , typename Rhs , typename DenseMat , typename DenseRhs >
void check_sparse_solving ( Solver &  solver,
const typename Solver::MatrixType A,
const Rhs &  b,
const DenseMat &  dA,
const DenseRhs &  db 
)

Definition at line 43 of file sparse_solver.h.

◆ check_sparse_solving_real_cases()

template<typename Solver , typename Rhs >
void check_sparse_solving_real_cases ( Solver &  solver,
const typename Solver::MatrixType A,
const Rhs &  b,
const typename Solver::MatrixType fullA,
const Rhs &  refX 
)

Definition at line 279 of file sparse_solver.h.

◆ check_sparse_spd_determinant()

template<typename Solver >
void check_sparse_spd_determinant ( Solver &  solver)

Definition at line 489 of file sparse_solver.h.

◆ check_sparse_spd_solving()

template<typename Solver >
void check_sparse_spd_solving ( Solver &  solver,
int  maxSize = (std::min)(300,EIGEN_TEST_MAX_SIZE),
int  maxRealWorldSize = 100000 
)

Definition at line 404 of file sparse_solver.h.

◆ check_sparse_square_abs_determinant()

template<typename Solver >
void check_sparse_square_abs_determinant ( Solver &  solver)

Definition at line 634 of file sparse_solver.h.

◆ check_sparse_square_determinant()

template<typename Solver >
void check_sparse_square_determinant ( Solver &  solver)

Definition at line 611 of file sparse_solver.h.

◆ check_sparse_square_solving()

template<typename Solver >
void check_sparse_square_solving ( Solver &  solver,
int  maxSize = 300,
int  maxRealWorldSize = 100000,
bool  checkDeficient = false 
)

Definition at line 534 of file sparse_solver.h.

◆ generate_sparse_leastsquare_problem()

template<typename Solver , typename DenseMat >
void generate_sparse_leastsquare_problem ( Solver &  ,
typename Solver::MatrixType A,
DenseMat &  dA,
int  maxSize = 300,
int  options = ForceNonZeroDiag 
)

Definition at line 651 of file sparse_solver.h.

◆ generate_sparse_spd_problem()

template<typename Solver , typename DenseMat >
int generate_sparse_spd_problem ( Solver &  ,
typename Solver::MatrixType A,
typename Solver::MatrixType halfA,
DenseMat &  dA,
int  maxSize = 300 
)

Definition at line 346 of file sparse_solver.h.

◆ generate_sparse_square_problem()

template<typename Solver , typename DenseMat >
Index generate_sparse_square_problem ( Solver &  ,
typename Solver::MatrixType A,
DenseMat &  dA,
int  maxSize = 300,
int  options = ForceNonZeroDiag 
)

Definition at line 507 of file sparse_solver.h.

◆ solve_with_guess() [1/3]

template<typename Solver , typename Rhs , typename Guess , typename Result >
void solve_with_guess ( IterativeSolverBase< Solver > &  solver,
const MatrixBase< Rhs > &  b,
const Guess &  g,
Result &  x 
)

Definition at line 16 of file sparse_solver.h.

◆ solve_with_guess() [2/3]

template<typename Solver , typename Rhs , typename Guess , typename Result >
void solve_with_guess ( SparseSolverBase< Solver > &  solver,
const MatrixBase< Rhs > &  b,
const Guess &  ,
Result &  x 
)

Definition at line 30 of file sparse_solver.h.

◆ solve_with_guess() [3/3]

template<typename Solver , typename Rhs , typename Guess , typename Result >
void solve_with_guess ( SparseSolverBase< Solver > &  solver,
const SparseMatrixBase< Rhs > &  b,
const Guess &  ,
Result &  x 
)

Definition at line 38 of file sparse_solver.h.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:52