<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
Complex Interface Reference

Concept for complex scalar types. More...

#include <concepts.hpp>

Detailed Description

Concept for complex scalar types.

A complex type is a type that supports arithmetic and comparison operations. Real and imaginary parts have the same type, and they must satisfy the concept tlapack::concepts::Real. The type real_type<T> must also satisfy the concept tlapack::concepts::Real. Moreover,

  • it must be constructible from two real values. It must also be constructible from a default constructor that takes no arguments.
  • it must implement the copy assignment operator =. It must also implement the assignment operator = that takes a real value as the second argument.
  • it must support the accessors real(), imag(), and conj(). The latter returns a complex type of the same type as the input. Those functions must be callable from the namespace tlapack.
  • it must support the math functions abs() and sqrt(). These functions must be callable from the namespace tlapack.
Template Parameters
TType.

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