Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
015643e0
Commit
015643e0
authored
Dec 27, 2012
by
Davis King
Browse files
Made the matrix_exp iterator a proper iterator
parent
95ac81fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dlib/matrix/matrix_exp.h
dlib/matrix/matrix_exp.h
+2
-1
No files found.
dlib/matrix/matrix_exp.h
View file @
015643e0
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
#include "../is_kind.h"
#include "../is_kind.h"
#include "matrix_fwd.h"
#include "matrix_fwd.h"
#include "matrix_exp_abstract.h"
#include "matrix_exp_abstract.h"
#include <iterator>
namespace
dlib
namespace
dlib
{
{
...
@@ -56,7 +57,7 @@ namespace dlib
...
@@ -56,7 +57,7 @@ namespace dlib
template
<
typename
EXP
>
class
matrix_exp
;
template
<
typename
EXP
>
class
matrix_exp
;
template
<
typename
EXP
>
template
<
typename
EXP
>
class
matrix_exp_iterator
class
matrix_exp_iterator
:
public
std
::
iterator
<
std
::
forward_iterator_tag
,
typename
matrix_traits
<
EXP
>::
type
>
{
{
friend
class
matrix_exp
<
EXP
>
;
friend
class
matrix_exp
<
EXP
>
;
matrix_exp_iterator
(
const
EXP
&
m_
,
long
r_
,
long
c_
)
matrix_exp_iterator
(
const
EXP
&
m_
,
long
r_
,
long
c_
)
...
...
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