#include <iostream>
#include <cmath>
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <boost/numeric/ublas/operation.hpp>
#include <boost/numeric/ublas/operation_sparse.hpp>
#include <boost/numeric/ublas/lu.hpp>
#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.
Macros | |
#define | VIENNACL_WITH_UBLAS 1 |
Functions | |
template<typename ScalarType > | |
int | check_matrices (const ublas::matrix< ScalarType > &ref_mat, const ublas::matrix< ScalarType > &mat, ScalarType eps) |
template<typename NumericT , typename ResultLayoutT , typename FactorLayoutT > | |
int | test (NumericT epsilon) |
int | main () |
Tests sparse-matrix-dense-matrix products.
Definition in file spmdm.cpp.
int check_matrices | ( | const ublas::matrix< ScalarType > & | ref_mat, |
const ublas::matrix< ScalarType > & | mat, | ||
ScalarType | eps | ||
) |