Epetra Package Browser (Single Doxygen Collection) Development
Loading...
Searching...
No Matches
Functions
cxx_main.cpp File Reference
#include "Epetra_Map.h"
#include "Epetra_Time.h"
#include "Epetra_SerialDenseMatrix.h"
#include "Epetra_SerialDenseVector.h"
#include "Epetra_SerialDenseSolver.h"
#include "Epetra_MpiComm.h"
#include <mpi.h>
#include "Epetra_SerialComm.h"
#include "../epetra_test_err.h"
#include "Epetra_Version.h"
Include dependency graph for test/SerialDense_LL/cxx_main.cpp:

Go to the source code of this file.

Functions

int check (Epetra_SerialDenseSolver &solver, double *A1, int LDA, int N1, int NRHS1, double OneNorm1, double *B1, int LDB1, double *X1, int LDX1, bool Transpose, bool verbose)
 
void GenerateHilbert (double *A, int LDA, int N)
 
bool Residual (int N, int NRHS, double *A, int LDA, bool Transpose, double *X, int LDX, double *B, int LDB, double *resid)
 
int matrixCpyCtr (bool verbose, bool debug)
 
int matrixAssignment (bool verbose, bool debug)
 
void printHeading (const char *heading)
 
double * getRandArray (int length)
 
void printMat (const char *name, Epetra_SerialDenseMatrix &matrix)
 
void printArray (double *array, int length)
 
bool identicalSignatures (Epetra_SerialDenseMatrix &a, Epetra_SerialDenseMatrix &b, bool testLDA=true)
 
bool seperateData (Epetra_SerialDenseMatrix &a, Epetra_SerialDenseMatrix &b)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ check()

int check ( Epetra_SerialDenseSolver & solver,
double * A1,
int LDA,
int N1,
int NRHS1,
double OneNorm1,
double * B1,
int LDB1,
double * X1,
int LDX1,
bool Transpose,
bool verbose )

Definition at line 504 of file test/SerialDense_LL/cxx_main.cpp.

◆ GenerateHilbert()

void GenerateHilbert ( double * A,
int LDA,
int N )

Definition at line 642 of file test/SerialDense_LL/cxx_main.cpp.

◆ Residual()

bool Residual ( int N,
int NRHS,
double * A,
int LDA,
bool Transpose,
double * X,
int LDX,
double * B,
int LDB,
double * resid )

Definition at line 649 of file test/SerialDense_LL/cxx_main.cpp.

◆ matrixCpyCtr()

int matrixCpyCtr ( bool verbose,
bool debug )

Definition at line 833 of file test/SerialDense_LL/cxx_main.cpp.

◆ matrixAssignment()

int matrixAssignment ( bool verbose,
bool debug )

Definition at line 669 of file test/SerialDense_LL/cxx_main.cpp.

◆ printHeading()

void printHeading ( const char * heading)

Definition at line 904 of file test/SerialDense_LL/cxx_main.cpp.

◆ getRandArray()

double * getRandArray ( int length)

Definition at line 931 of file test/SerialDense_LL/cxx_main.cpp.

◆ printMat()

void printMat ( const char * name,
Epetra_SerialDenseMatrix & matrix )

Definition at line 912 of file test/SerialDense_LL/cxx_main.cpp.

◆ printArray()

void printArray ( double * array,
int length )

Definition at line 921 of file test/SerialDense_LL/cxx_main.cpp.

◆ identicalSignatures()

bool identicalSignatures ( Epetra_SerialDenseMatrix & a,
Epetra_SerialDenseMatrix & b,
bool testLDA = true )

Definition at line 950 of file test/SerialDense_LL/cxx_main.cpp.

◆ seperateData()

bool seperateData ( Epetra_SerialDenseMatrix & a,
Epetra_SerialDenseMatrix & b )

Definition at line 980 of file test/SerialDense_LL/cxx_main.cpp.

◆ main()

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

Definition at line 79 of file test/SerialDense_LL/cxx_main.cpp.