BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
fn_inv.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
21
29
30
#ifndef BELFEM_FN_INV_HPP
31
#define BELFEM_FN_INV_HPP
32
33
#ifdef BELFEM_ARMADILLO
34
#include "
fn_AR_inv.hpp
"
35
#elif BELFEM_BLAZE
36
#include "
fn_BZ_inv.hpp
"
37
#endif
38
39
namespace
belfem
40
{
41
42
//------------------------------------------------------------------------------
43
template
<
typename
T >
44
auto
45
inv
(
const
Matrix< T >
& aA )
46
->
decltype
(
inv
( aA.matrix_data()))
const
47
{
48
return
inv
( aA.matrix_data());
49
}
50
51
//------------------------------------------------------------------------------
52
53
template
<
typename
T >
54
auto
55
inv
(
Matrix< T >
& aA )
56
->
decltype
(
inv
( aA.matrix_data() ) )
57
{
58
return
inv
( aA.matrix_data() );
59
}
60
61
//------------------------------------------------------------------------------
62
}
63
64
#endif
//BELFEM_FN_INV_HPP
belfem::Matrix
Dense column-major matrix.
Definition
cl_BZ_Matrix.hpp:28
fn_AR_inv.hpp
fn_BZ_inv.hpp
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::inv
auto inv(const T &aExpression) -> decltype(arma::inv(aExpression))
Definition
fn_AR_inv.hpp:22
src
linalg
fn_inv.hpp
Generated by
1.18.0