Macros | Enumerations | Functions
sparse.h File Reference
#include "main.h"
#include <Eigen/Cholesky>
#include <Eigen/LU>
#include <Eigen/Sparse>
#include <unsupported/Eigen/SparseExtra>
Include dependency graph for sparse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
 

Enumerations

enum  { ForceNonZeroDiag = 1, MakeLowerTriangular = 2, MakeUpperTriangular = 4, ForceRealDiag = 8 }
 

Functions

template<typename Scalar , int Options, typename Index >
void initSparse (double density, Matrix< Scalar, 1, Dynamic > &refVec, SparseVector< Scalar, Options, Index > &sparseVec, std::vector< int > *zeroCoords=0, std::vector< int > *nonzeroCoords=0)
 
template<typename Scalar , int Options, typename Index >
void initSparse (double density, Matrix< Scalar, Dynamic, 1 > &refVec, SparseVector< Scalar, Options, Index > &sparseVec, std::vector< int > *zeroCoords=0, std::vector< int > *nonzeroCoords=0)
 
template<typename Scalar , int Opt1, int Opt2, typename Index >
void initSparse (double density, Matrix< Scalar, Dynamic, Dynamic, Opt1 > &refMat, DynamicSparseMatrix< Scalar, Opt2, Index > &sparseMat, int flags=0, std::vector< Matrix< Index, 2, 1 > > *zeroCoords=0, std::vector< Matrix< Index, 2, 1 > > *nonzeroCoords=0)
 
template<typename Scalar , int Opt1, int Opt2, typename StorageIndex >
void initSparse (double density, Matrix< Scalar, Dynamic, Dynamic, Opt1 > &refMat, SparseMatrix< Scalar, Opt2, StorageIndex > &sparseMat, int flags=0, std::vector< Matrix< StorageIndex, 2, 1 > > *zeroCoords=0, std::vector< Matrix< StorageIndex, 2, 1 > > *nonzeroCoords=0)
 

Macro Definition Documentation

◆ EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET

#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET

Definition at line 13 of file sparse.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ForceNonZeroDiag 
MakeLowerTriangular 
MakeUpperTriangular 
ForceRealDiag 

Definition at line 36 of file sparse.h.

Function Documentation

◆ initSparse() [1/4]

template<typename Scalar , int Options, typename Index >
void initSparse ( double  density,
Matrix< Scalar, 1, Dynamic > &  refVec,
SparseVector< Scalar, Options, Index > &  sparseVec,
std::vector< int > *  zeroCoords = 0,
std::vector< int > *  nonzeroCoords = 0 
)

Definition at line 179 of file sparse.h.

◆ initSparse() [2/4]

template<typename Scalar , int Options, typename Index >
void initSparse ( double  density,
Matrix< Scalar, Dynamic, 1 > &  refVec,
SparseVector< Scalar, Options, Index > &  sparseVec,
std::vector< int > *  zeroCoords = 0,
std::vector< int > *  nonzeroCoords = 0 
)

Definition at line 155 of file sparse.h.

◆ initSparse() [3/4]

template<typename Scalar , int Opt1, int Opt2, typename Index >
void initSparse ( double  density,
Matrix< Scalar, Dynamic, Dynamic, Opt1 > &  refMat,
DynamicSparseMatrix< Scalar, Opt2, Index > &  sparseMat,
int  flags = 0,
std::vector< Matrix< Index, 2, 1 > > *  zeroCoords = 0,
std::vector< Matrix< Index, 2, 1 > > *  nonzeroCoords = 0 
)

Definition at line 106 of file sparse.h.

◆ initSparse() [4/4]

template<typename Scalar , int Opt1, int Opt2, typename StorageIndex >
void initSparse ( double  density,
Matrix< Scalar, Dynamic, Dynamic, Opt1 > &  refMat,
SparseMatrix< Scalar, Opt2, StorageIndex > &  sparseMat,
int  flags = 0,
std::vector< Matrix< StorageIndex, 2, 1 > > *  zeroCoords = 0,
std::vector< Matrix< StorageIndex, 2, 1 > > *  nonzeroCoords = 0 
)

Definition at line 51 of file sparse.h.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:34