3#ifndef pRC_CORE_TENSOR_OPERATOR_FUNCTIONS_IS_UNITARY_H
4#define pRC_CORE_TENSOR_OPERATOR_FUNCTIONS_IS_UNITARY_H
23 template<
class X,
class R = RemoveReference<X>, If<IsTensorish<R>> = 0,
24 If<IsInvocable<Adjo
int, X>> = 0,
25 If<IsInvocable<IsApprox, ResultOf<Mul, ResultOf<Adjo
int, X>, X>,
26 ResultOf<Mul, ResultOf<Adjo
int, X>, X>>> = 0,
27 class TT =
typename R::Value>
Definition cholesky.hpp:18
std::remove_reference_t< T > RemoveReference
Definition type_traits.hpp:56
static constexpr auto adjoint(JacobiRotation< T > const &a)
Definition jacobi_rotation.hpp:325
static constexpr auto isApprox(XA &&a, XB &&b, TT const &tolerance=NumericLimits< TT >::tolerance())
Checks if two pRC objects agree up to a given tolerance.
Definition is_approx.hpp:44
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
static constexpr auto isUnitary(X &&a, TT const &tolerance=NumericLimits< TT >::tolerance())
Checks if a Tensor is unitary.
Definition is_unitary.hpp:28