CppNoddy
0.92
|
A linear system class for vector right-hand sides. More...
#include <DenseLinearSystem.h>
Public Member Functions | |
DenseLinearSystem (DenseMatrix< _Type > *m_pA, DenseVector< _Type > *m_pB, std::string which="native") | |
Constructor for a dense linear system object. More... | |
~DenseLinearSystem () | |
Destructor for a linear system object. More... | |
void | solve () |
Solve the sparse system. More... | |
int | get_det_sign () const |
Get the sign of the determinant of the LHS matrix from the linear system just computed. More... | |
void | set_monitor_det (bool flag) |
Store the sign of the determinant of the LHS matrix every time a solve is requested on a real system. More... | |
Protected Types | |
typedef DenseMatrix< _Type >::row_iter | row_iter |
typedef DenseMatrix< _Type >::row_riter | row_riter |
typedef DenseMatrix< _Type >::row_citer | row_citer |
typedef DenseMatrix< _Type >::elt_iter | elt_iter |
typedef DenseMatrix< _Type >::elt_riter | elt_riter |
typedef DenseMatrix< _Type >::elt_citer | elt_citer |
A linear system class for vector right-hand sides.
The class is constructed for dense typed problems of the form
.
Definition at line 16 of file DenseLinearSystem.h.
|
protected |
Definition at line 26 of file DenseLinearSystem.h.
|
protected |
Definition at line 24 of file DenseLinearSystem.h.
|
protected |
Definition at line 25 of file DenseLinearSystem.h.
|
protected |
Definition at line 22 of file DenseLinearSystem.h.
|
protected |
Definition at line 20 of file DenseLinearSystem.h.
|
protected |
Definition at line 21 of file DenseLinearSystem.h.
CppNoddy::DenseLinearSystem< _Type >::DenseLinearSystem | ( | DenseMatrix< _Type > * | m_pA, |
DenseVector< _Type > * | m_pB, | ||
std::string | which = "native" |
||
) |
Constructor for a dense linear system object.
m_pA | A pointer to the 'A matrix', an nxn double/complex dense matrix |
m_pB | A pointer to the 'B vector' a size n double/complex dense vector |
which | A string that indicates which solver to use |
Definition at line 15 of file DenseLinearSystem.cpp.
|
inline |
int CppNoddy::DenseLinearSystem< _Type >::get_det_sign |
Get the sign of the determinant of the LHS matrix from the linear system just computed.
Definition at line 241 of file DenseLinearSystem.cpp.
Referenced by CppNoddy::Newton< _Type >::arclength_solve(), and CppNoddy::Newton< _Type >::iterate().
void CppNoddy::DenseLinearSystem< _Type >::set_monitor_det | ( | bool | flag | ) |
Store the sign of the determinant of the LHS matrix every time a solve is requested on a real system.
flag | The boolean value to set. |
Definition at line 246 of file DenseLinearSystem.cpp.
Referenced by CppNoddy::Newton< _Type >::arclength_solve(), and CppNoddy::Newton< _Type >::iterate().
void CppNoddy::DenseLinearSystem< _Type >::solve |
Solve the sparse system.
Definition at line 31 of file DenseLinearSystem.cpp.
Referenced by CppNoddy::Newton< _Type >::arclength_solve(), CppNoddy::Newton< _Type >::iterate(), and main().
© 2012
R.E. Hewitt