|
FflasFfpack
|
#include "fflas-ffpack/fflas/fflas.h"#include "fflas-ffpack/fflas/fflas_sparse.h"#include "fflas-ffpack/utils/args-parser.h"#include "givaro/modular-double.h"#include "givaro/zring.h"#include <vector>#include <iostream>#include <fstream>#include <algorithm>#include <string>#include <iterator>#include <cstdlib>#include <cstdio>#include <sstream>Functions | |
| template<typename T > | |
| T | from_string (std::string const &s) |
| template<class PtrT > | |
| void | testEq (PtrT y1, PtrT y2, uint64_t n) |
| template<class MatT , class Field , class IndexT > | |
| void | test_spmv (const Field &F, IndexT *row, IndexT *col, typename Field::Element_ptr dat, index_t rowdim, index_t coldim, uint64_t nnz, typename Field::Element_ptr x, typename Field::Element_ptr y, typename Field::Element beta) |
| template<class Field , class IndexT > | |
| void | test_spmv_sell (const Field &F, IndexT *row, IndexT *col, typename Field::Element_ptr dat, index_t rowdim, index_t coldim, uint64_t nnz, Sparse< Field, SparseMatrix_t::SELL > &matrix, typename Field::Element_ptr x, typename Field::Element_ptr y, typename Field::Element beta) |
| template<class MatT , class Field , class IndexT > | |
| void | test_spmm (const Field &F, IndexT *row, IndexT *col, typename Field::Element_ptr dat, index_t rowdim, index_t coldim, uint64_t nnz, int blockSize, typename Field::Element_ptr x, int ldx, typename Field::Element_ptr y, int ldy, typename Field::Element beta) |
| int | main (int argc, char **argv) |
| T from_string | ( | std::string const & | s | ) |
| void testEq | ( | PtrT | y1, |
| PtrT | y2, | ||
| uint64_t | n | ||
| ) |
| void test_spmv | ( | const Field & | F, |
| IndexT * | row, | ||
| IndexT * | col, | ||
| typename Field::Element_ptr | dat, | ||
| index_t | rowdim, | ||
| index_t | coldim, | ||
| uint64_t | nnz, | ||
| typename Field::Element_ptr | x, | ||
| typename Field::Element_ptr | y, | ||
| typename Field::Element | beta | ||
| ) |
| void test_spmv_sell | ( | const Field & | F, |
| IndexT * | row, | ||
| IndexT * | col, | ||
| typename Field::Element_ptr | dat, | ||
| index_t | rowdim, | ||
| index_t | coldim, | ||
| uint64_t | nnz, | ||
| Sparse< Field, SparseMatrix_t::SELL > & | matrix, | ||
| typename Field::Element_ptr | x, | ||
| typename Field::Element_ptr | y, | ||
| typename Field::Element | beta | ||
| ) |
| void test_spmm | ( | const Field & | F, |
| IndexT * | row, | ||
| IndexT * | col, | ||
| typename Field::Element_ptr | dat, | ||
| index_t | rowdim, | ||
| index_t | coldim, | ||
| uint64_t | nnz, | ||
| int | blockSize, | ||
| typename Field::Element_ptr | x, | ||
| int | ldx, | ||
| typename Field::Element_ptr | y, | ||
| int | ldy, | ||
| typename Field::Element | beta | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |