~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to lib/src/Base/Stat/LinearModel.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-11-18 06:32:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081118063222-pa0qncclrerrqkg2
Tags: 0.12.2-1
* New upstream release
* Bug fix: "New upstream release available (0.12.2)", thanks to Jerome
  Robert (Closes: #506005).
* Applied patch by J. Robert.
* debian/control: build-depends on libxml2

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
21
 *
22
22
 *  @author: $LastChangedBy: dutka $
23
 
 *  @date:   $LastChangedDate: 2008-06-02 15:47:24 +0200 (lun, 02 jun 2008) $
24
 
 *  Id:      $Id: LinearModel.cxx 834 2008-06-02 13:47:24Z dutka $
 
23
 *  @date:   $LastChangedDate: 2008-10-31 11:52:04 +0100 (ven 31 oct 2008) $
 
24
 *  Id:      $Id: LinearModel.cxx 995 2008-10-31 10:52:04Z dutka $
25
25
 */
26
26
#include <fstream>
27
27
#include "LinearModel.hxx"
69
69
      /* Standard constructor */
70
70
      LinearModel::LinearModel(const NumericalPoint & vectorR,
71
71
                               const ConfidenceIntervalPersistentCollection & intervalsColl,
72
 
                               const NumericalScalarPersistentCollection & pValuesOfR,
73
 
                               const String & name)
 
72
                               const NumericalScalarPersistentCollection & pValuesOfR)
74
73
        throw(InvalidArgumentException)
75
 
        : Common::PersistentObject(name),
 
74
        : PersistentObject(),
76
75
          regression_(vectorR),
77
76
          confidenceIntervals_(intervalsColl),
78
77
          pValues_(pValuesOfR)
81
80
      }
82
81
 
83
82
      /* Constructor from NumericalPoint */
84
 
      LinearModel::LinearModel(const NumericalPoint & vectorR,
85
 
                               const String & name)
86
 
        : PersistentObject(name),
 
83
      LinearModel::LinearModel(const NumericalPoint & vectorR)
 
84
        : PersistentObject(),
87
85
          regression_(vectorR)
88
86
      {
89
87
        UnsignedLong dimension(vectorR.getDimension());