Salome HOME
projects
/
modules
/
adao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Nouvelle version de Jean-Philippe ARGAUD
[modules/adao.git]
/
src
/
daComposant
/
daAlgorithms
/
LinearLeastSquares.py
diff --git
a/src/daComposant/daAlgorithms/LinearLeastSquares.py
b/src/daComposant/daAlgorithms/LinearLeastSquares.py
index 855d8a1e73274e367c30a31d45d6b85654452190..a4470be2ae4758837c5adeca0fe5ff6dae71556d 100644
(file)
--- a/
src/daComposant/daAlgorithms/LinearLeastSquares.py
+++ b/
src/daComposant/daAlgorithms/LinearLeastSquares.py
@@
-1,6
+1,6
@@
#-*-coding:iso-8859-1-*-
#
#-*-coding:iso-8859-1-*-
#
-# Copyright (C) 2008-20
09
EDF R&D
+# Copyright (C) 2008-20
10
EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-23,16
+23,14
@@
__doc__ = """
"""
__author__ = "Sophie RICCI, Jean-Philippe ARGAUD - Septembre 2008"
"""
__author__ = "Sophie RICCI, Jean-Philippe ARGAUD - Septembre 2008"
-import sys ; sys.path.insert(0, "../daCore")
import logging
import logging
-import Persistence
-from BasicObjects import Algorithm
-import PlatformInfo ; m = PlatformInfo.SystemUsage()
+from daCore import BasicObjects, PlatformInfo
+m = PlatformInfo.SystemUsage()
# ==============================================================================
# ==============================================================================
-class ElementaryAlgorithm(Algorithm):
+class ElementaryAlgorithm(
BasicObjects.
Algorithm):
def __init__(self):
def __init__(self):
- Algorithm.__init__(self)
+
BasicObjects.
Algorithm.__init__(self)
self._name = "LINEARLEASTSQUARES"
def run(self, Xb=None, Y=None, H=None, M=None, R=None, B=None, Q=None, Par=None):
self._name = "LINEARLEASTSQUARES"
def run(self, Xb=None, Y=None, H=None, M=None, R=None, B=None, Q=None, Par=None):