FflasFfpack
Functions
test-sparse.C File Reference
#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 >
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)
 

Function Documentation

◆ from_string()

T from_string ( std::string const &  s)

◆ testEq()

void testEq ( PtrT  y1,
PtrT  y2,
uint64_t  n 
)

◆ test_spmv()

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 
)

◆ test_spmv_sell()

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 
)

◆ test_spmm()

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 
)

◆ main()

int main ( int  argc,
char **  argv 
)