|
Ensign
Low-rank framework for multi-core CPUs and GPUs
|
Class to store the low-rank factors (X, S, V) that are used in the computation. More...
#include <lr.hpp>
Public Member Functions | |
| lr2 (stloc sl=stloc::host) | |
| lr2 (Index r, array< Index, 2 > N, stloc sl=stloc::host) | |
| lr2 (Index r, Index r_max, array< Index, 2 > N, stloc sl=stloc::host) | |
| void | resize (Index r, array< Index, 2 > N) |
| void | update_info (Index r) |
| Index | size_X () const |
| Index | size_V () const |
| Index | rank () const |
| void | set_zero () |
| multi_array< T, 2 > | full (const Ensign::Matrix::blas_ops &blas) const |
| Computes the full matrix (can be very expensive and should not be used in production code) | |
Public Attributes | |
| multi_array< T, 2 > | S |
| multi_array< T, 2 > | X |
| multi_array< T, 2 > | V |
Class to store the low-rank factors (X, S, V) that are used in the computation.
The low-rank factors can reside either on the host (CPU) or the device (GPU) depending on the value of stloc (either stloc::host or stloc::device).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| multi_array<T, 2> Ensign::lr2< T >::S |
| multi_array<T, 2> Ensign::lr2< T >::V |
| multi_array<T, 2> Ensign::lr2< T >::X |