Go to the documentation of this file.
20 #ifndef INIT_MATRIX_HH
21 #define INIT_MATRIX_HH
27 template<
double init_function(
int,
int),
class Vector>
32 for (
unsigned int j=0;
j<
X.size();
j++){
33 X[
j]=
typename Vector::value_type(init_function(
row,
j));
42 template<
double init_function(
int,
int),
class Vector>
45 for (
unsigned int row=0;
row<
A.size() ;
row++){
50 template<
double init_function(
int,
int),
class Matrix>
55 for (
unsigned int row=0;
row<
A.size() ;
row++){
58 double x = init_function(
row,
col);
BTL_DONT_INLINE void init_row(Vector &X, int size, int row)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
BTL_DONT_INLINE void init_matrix(Vector &A, int size)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix
BTL_DONT_INLINE void init_matrix_symm(Matrix &A, int size)
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:42