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>
53 for (
unsigned int row=0;
row<A.size() ;
row++)
55 for (
unsigned int row=0;
row<A.size() ;
row++){
58 double x = init_function(row,
col);
BTL_DONT_INLINE void init_matrix_symm(Matrix &A, int size)
BTL_DONT_INLINE void init_row(Vector &X, int size, int row)
BTL_DONT_INLINE void init_matrix(Vector &A, int size)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix
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
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector