HILA
|
#include <u1.h>
Public Types | |
using | base_type = hila::arithmetic_type< T > |
std incantation for field types | |
Public Member Functions | |
U1 ()=default | |
define default constructors to ensure std::is_trivial | |
U1 | operator- () const |
unary - | |
U1 | operator+ () const |
unary + | |
template<typename S , std::enable_if_t< std::is_convertible< hila::type_plus< T, S >, T >::value, int > = 0> | |
U1< T > & | operator*= (const U1< S > &rhs) |
multiply assign | |
Complex< T > | complex () const |
U1 -> complex number. | |
U1 & | random () |
Generate random elements. | |
Type U1 as a phase angle - interface is analogous to (square) matrix, in order to facilitate compatible templates