From fcd7abffacd265e975fb34d52d3bdbb79133e441 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 15 Jun 2013 15:23:36 -0400 Subject: [PATCH] clarified spec --- dlib/statistics/statistics_abstract.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dlib/statistics/statistics_abstract.h b/dlib/statistics/statistics_abstract.h index d6630fcd0..89dc23792 100644 --- a/dlib/statistics/statistics_abstract.h +++ b/dlib/statistics/statistics_abstract.h @@ -467,7 +467,8 @@ namespace dlib ) const; /*! ensures - - if (this object has been presented with any input vectors) then + - if (this object has been presented with any input vectors or + set_dimension() has been called) then - returns the dimension of the column vectors used with this object - else - returns 0 @@ -594,7 +595,8 @@ namespace dlib ) const; /*! ensures - - if (this object has been presented with any input vectors) then + - if (this object has been presented with any input vectors or + set_dimensions() has been called) then - returns the dimension of the x vectors given to this object via add(). - else - returns 0 @@ -604,7 +606,8 @@ namespace dlib ) const; /*! ensures - - if (this object has been presented with any input vectors) then + - if (this object has been presented with any input vectors or + set_dimensions() has been called) then - returns the dimension of the y vectors given to this object via add(). - else - returns 0