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

« back to all changes in this revision

Viewing changes to lib/src/Uncertainty/Algorithm/MetaModel/SVMRegression/SVMKernelRegressionHessian.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-05-10 17:27:55 UTC
  • mfrom: (1.1.4 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100510172755-cb5ynskknqqi5rhp
Tags: 0.13.2-2ubuntu1
* Merge with Debian testing. No changes left.
* ubuntu_fix-python-2.6.patch: fix detection of python 2.6 libs, to not use
  LOCALMODLIBS. This pulls a dependency on SSL and makes the package FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 * @file  SVMKernelRegressionHessian.cxx
4
4
 * @brief Implementation of SVM regression hessian
5
5
 *
6
 
 *  (C) Copyright 2005-2007 EDF-EADS-Phimeca
 
6
 *  (C) Copyright 2005-2010 EDF-EADS-Phimeca
7
7
 *
8
8
 *  This library is free software; you can redistribute it and/or
9
9
 *  modify it under the terms of the GNU Lesser General Public
101
101
        
102
102
      /* Hessian method */
103
103
      SVMKernelRegressionHessian::SymmetricTensor SVMKernelRegressionHessian::hessian(const NumericalPoint & in) const
104
 
        throw(InvalidArgumentException,InternalException)
 
104
        /* throw(InvalidArgumentException,InternalException) */
105
105
      {
106
106
        ++ callsNumber_;
107
107
 
131
131
      }
132
132
 
133
133
      /* Accessor for input point dimension */
134
 
      UnsignedLong SVMKernelRegressionHessian::getInputNumericalPointDimension() const
135
 
        throw(InternalException)
 
134
      UnsignedLong SVMKernelRegressionHessian::getInputDimension() const
 
135
        /* throw(InternalException) */
136
136
      {
137
137
        return dataIn_.getDimension();
138
138
      }
139
139
 
140
140
      /* Accessor for output point dimension */
141
 
      UnsignedLong SVMKernelRegressionHessian::getOutputNumericalPointDimension() const
142
 
        throw(InternalException)
 
141
      UnsignedLong SVMKernelRegressionHessian::getOutputDimension() const
 
142
        /* throw(InternalException) */
143
143
      {
144
144
        return 1;
145
145
      }