![]() |
QMCPACK
|
Inheritance diagram for RecordArray< T >:
Collaboration diagram for RecordArray< T >:Public Types | |
| using | Base = Matrix< T > |
Public Types inherited from Matrix< T > | |
| using | Type_t = T |
| using | value_type = T |
| using | pointer = T * |
| using | const_pointer = const T * |
| using | Container_t = Vector< T, std::allocator< T > > |
| using | size_type = typename Container_t::size_type |
| using | iterator = typename Container_t::iterator |
| using | This_t = Matrix< T, std::allocator< T > > |
Public Member Functions | |
| RecordArray () | |
| RecordArray (size_t nentries, size_t nparams) | |
| Constructor specifying the number of parameters and entries. More... | |
| void | resize (size_t nentries, size_t nparams) |
| Change the size. More... | |
| int | getNumOfEntries () const |
| int | getNumOfParams () const |
Public Member Functions inherited from Matrix< T > | |
| Matrix () | |
| Matrix (size_type n) | |
| Matrix (size_type n, size_type m) | |
| Matrix (T *ref, size_type n, size_type m) | |
| constructor with an initialized ref More... | |
| Matrix (const CONTAINER &other, T *ref, size_type n, size_type m) | |
| This allows construction of a Matrix on another containers owned memory that is using a dualspace allocator. More... | |
| Matrix (const This_t &rhs) | |
| ~Matrix () | |
| size_type | size () const |
| size_type | size (int i) const |
| size_type | rows () const |
| size_type | cols () const |
| size_type | size1 () const |
| size_type | size2 () const |
| size_type | extent (int i) const |
| Container_t::iterator | begin () |
| Container_t::const_iterator | begin () const |
| Container_t::iterator | begin (int i) |
| Container_t::const_iterator | begin (int i) const |
| Container_t::iterator | end () |
| Container_t::const_iterator | end () const |
| void | resize (size_type n, size_type m) |
| Resize the container. More... | |
| void | free () |
| void | attachReference (T *ref) |
| void | attachReference (T *ref, size_type n, size_type m) |
| void | attachReference (const CONTAINER &other, T *ref, size_type n, size_type m) |
| Attach to pre-allocated memory and propagate the allocator of the owning container. More... | |
| void | add (size_type n) |
| void | add (const T1 *sub, size_type d1, size_type d2, size_type i0, size_type j0) |
| void | add (const T1 *sub, size_type d1, size_type d2, size_type i0, size_type j0, const T &phi) |
| void | add (const SubMat_t &sub, unsigned int i0, unsigned int j0) |
| void | add (const This_t &sub, unsigned int i0, unsigned int j0) |
| void | copy (const This_t &rhs) |
| void | assignUpperLeft (const Matrix< T_FROM, ALLOC_FROM > &from) |
| This assigns from a matrix with larger row size (used for alignment) to whatever the rowsize is here. More... | |
| This_t & | operator= (const This_t &rhs) |
| This_t & | operator= (const RHS &rhs) |
| pointer | data () |
| const_pointer | data () const |
| const Type_t * | data (size_type i) const |
| Type_t * | data (size_type i) |
| returns a pointer of i-th row, g++ iterator problem More... | |
| pointer | device_data () |
| const_pointer | device_data () const |
| pointer | first_address () |
| const_pointer | first_address () const |
| pointer | last_address () |
| const Type_t * | last_address () const |
| const Type_t * | operator[] (size_type i) const |
| Type_t * | operator[] (size_type i) |
| returns a pointer of i-th row, g++ iterator problem More... | |
| Type_t & | operator() (size_type i) |
| Type_t | operator() (size_type i) const |
| Type_t & | operator() (size_type i, size_type j) |
| const Type_t & | operator() (size_type i, size_type j) const |
| void | swap_rows (int r1, int r2) |
| void | swap_cols (int c1, int c2) |
| void | replaceRow (IT first, size_type i) |
| void | replaceColumn (IT first, size_type j) |
| void | add2Column (IT first, size_type j) |
| Msg & | putMessage (Msg &m) |
| Msg & | getMessage (Msg &m) |
| void | updateTo (size_type size=0, std::ptrdiff_t offset=0) |
| void | updateFrom (size_type size=0, std::ptrdiff_t offset=0) |
Additional Inherited Members | |
Protected Attributes inherited from Matrix< T > | |
| size_type | D1 |
| size_type | D2 |
| size_type | TotSize |
| Container_t | X |
Definition at line 25 of file RecordArray.hpp.
Definition at line 28 of file RecordArray.hpp.
|
inline |
Definition at line 30 of file RecordArray.hpp.
|
inline |
Constructor specifying the number of parameters and entries.
Definition at line 33 of file RecordArray.hpp.
|
inline |
Definition at line 41 of file RecordArray.hpp.
References Matrix< T >::rows().
Referenced by DescentEngineHandle::takeSample(), and qmcplusplus::TEST_CASE().
|
inline |
Definition at line 42 of file RecordArray.hpp.
References Matrix< T >::cols().
Referenced by TrialWaveFunction::mw_evaluateParameterDerivatives(), OperatorBase::mw_evaluateWithParameterDerivatives(), and qmcplusplus::TEST_CASE().
|
inline |
Change the size.
Definition at line 36 of file RecordArray.hpp.
References Matrix< T >::resize().
Referenced by qmcplusplus::TEST_CASE().