Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aland, Sebastian
amdis
Commits
df04dc93
Commit
df04dc93
authored
Jul 10, 2012
by
Praetorius, Simon
Browse files
multMatrixVector with const arguments
parent
eb820a99
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/FixVec.h
View file @
df04dc93
...
...
@@ -440,7 +440,7 @@ namespace AMDiS {
}
/// Multplication of a matrix with a vector.
void
multMatrixVec
(
WorldMatrix
<
T
>
&
m
,
WorldVector
<
T
>
&
v
);
void
multMatrixVec
(
const
WorldMatrix
<
T
>
&
m
,
const
WorldVector
<
T
>
&
v
);
};
...
...
AMDiS/src/FixVec.hh
View file @
df04dc93
...
...
@@ -37,7 +37,7 @@ namespace AMDiS {
}
template
<
typename
T
>
void
WorldVector
<
T
>::
multMatrixVec
(
WorldMatrix
<
T
>
&
m
,
WorldVector
<
T
>
&
v
)
void
WorldVector
<
T
>::
multMatrixVec
(
const
WorldMatrix
<
T
>
&
m
,
const
WorldVector
<
T
>
&
v
)
{
FUNCNAME
(
"WorldVector<T>::multMatrix()"
);
TEST_EXIT_DBG
(
m
.
getNumRows
()
==
this
->
getSize
())(
"invalide size
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment