"examples/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "0383941375cf520da026a44ab9b77677b58c05d3"
Commit 04f8d803 authored by Davis King's avatar Davis King
Browse files

Increased the default number of power iterations done by svd_fast()

from 0 to 1.
parent 9f9a720a
...@@ -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);
......
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment