Go to the documentation of this file.
18 #ifndef MTL4_INTERFACE_HH
19 #define MTL4_INTERFACE_HH
21 #include <boost/numeric/mtl/mtl.hpp>
22 #include <boost/numeric/mtl/utility/range_generator.hpp>
38 typedef mtl::dense2D<real, mtl::matrix::parameters<mtl::tag::col_major> >
gene_matrix;
41 static inline std::string
name() {
return "mtl4"; }
52 A.change_dim(A_stl[0].
size(), A_stl.size());
54 for (
int j=0;
j<A_stl.size() ;
j++){
55 for (
int i=0;
i<A_stl[
j].size() ;
i++){
62 B.change_dim(B_stl.size());
63 for (
int i=0;
i<B_stl.size() ;
i++){
69 for (
int i=0;
i<B_stl.size() ;
i++){
76 for (
int j=0;
j<
N;
j++){
78 for (
int i=0;
i<
N;
i++){
131 X = lower_trisolve(
L,
B);
static void transposed_matrix_matrix_product(const gene_matrix &A, const gene_matrix &B, gene_matrix &X, int N)
static std::string name()
static void free_matrix(gene_matrix &A, int N)
static void matrix_to_stl(gene_matrix &A, stl_matrix &A_stl)
GaussianFactorGraphValuePair Y
mtl::dense_vector< real > gene_vector
static void copy_matrix(const gene_matrix &source, gene_matrix &cible, int N)
static void axpby(real a, const gene_vector &X, real b, gene_vector &Y, int N)
static void matrix_from_stl(gene_matrix &A, stl_matrix &A_stl)
static void vector_from_stl(gene_vector &B, stl_vector &B_stl)
static void axpy(const real coef, const gene_vector &X, gene_vector &Y, int N)
static void free_vector(gene_vector &B)
static void vector_to_stl(gene_vector &B, stl_vector &B_stl)
static void atv_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
mtl::dense2D< real, mtl::matrix::parameters< mtl::tag::col_major > > gene_matrix
static void trisolve_lower(const gene_matrix &L, const gene_vector &B, gene_vector &X, int N)
static void copy_vector(const gene_vector &source, gene_vector &cible, int N)
static void aat_product(const gene_matrix &A, gene_matrix &X, int N)
std::vector< real > stl_vector
static void matrix_vector_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
static void matrix_matrix_product(const gene_matrix &A, const gene_matrix &B, gene_matrix &X, int N)
std::vector< stl_vector > stl_matrix
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:03:11