HILA
Loading...
Searching...
No Matches
U1< T > Class Template Reference

#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.
 
U1random ()
 Generate random elements.
 

Detailed Description

template<typename T>
class U1< T >

Type U1 as a phase angle - interface is analogous to (square) matrix, in order to facilitate compatible templates

Definition at line 14 of file u1.h.


The documentation for this class was generated from the following file: