Go to the documentation of this file.
20 #ifndef TINY_BLITZ_INTERFACE_HH
21 #define TINY_BLITZ_INTERFACE_HH
23 #include "blitz/array.h"
24 #include "blitz/tiny.h"
25 #include "blitz/tinymat.h"
26 #include "blitz/tinyvec.h"
27 #include <blitz/tinyvec-et.h>
31 BZ_USING_NAMESPACE(blitz)
33 template<
class real,
int SIZE>
47 static inline std::string
name() {
return "tiny_blitz"; }
54 for (
int j=0;
j<A_stl.size() ;
j++)
55 for (
int i=0;
i<A_stl[
j].size() ;
i++)
60 for (
int i=0;
i<B_stl.size() ;
i++)
65 for (
int i=0;
i<B_stl.size() ;
i++)
82 cible(
i,
j) = source(
i,
j);
86 for (
int i=0;
i<
N;
i++){
static void matrix_vector_product(gene_matrix &A, gene_vector &B, gene_vector &X, int N)
TinyVector< real, SIZE > gene_vector
GaussianFactorGraphValuePair Y
static std::string name()
static void matrix_to_stl(gene_matrix &A, stl_matrix &A_stl)
static void free_matrix(gene_matrix &A, int N)
static void axpy(const real coef, const gene_vector &X, gene_vector &Y, int N)
static void free_vector(gene_vector &B)
std::vector< real > stl_vector
static void copy_matrix(const gene_matrix &source, gene_matrix &cible, int N)
TinyMatrix< real, SIZE, SIZE > gene_matrix
std::vector< stl_vector > stl_matrix
static void vector_to_stl(gene_vector &B, stl_vector &B_stl)
void product(const MatrixType &m)
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 matrix_matrix_product(const gene_matrix &A, const gene_matrix &B, gene_matrix &X, int N)
static void copy_vector(const gene_vector &source, gene_vector &cible, int N)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:14