#include <iostream>
#include <cmath>
#include <vector>
#include <map>
#include "viennacl/scalar.hpp"
#include "viennacl/vector.hpp"
#include "viennacl/matrix.hpp"
#include "viennacl/linalg/direct_solve.hpp"
#include "viennacl/compressed_matrix.hpp"
#include "viennacl/coordinate_matrix.hpp"
#include "viennacl/ell_matrix.hpp"
#include "viennacl/hyb_matrix.hpp"
#include "viennacl/linalg/prod.hpp"
#include "viennacl/linalg/norm_2.hpp"
#include "viennacl/io/matrix_market.hpp"
#include "viennacl/tools/random.hpp"
Go to the source code of this file.
Functions | |
template<typename NumericT > | |
int | check_matrices (std::vector< std::vector< NumericT > > const &ref_mat, std::vector< std::vector< NumericT > > const &mat, NumericT eps) |
template<typename IndexT , typename NumericT > | |
void | compute_reference_result (std::vector< std::map< IndexT, NumericT > > const &A, std::vector< std::vector< NumericT > > const &B, std::vector< std::vector< NumericT > > &C) |
template<typename NumericT , typename ResultLayoutT , typename FactorLayoutT > | |
int | test (NumericT epsilon) |
int | main () |
Tests sparse-matrix-dense-matrix products.
Definition in file spmdm.cpp.