27template<
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));
42template<
double init_function(
int,
int),
class Vector>
45 for (
unsigned int row=0;
row<
A.size() ;
row++){
50template<
double init_function(
int,
int),
class Matrix>
55 for (
unsigned int row=0;
row<
A.size() ;
row++){
58 double x = init_function(
row,
col);
Scalar Scalar int size
Definition benchVecAdd.cpp:17
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition bench_gemm.cpp:48
#define BTL_DONT_INLINE
Definition btl.hh:38
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
Definition gnuplot_common_settings.hh:12
#define X
Definition icosphere.cpp:20
BTL_DONT_INLINE void init_row(Vector &X, int size, int row)
Definition init_matrix.hh:28
BTL_DONT_INLINE void init_matrix(Vector &A, int size)
Definition init_matrix.hh:43
BTL_DONT_INLINE void init_matrix_symm(Matrix &A, int size)
Definition init_matrix.hh:51
std::ptrdiff_t j
Definition tut_arithmetic_redux_minmax.cpp:2