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
04f8d803
Commit
04f8d803
authored
Jan 19, 2013
by
Davis King
Browse files
Increased the default number of power iterations done by svd_fast()
from 0 to 1.
parent
9f9a720a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dlib/matrix/matrix_la.h
dlib/matrix/matrix_la.h
+2
-2
dlib/matrix/matrix_la_abstract.h
dlib/matrix/matrix_la_abstract.h
+2
-2
No files found.
dlib/matrix/matrix_la.h
View file @
04f8d803
...
@@ -889,7 +889,7 @@ convergence:
...
@@ -889,7 +889,7 @@ convergence:
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
>&
v
,
matrix
<
T
>&
v
,
unsigned
long
l
,
unsigned
long
l
,
unsigned
long
q
=
0
unsigned
long
q
=
1
)
)
{
{
const
unsigned
long
k
=
std
::
min
(
l
,
std
::
min
<
unsigned
long
>
(
A
.
nr
(),
A
.
nc
()));
const
unsigned
long
k
=
std
::
min
(
l
,
std
::
min
<
unsigned
long
>
(
A
.
nr
(),
A
.
nc
()));
...
@@ -1008,7 +1008,7 @@ convergence:
...
@@ -1008,7 +1008,7 @@ convergence:
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
>&
v
,
matrix
<
T
>&
v
,
unsigned
long
l
,
unsigned
long
l
,
unsigned
long
q
=
0
unsigned
long
q
=
1
)
)
{
{
const
long
n
=
max_index_plus_one
(
A
);
const
long
n
=
max_index_plus_one
(
A
);
...
...
dlib/matrix/matrix_la_abstract.h
View file @
04f8d803
...
@@ -144,7 +144,7 @@ namespace dlib
...
@@ -144,7 +144,7 @@ namespace dlib
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
>&
v
,
matrix
<
T
>&
v
,
unsigned
long
l
,
unsigned
long
l
,
unsigned
long
q
=
0
unsigned
long
q
=
1
);
);
/*!
/*!
requires
requires
...
@@ -194,7 +194,7 @@ namespace dlib
...
@@ -194,7 +194,7 @@ namespace dlib
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
,
0
,
1
>&
w
,
matrix
<
T
>&
v
,
matrix
<
T
>&
v
,
unsigned
long
l
,
unsigned
long
l
,
unsigned
long
q
=
0
unsigned
long
q
=
1
);
);
/*!
/*!
requires
requires
...
...
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