Expression Templates Library (ETL)
det.hpp
Go to the documentation of this file.
1 //=======================================================================
2 // Copyright (c) 2014-2023 Baptiste Wicht
3 // Distributed under the terms of the MIT License.
4 // (See accompanying file LICENSE or copy at
5 // http://opensource.org/licenses/MIT)
6 //=======================================================================
7 
13 #pragma once
14 
15 //Include the implementations
16 #include "etl/impl/std/det.hpp"
17 
18 namespace etl::detail {
19 
23 struct det_impl {
29  template <typename AT>
30  static value_t<AT> apply(const AT& A) {
31  return etl::impl::standard::det(A);
32  }
33 };
34 
35 } //end of namespace etl::detail
Standard implementation of the determinant.
Functor for determinant.
Definition: det.hpp:23
Definition: expression_builder.hpp:699
static value_t< AT > apply(const AT &A)
Apply the functor to A.
Definition: det.hpp:30
typename decay_traits< E >::value_type value_t
Traits to extract the value type out of an ETL type.
Definition: tmp.hpp:81