|
template<typename Ntype , typename T , int n, int m, std::enable_if_t< hila::is_arithmetic_or_extended< T >::value, int > = 0> |
Array< n, m, Ntype > | hila::cast_to (const Array< n, m, T > &mat) |
| Array casting operation.
|
|
template<const int n, const int m, typename T > |
Array< n, m, T > | conj (const Array< n, m, T > &arg) |
| Return conjugate Array.
|
|
template<const int n, const int m, typename T > |
Array< n, m, hila::arithmetic_type< T > > | imag (const Array< n, m, T > &arg) |
| Return imaginary part of Array.
|
|
template<int n, int m, typename T > |
std::ostream & | operator<< (std::ostream &strm, const Array< n, m, T > &A) |
| Stream operator.
|
|
template<const int n, const int m, typename T > |
Array< n, m, hila::arithmetic_type< T > > | real (const Array< n, m, T > &arg) |
| Return real part of Array.
|
|
template<int n, int m, typename T > |
hila::arithmetic_type< T > | squarenorm (const Array< n, m, T > &rhs) |
| Return square norm of Array.
|
|
template<int n, int m, typename T > |
std::string | hila::to_string (const Array< n, m, T > &A, int prec=8, char separator=' ') |
| Converts Array object to string.
|
|
Definition of Array class.
This file contains the definitions of Array class and utility functions related to it.
Definition in file array.h.