BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_AR_det.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_FN_AR_DET_HPP
13#define BELFEM_FN_AR_DET_HPP
14
15#include "cl_AR_Matrix.hpp"
16
17namespace belfem
18{
19//------------------------------------------------------------------------------
20
21 template<typename T >
22 auto
23 det( const T & A)
24 ->decltype( arma::det( A ) )
25 {
26 return arma::det( A );
27 }
28
29//------------------------------------------------------------------------------
30
31 template<typename T >
32 auto
33 det( T & A )
34 ->decltype( arma::det( A ))
35 {
36 return arma::det( A );
37 }
38
39//------------------------------------------------------------------------------
40}
41#endif //BELFEM_FN_AR_DET_HPP
USER GUIDES:
Definition cl_Capacitor.cpp:16
auto det(const T &A) -> decltype(arma::det(A))
Definition fn_AR_det.hpp:23