Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
soth
Commits
104d6add
Commit
104d6add
authored
Dec 04, 2017
by
Olivier Stasse
Browse files
Initialize the evaluator.
parent
e25a2114
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/SubMatrix.hpp
View file @
104d6add
...
...
@@ -48,13 +48,14 @@ namespace Eigen
typedef
typename
nested_eval
<
MatrixType
,
PermutationType
>::
type
MatrixTypeNested
;
typedef
typename
remove_all
<
MatrixTypeNested
>::
type
MatrixTypeNestedCleaned
;
typedef
typename
XprType
::
CoeffReturnType
CoeffReturnType
;
typedef
typename
SubMatrix
<
MatrixType
,
PermutationType
,
IsSub
>::
MemoryBase
MemoryBase
;
enum
{
CoeffReadCost
=
evaluator
<
MatrixTypeNestedCleaned
>::
CoeffReadCost
,
Flags
=
MatrixType
::
Flags
|
LinearAccessBit
};
evaluator
(
const
XprType
&
xpr
)
:
m_argImpl
(
MemoryBase
::
m_matrix
.
const_cast_derived
()
)
:
m_argImpl
(
xpr
.
m_matrix
)
{
}
CoeffReturnType
coeff
(
Index
row
,
Index
col
)
const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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