17 #include "NamespaceHeader.H" 36 const int&numberOfCols);
57 const int& numberOfCols);
66 const int& numberOfcols);
71 const int& a_numCols);
76 const int& a_numRowsA,
77 const int& a_numColsA,
78 const int& a_numColsB);
82 const int& a_numArows,
99 void output(
const int& rows,
105 #include "NamespaceFooter.H" void AtimesX(Real **A, const Vector< Real > &x, const int &numRowsA, Vector< Real > &Ax)
void addRows(Vector< Real > &rhs, const int &rowi, const Real &alpha, const int &rowj)
int findPivot(Real **A, const int &currCol, const int &currRow, const int &numRows, int &pivot)
void matMul(Real **a_A, Real **a_B, Real **a_C, const int &a_numRowsA, const int &a_numColsA, const int &a_numColsB)
void timesBeta(Vector< Real > &rhs, const int &currRow, const Real &Beta)
int gaussElim(Real **A, Vector< Real > &rhs)
gaussian elimination with partial pivoting
void const char const int const int const int const Real const Real * A
Definition: Lapack.H:83
void allocArray(const int &rows, const int &cols, Real **&A)
void backSolve(Real **a_A, const Vector< Real > &a_rhs, const int &a_numArows, Vector< Real > &a_x)
Definition: LSquares.H:22
const char * name(const FArrayBox &a_dummySpecializationArg)
Definition: CH_HDF5.H:907
void freeArray(const int &rows, const int &cols, Real **&A)
double Real
Definition: REAL.H:33
void swapRows(Real **A, const int &rowi, const int &rowj, const int &numberOfCols)
void transpose(Real **a_A, Real **a_Atrans, const int &a_numRows, const int &a_numCols)
void LeastSquares(Real **A, Vector< Real > &x, const Vector< Real > &rhs)
void output(const int &rows, const int &cols, Real **&A, char *name)
outputs a matrix A