lapack_test.cc File Reference

Tests some LAPACK functions such as template_lapack_???() etc to see that they are working properly and that they deliver the expected accuracy. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits>
#include <vector>
#include "realtype.h"
#include "template_lapack_common.h"

Functions

static ergo_real get_maxabsdiff (int n, const ergo_real *x, const ergo_real *y)
static int test_gesv (ergo_real tolerance, bool verbose)
static int test_potf2_trtri (ergo_real tolerance, bool verbose)
int main (int argc, char *argv[])


Detailed Description

Tests some LAPACK functions such as template_lapack_???() etc to see that they are working properly and that they deliver the expected accuracy.


Function Documentation

static ergo_real get_maxabsdiff ( int  n,
const ergo_real x,
const ergo_real y 
) [static]

int main ( int  argc,
char *  argv[] 
)

static int test_gesv ( ergo_real  tolerance,
bool  verbose 
) [static]

static int test_potf2_trtri ( ergo_real  tolerance,
bool  verbose 
) [static]


Generated on Wed Nov 21 09:32:02 2012 for ergo by  doxygen 1.4.7