FflasFfpack
Functions
test-lqup.C File Reference
#include <iostream>
#include <iomanip>
#include "Matio.h"
#include "utils/timer.h"
#include "fflas-ffpack/field/modular-balanced.h"
#include "fflas-ffpack/ffpack/ffpack.h"
#include "test-utils.h"
#include "fflas-ffpack/utils/args-parser.h"

Functions

template<class Field , FFLAS::FFLAS_DIAG diag, FFLAS::FFLAS_TRANSPOSE trans>
bool test_lu (const Field &F, const typename Field::Element *A, size_t r, size_t m, size_t n, size_t lda)
 Tests the LUdivine routine. More...
 
template<class Field , FFLAS::FFLAS_DIAG diag, FFLAS::FFLAS_TRANSPOSE trans>
bool test_lu_append (const Field &F, const typename Field::Element *A, const typename Field::Element *B, size_t m, size_t n, size_t k, size_t lda)
 Tests the LUpdate routine. More...
 
template<class Field , FFLAS::FFLAS_DIAG diag, FFLAS::FFLAS_TRANSPOSE trans>
bool launch_test (const Field &F, size_t r, size_t m, size_t n)
 
template<class Field , FFLAS::FFLAS_DIAG diag, FFLAS::FFLAS_TRANSPOSE trans>
bool launch_test_append (const Field &F, size_t r, size_t m, size_t n)
 
int main (int argc, char **argv)
 

Function Documentation

bool test_lu ( const Field F,
const typename Field::Element A,
size_t  r,
size_t  m,
size_t  n,
size_t  lda 
)

Tests the LUdivine routine.

Template Parameters
FieldField
DiagUnit diagonal in L ?
Trans?
Parameters
Ffield
AMatrix (preallocated)
rrank of A
mrows
ncols
ldaleading dim of A
Returns
0 iff correct, 1 otherwise
bool test_lu_append ( const Field F,
const typename Field::Element A,
const typename Field::Element B,
size_t  m,
size_t  n,
size_t  k,
size_t  lda 
)

Tests the LUpdate routine.

Template Parameters
FieldField
DiagUnit diagonal in L ?
Trans?
Parameters
Ffield
AMatrix (preallocated)
rrank of A
BMatrix (preallocated)
mrows in A
ncols in A (and B)
krows in B
ldaleading dim of A (and B)
Returns
0 iff correct, 1 otherwise
bool launch_test ( const Field F,
size_t  r,
size_t  m,
size_t  n 
)
bool launch_test_append ( const Field F,
size_t  r,
size_t  m,
size_t  n 
)
int main ( int  argc,
char **  argv 
)