#include <string>
#include <iostream>
#include <fstream>
#include "viennacl/tools/tools.hpp"
#include "viennacl/meta/result_of.hpp"
#include "viennacl/traits/size.hpp"
Go to the source code of this file.
|  | 
| template<typename MatrixType , typename ScalarType > | 
| void | insert (MatrixType &matrix, long row, long col, ScalarType value) | 
|  | 
| template<typename VectorType > | 
| void | resize_vector (VectorType &vec, unsigned int size) | 
|  | 
| template<typename VectorType > | 
| bool | readVectorFromFile (const std::string &filename, VectorType &vec) | 
|  | 
| template<class MatrixType > | 
| bool | readMatrixFromFile (const std::string &filename, MatrixType &matrix) | 
|  | 
template<typename MatrixType , typename ScalarType > 
      
        
          | void insert | ( | MatrixType & | matrix, | 
        
          |  |  | long | row, | 
        
          |  |  | long | col, | 
        
          |  |  | ScalarType | value | 
        
          |  | ) |  |  | 
      
 
 
template<class MatrixType > 
      
        
          | bool readMatrixFromFile | ( | const std::string & | filename, | 
        
          |  |  | MatrixType & | matrix | 
        
          |  | ) |  |  | 
      
 
 
template<typename VectorType > 
      
        
          | bool readVectorFromFile | ( | const std::string & | filename, | 
        
          |  |  | VectorType & | vec | 
        
          |  | ) |  |  | 
      
 
 
template<typename VectorType > 
      
        
          | void resize_vector | ( | VectorType & | vec, | 
        
          |  |  | unsigned int | size | 
        
          |  | ) |  |  |