ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
spmdm.cpp File Reference
#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 ()
 

Detailed Description

Tests sparse-matrix-dense-matrix products.

Test:
Tests sparse-matrix-dense-matrix products.

Definition in file spmdm.cpp.

Macro Definition Documentation

#define VIENNACL_WITH_UBLAS   1

Definition at line 43 of file spmdm.cpp.

Function Documentation

template<typename ScalarType >
int check_matrices ( const ublas::matrix< ScalarType > &  ref_mat,
const ublas::matrix< ScalarType > &  mat,
ScalarType  eps 
)

Definition at line 69 of file spmdm.cpp.

int main ( )

Definition at line 234 of file spmdm.cpp.

template<typename NumericT , typename ResultLayoutT , typename FactorLayoutT >
int test ( NumericT  epsilon)

Definition at line 92 of file spmdm.cpp.