MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include <NonSmoothDescent.hpp>
Public Member Functions | |
SymmetricMatrix () | |
~SymmetricMatrix () | |
void | resize (size_t new_size) |
void | fill (double value) |
double & | operator() (size_t r, size_t c) |
double | operator() (size_t r, size_t c) const |
double | condition3x3 () const |
Private Member Functions | |
size_t | index (size_t r, size_t c) const |
Private Attributes | |
double * | storage |
size_t | size |
Definition at line 87 of file NonSmoothDescent.hpp.
Definition at line 97 of file NonSmoothDescent.hpp.
double MBMesquite::NonSmoothDescent::SymmetricMatrix::condition3x3 | ( | ) | const |
Definition at line 1341 of file NonSmoothDescent.cpp.
References operator()().
Referenced by MBMesquite::NonSmoothDescent::search_direction().
{ double values[9] = { operator()( 0, 0 ), operator()( 0, 1 ), operator()( 0, 2 ), operator()( 1, 0 ), operator()( 1, 1 ), operator()( 1, 2 ), operator()( 2, 0 ), operator()( 2, 1 ), operator()( 2, 2 ) }; return MBMesquite::condition3x3( values ); }
void MBMesquite::NonSmoothDescent::SymmetricMatrix::fill | ( | double | value | ) | [inline] |
size_t MBMesquite::NonSmoothDescent::SymmetricMatrix::index | ( | size_t | r, |
size_t | c | ||
) | const [inline, private] |
double& MBMesquite::NonSmoothDescent::SymmetricMatrix::operator() | ( | size_t | r, |
size_t | c | ||
) | [inline] |
Definition at line 115 of file NonSmoothDescent.hpp.
References index(), and storage.
Referenced by condition3x3().
double MBMesquite::NonSmoothDescent::SymmetricMatrix::operator() | ( | size_t | r, |
size_t | c | ||
) | const [inline] |
void MBMesquite::NonSmoothDescent::SymmetricMatrix::resize | ( | size_t | new_size | ) | [inline] |
Definition at line 104 of file NonSmoothDescent.hpp.
Referenced by MBMesquite::NonSmoothDescent::form_grammian(), MBMesquite::NonSmoothDescent::form_reduced_matrix(), and MBMesquite::NonSmoothDescent::init_opt().
size_t MBMesquite::NonSmoothDescent::SymmetricMatrix::size [private] |
Definition at line 90 of file NonSmoothDescent.hpp.
double* MBMesquite::NonSmoothDescent::SymmetricMatrix::storage [private] |
Definition at line 89 of file NonSmoothDescent.hpp.
Referenced by fill(), operator()(), resize(), and ~SymmetricMatrix().