1 #ifndef VIENNACL_TRAITS_FILL_HPP_ 
    2 #define VIENNACL_TRAITS_FILL_HPP_ 
   31 #ifdef VIENNACL_WITH_EIGEN 
   33 #include <Eigen/Sparse> 
   45 template<
typename MatrixType, 
typename NumericT>
 
   48   matrix(row_index, col_index) = value;
 
   51 #ifdef VIENNACL_WITH_EIGEN 
   53 template<
typename T, 
int options, 
typename NumericT>
 
   54 inline void fill(Eigen::SparseMatrix<T, options> & m,
 
   60   m.insert(row_index, col_index) = value;
 
void fill(MatrixType &matrix, vcl_size_t row_index, vcl_size_t col_index, NumericT value)
Generic filler routine for setting an entry of a matrix to a particular value. 
This file provides the forward declarations for the main types used within ViennaCL. 
A collection of compile time type deductions.