Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-08-28 09:44:31


Author: pbristow
Date: 2007-08-28 09:44:31 EDT (Tue, 28 Aug 2007)
New Revision: 39036
URL: http://svn.boost.org/trac/boost/changeset/39036

Log:
added scale & location
Text files modified:
   sandbox/math_toolkit/libs/math/doc/distributions/normal.qbk | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/distributions/normal.qbk
==============================================================================
--- sandbox/math_toolkit/libs/math/doc/distributions/normal.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/distributions/normal.qbk 2007-08-28 09:44:31 EDT (Tue, 28 Aug 2007)
@@ -19,8 +19,11 @@
       // Construct:
       normal_distribution(RealType mean = 0, RealType sd = 1);
       // Accessors:
- RealType mean()const;
- RealType standard_deviation()const;
+ RealType mean()const; // location.
+ RealType standard_deviation()const; // scale.
+ // Synonyms, provided to allow generic use of find_location and find_scale.
+ RealType location()const;
+ RealType scale()const;
    };
    
    }} // namespaces


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk