|
<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
#include <cmath>#include <limits>#include <type_traits>#include <utility>#include "tlapack/base/arrayTraits.hpp"#include "tlapack/base/concepts.hpp"#include "tlapack/base/exceptionHandling.hpp"#include "tlapack/base/types.hpp"#include "tlapack/base/workspace.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | tlapack |
| Sort the numbers in D in increasing order (if ID = 'I') or in decreasing order (if ID = 'D' ). | |
Typedefs | |
| template<class T1 , class... Ts> | |
| using | tlapack::disable_if_allow_optblas_t = enable_if_t<(!allow_optblas< T1, Ts... >), int > |
| Disable if the list of types allows optimized BLAS library. | |
| template<class T1 , class... Ts> | |
| using | tlapack::enable_if_allow_optblas_t = enable_if_t<(allow_optblas< T1, Ts... >), int > |
| Enable if the list of types allows optimized BLAS library. | |
Functions | |
| template<typename T > | |
| constexpr real_type< T > | tlapack::abs1 (const T &x) |
| 1-norm absolute value, |Re(x)| + |Im(x)| | |
| template<typename T , enable_if_t< is_real< T >, int > = 0> | |
| constexpr T | tlapack::conj (const T &x) noexcept |
| Extends std::conj() to real datatypes. | |
| template<typename T , enable_if_t< is_real< T >, int > = 0> | |
| constexpr real_type< T > | tlapack::imag (const T &x) noexcept |
| Extends std::imag() to real datatypes. | |
| template<typename T , enable_if_t< is_complex< T >, int > = 0> | |
| constexpr bool | tlapack::isinf (const T &x) noexcept |
| Extends std::isinf() to complex numbers. | |
| template<typename T , enable_if_t< is_complex< T >, int > = 0> | |
| constexpr bool | tlapack::isnan (const T &x) noexcept |
| Extends std::isnan() to complex numbers. | |
| template<typename T , enable_if_t< is_real< T >, int > = 0> | |
| constexpr real_type< T > | tlapack::real (const T &x) noexcept |
| Extends std::real() to real datatypes. | |
| template<typename T , enable_if_t< is_real< T >, int > = 0> | |
| constexpr int | tlapack::sgn (const T &val) |
| Type-safe sgn function. | |
| template<typename T > | |
| constexpr T | tlapack::square (const T &x) |
Variables | |
| template<class... Ts> | |
| constexpr bool | tlapack::allow_optblas = traits::allow_optblas_trait<Ts..., int>::value |
| True if the list of types allows optimized BLAS library. | |
| template<class C1 , class C2 , class... Cs> | |
| constexpr bool | tlapack::traits::internal::has_compatible_layout |
| True if C1, C2, Cs... have all compatible layouts. False otherwise. | |
| template<class C1 , class C2 > | |
| constexpr bool | tlapack::traits::internal::has_compatible_layout< C1, C2 > |
| template<class C1 , class T1 , class C2 , class T2 > | |
| constexpr bool | tlapack::traits::internal::has_compatible_layout< pair< C1, T1 >, pair< C2, T2 > > |
| template<class T > | |
| constexpr bool | tlapack::traits::internal::is_matrix |
| template<class T > | |
| constexpr bool | tlapack::traits::internal::is_vector = has_operator_brackets_with_1_index<T>::value |
|
constexpr |
True if C1, C2, Cs... have all compatible layouts. False otherwise.
|
constexpr |
|
constexpr |
|
constexpr |