Commit a9eba8c4 authored by Davis King's avatar Davis King

made code a little clearer

parent 9e2423b3
...@@ -22,7 +22,7 @@ namespace dlib ...@@ -22,7 +22,7 @@ namespace dlib
template <typename matrix_type> template <typename matrix_type>
std::vector<matrix<double,0,1> > operator() ( std::vector<matrix<double,0,1> > operator() (
const std::vector<matrix_type>& data, const std::vector<matrix_type>& data,
long num_dims const long num_dims
) )
{ {
// make sure requires clause is not broken // make sure requires clause is not broken
...@@ -67,10 +67,10 @@ namespace dlib ...@@ -67,10 +67,10 @@ namespace dlib
template <typename matrix_type> template <typename matrix_type>
void operator() ( void operator() (
const std::vector<matrix_type>& data, const std::vector<matrix_type>& data,
long num_dims, const long num_dims,
std::vector<matrix<double,0,1> >& result, std::vector<matrix<double,0,1> >& result,
double &err, double &err,
unsigned long num_iters = 1000, const unsigned long num_iters = 1000,
const double err_delta = 1.0e-9 const double err_delta = 1.0e-9
) )
{ {
......
...@@ -33,7 +33,7 @@ namespace dlib ...@@ -33,7 +33,7 @@ namespace dlib
template <typename matrix_type> template <typename matrix_type>
std::vector<matrix<double,0,1> > operator() ( std::vector<matrix<double,0,1> > operator() (
const std::vector<matrix_type>& data, const std::vector<matrix_type>& data,
long num_dims const long num_dims
); );
/*! /*!
requires requires
...@@ -65,10 +65,10 @@ namespace dlib ...@@ -65,10 +65,10 @@ namespace dlib
template <typename matrix_type> template <typename matrix_type>
void operator() ( void operator() (
const std::vector<matrix_type>& data, const std::vector<matrix_type>& data,
long num_dims, const long num_dims,
std::vector<matrix<double,0,1> >& result, std::vector<matrix<double,0,1> >& result,
double &err, double &err,
unsigned long num_iters = 1000, const unsigned long num_iters = 1000,
const double err_delta = 1.0e-9 const double err_delta = 1.0e-9
); );
/*! /*!
......
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