QUDA
1.0.0
|
#include <quda_matrix.h>
Public Member Functions | |
__device__ __host__ constexpr int | size () const |
__device__ __host__ | Matrix () |
__device__ __host__ | Matrix (const Matrix< T, N > &a) |
template<class U > | |
__device__ __host__ | Matrix (const Matrix< U, N > &a) |
__device__ __host__ | Matrix (const T data_[]) |
__device__ __host__ | Matrix (const HMatrix< real, N > &a) |
__device__ __host__ T const & | operator() (int i, int j) const |
__device__ __host__ T & | operator() (int i, int j) |
__device__ __host__ T const & | operator() (int i) const |
__device__ __host__ T & | operator() (int i) |
template<class U > | |
__device__ __host__ void | operator= (const Matrix< U, N > &b) |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_wrapper< real, S > &s) |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_wrapper< real, S > &s) |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_ghost_wrapper< real, S > &s) |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_ghost_wrapper< real, S > &s) |
__device__ __host__ real | L1 () |
Compute the matrix L1 norm - this is the maximum of the absolute column sums. More... | |
__device__ __host__ real | L2 () |
Compute the matrix L2 norm. We actually compute the Frobenius norm which is an upper bound on the L2 norm. More... | |
__device__ __host__ real | Linf () |
Compute the matrix Linfinity norm - this is the maximum of the absolute row sums. More... | |
__device__ __host__ uint64_t | checksum () const |
__device__ __host__ bool | isUnitary (double max_error) const |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_wrapper< typename RealType< T >::type, S > &a) |
Copy constructor for the Matrix class with a gauge_wrapper input. More... | |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_wrapper< typename RealType< T >::type, S > &a) |
Assignment operator for the Matrix class with a gauge_wrapper input. More... | |
template<typename S > | |
__device__ __host__ void | operator= (const gauge_ghost_wrapper< typename RealType< T >::type, S > &a) |
Copy constructor for the Matrix class with a gauge_ghost_wrapper input. More... | |
template<typename S > | |
__device__ __host__ | Matrix (const gauge_ghost_wrapper< typename RealType< T >::type, S > &a) |
Assignment operator for the Matrix class with a gauge_ghost_wrapper input. More... | |
Public Attributes | |
T | data [N *N] |
Private Types | |
typedef RealType< T >::type | real |
Private Member Functions | |
__device__ __host__ int | index (int i, int j) const |
Definition at line 64 of file quda_matrix.h.
|
private |
Definition at line 66 of file quda_matrix.h.
Definition at line 76 of file quda_matrix.h.
References quda::zero().
Referenced by quda::HMatrix< T, N >::print().
|
inline |
Definition at line 81 of file quda_matrix.h.
References quda::Matrix< T, N >::data.
|
inline |
Definition at line 86 of file quda_matrix.h.
References quda::Matrix< T, N >::data.
|
inline |
Definition at line 92 of file quda_matrix.h.
|
inline |
|
inline |
|
inline |
|
inline |
Assignment operator for the Matrix class with a gauge_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 93 of file gauge_field_order.h.
|
inline |
Assignment operator for the Matrix class with a gauge_ghost_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 159 of file gauge_field_order.h.
References quda::gauge_wrapper< Float, T >::gauge.
|
inline |
Return 64-bit XOR checksum computed from the elements of the matrix. Compute the checksum on each 64-bit word that constitutes the Matrix
Definition at line 198 of file quda_matrix.h.
References length.
Referenced by quda::siteChecksum().
|
inlineprivate |
Definition at line 69 of file quda_matrix.h.
|
inline |
Definition at line 209 of file quda_matrix.h.
References quda::conj().
Referenced by quda::isUnitary().
|
inline |
Compute the matrix L1 norm - this is the maximum of the absolute column sums.
Definition at line 143 of file quda_matrix.h.
References quda::abs().
Referenced by quda::computeMomAction().
|
inline |
Compute the matrix L2 norm. We actually compute the Frobenius norm which is an upper bound on the L2 norm.
Definition at line 162 of file quda_matrix.h.
References l2(), quda::norm(), and quda::sqrt().
Referenced by quda::computeMomAction().
|
inline |
Compute the matrix Linfinity norm - this is the maximum of the absolute row sums.
Definition at line 179 of file quda_matrix.h.
References quda::abs().
|
inline |
Definition at line 100 of file quda_matrix.h.
References index().
|
inline |
Definition at line 104 of file quda_matrix.h.
References index().
|
inline |
Definition at line 108 of file quda_matrix.h.
References index().
|
inline |
Definition at line 114 of file quda_matrix.h.
References index().
|
inline |
Copy constructor for the Matrix class with a gauge_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 83 of file gauge_field_order.h.
|
inline |
Definition at line 121 of file quda_matrix.h.
References quda::Matrix< T, N >::data.
|
inline |
|
inline |
|
inline |
Copy constructor for the Matrix class with a gauge_ghost_wrapper input.
[in] | a | Input gauge_wrapper that we use to fill in this matrix instance |
Definition at line 149 of file gauge_field_order.h.
|
inline |
Definition at line 74 of file quda_matrix.h.
Referenced by quda::checkUnitary(), and quda::checkUnitaryPrint().
T quda::Matrix< T, N >::data[N *N] |
Definition at line 72 of file quda_matrix.h.
Referenced by quda::extractor(), quda::injector(), quda::loadLinkVariableFromArray(), quda::loadMatrixFromArray(), quda::loadMomentumFromArray(), quda::Matrix< T, N >::Matrix(), Matrix< N, T >::operator+=(), Matrix< N, T >::operator-=(), quda::Matrix< T, N >::operator=(), quda::writeLinkVariableToArray(), quda::writeMatrixToArray(), and quda::writeMomentumToArray().