Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
SetMatrixSparsity.h
Go to the documentation of this file.
1
10
#pragma once
11
12
namespace
MathLib
13
{
14
18
template
<
typename
MATRIX,
typename
SPARSITY_PATTERN>
19
struct
SetMatrixSparsity
20
{
21
void
operator()
(MATRIX&
/*unused*/
,
22
SPARSITY_PATTERN
const
&
/*unused*/
)
const
23
{
24
}
21
void
operator()
(MATRIX&
/*unused*/
, {
…
}
25
};
19
struct
SetMatrixSparsity
{
…
};
26
30
template
<
typename
MATRIX,
typename
SPARSITY_PATTERN>
31
void
setMatrixSparsity
(MATRIX& matrix, SPARSITY_PATTERN
const
& sparsity_pattern)
32
{
33
SetMatrixSparsity<MATRIX, SPARSITY_PATTERN>
set_sparsity;
34
set_sparsity(matrix, sparsity_pattern);
35
}
31
void
setMatrixSparsity
(MATRIX& matrix, SPARSITY_PATTERN
const
& sparsity_pattern) {
…
}
36
37
}
// namespace MathLib
38
39
#ifdef USE_LIS
40
#include "
Lis/LisMatrix.h
"
41
#endif
// USE_LIS
42
43
#include "
Eigen/EigenMatrix.h
"
EigenMatrix.h
LisMatrix.h
Definition of the LisMatrix class.
MathLib
Definition
CreateComponent.h:32
MathLib::setMatrixSparsity
void setMatrixSparsity(MATRIX &matrix, SPARSITY_PATTERN const &sparsity_pattern)
Definition
SetMatrixSparsity.h:31
MathLib::SetMatrixSparsity
Definition
SetMatrixSparsity.h:20
MathLib::SetMatrixSparsity::operator()
void operator()(MATRIX &, SPARSITY_PATTERN const &) const
Definition
SetMatrixSparsity.h:21
MathLib
LinAlg
SetMatrixSparsity.h
Generated by
1.12.0