BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
op_BZ_MatrixEqualEqual.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_OP_BZ_MATRIXEQUALEQUAL_HPP
13
#define BELFEM_OP_BZ_MATRIXEQUALEQUAL_HPP
14
15
#include "
cl_BZ_Matrix.hpp
"
16
17
namespace
belfem
18
{
19
//------------------------------------------------------------------------------
20
21
template
<
typename
T >
22
bool
23
operator==
(
const
Matrix< T >
& aA,
24
const
Matrix< T >
& aB )
25
{
26
return
aA.matrix_data() == aB.matrix_data();
27
}
28
29
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
30
31
template
<
typename
T >
32
bool
33
operator==
(
const
T
& aA,
34
const
Matrix< T >
& aB )
35
{
36
return
aA == aB.matrix_data();
37
}
38
39
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
40
41
template
<
typename
T >
42
bool
43
operator==
(
const
Matrix< T >
& aA,
44
const
T
& aB )
45
{
46
return
aA.matrix_data() == aB;
47
}
48
49
//------------------------------------------------------------------------------
50
}
51
#endif
//BELFEM_OP_BZ_MATRIXEQUALEQUAL_HPP
cl_BZ_Matrix.hpp
belfem::Matrix
Dense column-major matrix.
Definition
cl_BZ_Matrix.hpp:28
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::MaterialDependency::T
@ T
Definition
cl_Material.hpp:122
belfem::operator==
bool operator==(const Matrix< T > &aA, const Matrix< T > &aB)
Definition
op_AR_MatrixEqualEqual.hpp:23
src
linalg
blaze
op_BZ_MatrixEqualEqual.hpp
Generated by
1.18.0