Changeset 981
- Timestamp:
- 10/22/08 09:36:28 (3 months ago)
- Files:
-
- branches/feuillard/devel/bootstrap (modified) (2 diffs)
- branches/feuillard/devel/configure.ac (modified) (1 diff)
- branches/feuillard/devel/doc/bootstrap (modified) (1 diff)
- branches/feuillard/devel/doc/configure.ac (modified) (1 diff)
- branches/feuillard/devel/doc/src/GenericInformation.tex (modified) (2 diffs)
- branches/feuillard/devel/doc/src/ReferenceGuide/QQplotBad.pdf (modified) (previous)
- branches/feuillard/devel/doc/src/ReferenceGuide/QQplotDistribBad.pdf (modified) (previous)
- branches/feuillard/devel/doc/src/ReferenceGuide/QQplotDistribOk.pdf (modified) (previous)
- branches/feuillard/devel/doc/src/ReferenceGuide/QQplotOk.pdf (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/AxialGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/BoxGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/CompositeGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/FactorialGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/OpenTURNS_UseCasesGuide.tex (modified) (26 diffs)
- branches/feuillard/devel/doc/src/UseCasesGuide/ScaledAxialGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/ScaledBoxGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/ScaledCompositeGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/ScaledFactorialGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/TranslatedScaledAxialGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/TranslatedScaledBoxGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/TranslatedScaledCompositeGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UseCasesGuide/TranslatedScaledFactorialGrid.png (modified) (previous)
- branches/feuillard/devel/doc/src/UserManual/Distribution_UserManual.tex (modified) (2 diffs)
- branches/feuillard/devel/doc/src/UserManual/Graphs_UserManual.tex (modified) (2 diffs)
- branches/feuillard/devel/gui/bootstrap (modified) (1 diff)
- branches/feuillard/devel/gui/config/common.am (modified) (1 diff)
- branches/feuillard/devel/gui/configure.ac (modified) (5 diffs)
- branches/feuillard/devel/gui/m4/ot_check_boost.m4 (copied) (copied from trunk/gui/m4/ot_check_boost.m4)
- branches/feuillard/devel/lib/bootstrap (modified) (1 diff)
- branches/feuillard/devel/lib/config/common.am (modified) (1 diff)
- branches/feuillard/devel/lib/configure.ac (modified) (3 diffs)
- branches/feuillard/devel/lib/etc/openturns.conf.in (modified) (2 diffs)
- branches/feuillard/devel/lib/m4/Makefile.am (modified) (1 diff)
- branches/feuillard/devel/lib/m4/examples (copied) (copied from trunk/lib/m4/examples)
- branches/feuillard/devel/lib/m4/examples/AUTHORS (copied) (copied from trunk/lib/m4/examples/AUTHORS)
- branches/feuillard/devel/lib/m4/examples/Makefile.am (copied) (copied from trunk/lib/m4/examples/Makefile.am)
- branches/feuillard/devel/lib/m4/examples/README (copied) (copied from trunk/lib/m4/examples/README)
- branches/feuillard/devel/lib/m4/examples/bootstrap (copied) (copied from trunk/lib/m4/examples/bootstrap)
- branches/feuillard/devel/lib/m4/examples/configure.ac.in (copied) (copied from trunk/lib/m4/examples/configure.ac.in)
- branches/feuillard/devel/lib/m4/examples/m4 (copied) (copied from trunk/lib/m4/examples/m4)
- branches/feuillard/devel/lib/m4/examples/m4/bnv_have_qt.m4 (copied) (copied from trunk/lib/m4/examples/m4/bnv_have_qt.m4)
- branches/feuillard/devel/lib/m4/examples/m4/ot_check_boost.m4 (copied) (copied from trunk/lib/m4/examples/m4/ot_check_boost.m4)
- branches/feuillard/devel/lib/m4/examples/m4/ot_check_openturns.m4 (copied) (copied from trunk/lib/m4/examples/m4/ot_check_openturns.m4)
- branches/feuillard/devel/lib/m4/examples/m4/ot_check_qt.m4 (copied) (copied from trunk/lib/m4/examples/m4/ot_check_qt.m4)
- branches/feuillard/devel/lib/m4/ot_check_boost.m4 (modified) (2 diffs)
- branches/feuillard/devel/lib/src/Base/Common/Makefile.am (modified) (3 diffs)
- branches/feuillard/devel/lib/src/Base/Common/Path.cxx (modified) (2 diffs)
- branches/feuillard/devel/lib/src/Base/Common/ResourceMap.cxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Common/StringXMLConverter.hxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/WrapperCommon.cxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Common/WrapperCommon.h (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Common/WrapperCommonFunctions.cxx (modified) (4 diffs)
- branches/feuillard/devel/lib/src/Base/Common/WrapperData.cxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/WrapperData.hxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/WrapperFile.cxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/WrapperFile.hxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/WrapperMacros.h (modified) (4 diffs)
- branches/feuillard/devel/lib/src/Base/Common/XMLStringConverter.hxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/XMLTags.hxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/XMLWrapperErrorHandler.cxx (deleted)
- branches/feuillard/devel/lib/src/Base/Common/XMLWrapperErrorHandler.hxx (deleted)
- branches/feuillard/devel/lib/src/Base/Func/ComputedNumericalMathEvaluationImplementation.hxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Func/ComputedNumericalMathEvaluationImplementationFactory.cxx (modified) (2 diffs)
- branches/feuillard/devel/lib/src/Base/Func/ComputedNumericalMathGradientImplementation.hxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Func/ComputedNumericalMathGradientImplementationFactory.cxx (modified) (2 diffs)
- branches/feuillard/devel/lib/src/Base/Func/ComputedNumericalMathHessianImplementation.hxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Func/ComputedNumericalMathHessianImplementationFactory.cxx (modified) (2 diffs)
- branches/feuillard/devel/lib/src/Base/Func/Makefile.am (modified) (3 diffs)
- branches/feuillard/devel/lib/src/Base/Func/NumericalMathFunction.cxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Func/NumericalMathFunction.hxx (modified) (1 diff)
- branches/feuillard/devel/lib/src/Base/Func/NumericalMathFunctionImplementation.cxx (modified) (4 diffs)
- branches/feuillard/devel/lib/src/Base/Func/NumericalMathFunctionImplementation.hxx (modified) (3 diffs)
- branches/feuillard/devel/lib/src/Base/Func/StringXMLConverter.hxx (copied) (copied from trunk/lib/src/Base/Func/StringXMLConverter.hxx)
- branches/feuillard/devel/lib/src/Base/Func/WrapperData.cxx (copied) (copied from trunk/lib/src/Base/Func/WrapperData.cxx)
- branches/feuillard/devel/lib/src/Base/Func/WrapperData.hxx (copied) (copied from trunk/lib/src/Base/Func/WrapperData.hxx)
- branches/feuillard/devel/lib/src/Base/Func/WrapperFile.cxx (copied) (copied from trunk/lib/src/Base/Func/WrapperFile.cxx)
- branches/feuillard/devel/lib/src/Base/Func/WrapperFile.hxx (copied) (copied from trunk/lib/src/Base/Func/WrapperFile.hxx)
- branches/feuillard/devel/lib/src/Base/Func/WrapperObject.cxx (modified) (5 diffs)
- branches/feuillard/devel/lib/src/Base/Func/WrapperObject.hxx (modified) (2 diffs)
- branches/feuillard/devel/lib/src/Base/Func/XMLStringConverter.hxx (copied) (copied from trunk/lib/src/Base/Func/XMLStringConverter.hxx)
- branches/feuillard/devel/lib/src/Base/Func/XMLTags.hxx (copied) (copied from trunk/lib/src/Base/Func/XMLTags.hxx)
- branches/feuillard/devel/lib/src/Base/Func/XMLWrapperErrorHandler.cxx (copied) (copied from trunk/lib/src/Base/Func/XMLWrapperErrorHandler.cxx)
- branches/feuillard/devel/lib/src/Base/Func/XMLWrapperErrorHandler.hxx (copied) (copied from trunk/lib/src/Base/Func/XMLWrapperErrorHandler.hxx)
- branches/feuillard/devel/lib/src/Base/Stat/NumericalSampleImplementation.cxx (modified) (2 diffs)
- branches/feuillard/devel/lib/test/Makefile.am (modified) (18 diffs)
- branches/feuillard/devel/lib/test/installcheck_testsuite.at (modified) (1 diff)
- branches/feuillard/devel/lib/test/t_NumericalSample_csv_notfound.at (copied) (copied from trunk/lib/test/t_NumericalSample_csv_notfound.at)
- branches/feuillard/devel/lib/test/t_NumericalSample_csv_notfound.cxx (copied) (copied from trunk/lib/test/t_NumericalSample_csv_notfound.cxx)
- branches/feuillard/devel/lib/test/t_Waarts_25_quadratic_terms.cxx (modified) (1 prop)
- branches/feuillard/devel/python/bootstrap (modified) (1 diff)
- branches/feuillard/devel/python/config/common.am (modified) (1 diff)
- branches/feuillard/devel/python/configure.ac (modified) (2 diffs)
- branches/feuillard/devel/python/m4/ot_check_boost.m4 (modified) (2 diffs)
- branches/feuillard/devel/python/src/Makefile.am (modified) (2 diffs)
- branches/feuillard/devel/python/src/NumericalMathFunction.i (modified) (1 diff)
- branches/feuillard/devel/python/src/NumericalPoint.i (modified) (1 diff)
- branches/feuillard/devel/python/src/PythonNumericalMathEvaluationImplementation.cxx (modified) (2 diffs)
- branches/feuillard/devel/python/src/PythonNumericalMathEvaluationImplementation.hxx (modified) (1 diff)
- branches/feuillard/devel/python/src/WrapperData.i (copied) (copied from trunk/python/src/WrapperData.i)
- branches/feuillard/devel/python/src/WrapperFile.i (copied) (copied from trunk/python/src/WrapperFile.i)
- branches/feuillard/devel/python/src/openturns.i (deleted)
- branches/feuillard/devel/python/src/ot.i (modified) (2 diffs)
- branches/feuillard/devel/python/test/Makefile.am (modified) (2 diffs)
- branches/feuillard/devel/python/test/python_installcheck_testsuite.at (modified) (1 diff)
- branches/feuillard/devel/python/test/t_NumericalMathFunction_python.atpy (modified) (1 diff)
- branches/feuillard/devel/python/test/t_NumericalPoint_python.atpy (copied) (copied from trunk/python/test/t_NumericalPoint_python.atpy)
- branches/feuillard/devel/python/test/t_NumericalPoint_python.py (copied) (copied from trunk/python/test/t_NumericalPoint_python.py)
- branches/feuillard/devel/utils/Makefile.am (modified) (1 diff)
- branches/feuillard/devel/validation/bootstrap (modified) (1 diff)
- branches/feuillard/devel/validation/configure.ac (modified) (1 diff)
- branches/feuillard/devel/wrappers/AnalyticalFunctionCompiler/bootstrap (modified) (1 diff)
- branches/feuillard/devel/wrappers/DistributedWrapper/bootstrap (modified) (1 diff)
- branches/feuillard/devel/wrappers/Makefile.am (modified) (4 diffs)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_calling_shell_command/bootstrap (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_calling_shell_command/customize (copied) (copied from trunk/wrappers/WrapperTemplates/wrapper_calling_shell_command/customize)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_calling_shell_command/m4/ot_check_openturns.m4 (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_calling_shell_command/wrapper.c (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_C_function/bootstrap (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_C_function/customize (copied) (copied from trunk/wrappers/WrapperTemplates/wrapper_linked_with_C_function/customize)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_C_function/m4/ot_check_openturns.m4 (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_C_function/wrapper.c (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_F77_function/bootstrap (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_F77_function/customize (copied) (copied from trunk/wrappers/WrapperTemplates/wrapper_linked_with_F77_function/customize)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_F77_function/m4/ot_check_openturns.m4 (modified) (1 diff)
- branches/feuillard/devel/wrappers/WrapperTemplates/wrapper_linked_with_F77_function/wrapper.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/feuillard/devel/bootstrap
r818 r981 34 34 35 35 submodules="lib python gui doc validation" 36 test $# -ne 0 && submodules=$* 36 37 configdir="./config" 37 38 #otconfigdir="./include/openturns" … … 61 62 #libtoolize --force --copy --ltdl --ltdl-tar 62 63 #libtoolize --force --copy 63 #libtoolize --automake 1>libtoolize.log 2>&164 #libtoolize --automake --copy 1>libtoolize.log 2>&1 64 65 #echo "OK" 65 66 branches/feuillard/devel/configure.ac
r936 r981 30 30 # Initialize Autoconf 31 31 AC_INIT([OpenTURNS platform], 32 [0.12. 1],32 [0.12.2], 33 33 [bugs@openturns.org], 34 34 [openturns]) branches/feuillard/devel/doc/bootstrap
r698 r981 57 57 #libtoolize --force --copy --ltdl --ltdl-tar 58 58 #libtoolize --force --copy 59 #libtoolize --automake 1>libtoolize.log 2>&159 #libtoolize --automake --copy 1>libtoolize.log 2>&1 60 60 #echo "OK" 61 61 branches/feuillard/devel/doc/configure.ac
r936 r981 30 30 # Initialize Autoconf 31 31 AC_INIT([OpenTURNS platform documentation], 32 [0.12. 1],32 [0.12.2], 33 33 [bugs@openturns.org], 34 34 [openturns]) branches/feuillard/devel/doc/src/GenericInformation.tex
r936 r981 1 \Large{\strut\\[2em]\bf Open TURNS version 0.1 1.2}\\1 \Large{\strut\\[2em]\bf Open TURNS version 0.12.0}\\ 2 2 \vspace*{2cm} 3 3 … … 5 5 6 6 \vspace*{2cm} 7 \includegraphics[width=12cm]{/home/ lapointe/Projects/OpenTURNS/platform/subversion/devel/doc/src/logoOpenTURNS.jpg}7 \includegraphics[width=12cm]{/home/ivan/OpenTURNS/dutka/devel/doc/src/logoOpenTURNS.jpg} branches/feuillard/devel/doc/src/UseCasesGuide/OpenTURNS_UseCasesGuide.tex
r936 r981 1033 1033 # Create the correlation matrix R of the normal copula 1034 1034 # from the Spearman correlation matrix S 1035 R = NormalCopula. getNormalCorrelationFromSpearmanCorrelation(S)1035 R = NormalCopula.GetNormalCorrelationFromSpearmanCorrelation(S) 1036 1036 1037 1037 # Create the normal copula from the R correlation matrix … … 1476 1476 # CARE : if the dimension is >1 1477 1477 # For example, with dimension 2, at pointVector=(2.3, 4.5) 1478 pointVector = Numeri aclPoint(2)1478 pointVector = NumericalPoint(2) 1479 1479 pointVector[0] = 2.3 1480 1480 pointVector[1] = 4.5 … … 2114 2114 2115 2115 # Get the p-value of the Smirnov Test 2116 print "p-value of the Smirnov Test = ", resultSmirnov.getP value()2116 print "p-value of the Smirnov Test = ", resultSmirnov.getPValue() 2117 2117 2118 2118 # Get the p-value threshold of the Test … … 2187 2187 2188 2188 # Get the p-value of the Test 2189 print "p-value of the Test = ", resultChiSquared.getP value()2189 print "p-value of the Test = ", resultChiSquared.getPValue() 2190 2190 2191 2191 # Get the p-value threshold of the ChiSquared Test … … 2204 2204 2205 2205 # Get the p-value of the Pearson Test 2206 print "p-value of the Pearson Test = ", resultPearson.getP value()2206 print "p-value of the Pearson Test = ", resultPearson.getPValue() 2207 2207 2208 2208 # Get the p-value threshold of the Test … … 2221 2221 2222 2222 # Get the p-value of the Spearman Test 2223 print "p-value of the Spearman Test = ", resultSpearman.getP value()2223 print "p-value of the Spearman Test = ", resultSpearman.getPValue() 2224 2224 2225 2225 # Get the p-value threshold of the Test … … 2286 2286 2287 2287 # Get the p-value of the Pearson Test 2288 print "p-value of the Pearson Test = ", resultPartialPearson[i].getP value()2288 print "p-value of the Pearson Test = ", resultPartialPearson[i].getPValue() 2289 2289 2290 2290 # Get the p-value threshold of the Test … … 2322 2322 2323 2323 # Get the p-value of the Spearman Test 2324 print "p-value of the Spearman Test = ", resultPartialSpearman[i].getP value()2324 print "p-value of the Spearman Test = ", resultPartialSpearman[i].getPValue() 2325 2325 2326 2326 # Get the p-value threshold of the Test … … 2390 2390 2391 2391 # Get the p-value of the Regression Test 2392 print "p-value of the Regression Test = ", resultPartialRegression[i].getP value()2392 print "p-value of the Regression Test = ", resultPartialRegression[i].getPValue() 2393 2393 2394 2394 # Get the p-value threshold of the Test … … 2480 2480 # p-value : probability (test variable decision > test variable decision evaluated on the samples) 2481 2481 # Test = True (=1) <=> p-value > p-value threshold 2482 resultKolmogorov = FittingTest ().Kolmogorov(sample, estimatedBetaDistribution, 0.95)2482 resultKolmogorov = FittingTest.Kolmogorov(sample, Distribution(estimatedBetaDistribution), 0.95) 2483 2483 2484 2484 # Print result of the Kolmogorov Test … … 2486 2486 2487 2487 # Get the p-value of the Kolmogorov Test 2488 print "p-value of the Kolmogorov Test = ", resultKolmogorov.getP value()2488 print "p-value of the Kolmogorov Test = ", resultKolmogorov.getPValue() 2489 2489 2490 2490 # Get the p-value threshold of the Kolmogorov Test … … 2536 2536 # Test = True (=1) <=> p-value > p-value threshold 2537 2537 # Number of parameters estimated from sample : 1 2538 resultChiSquared = FittingTest ().ChiSquared(sample, estimatedPoissonDistribution, 0.95, 1)2538 resultChiSquared = FittingTest.ChiSquared(sample, Distribution(estimatedPoissonDistribution), 0.95, 1) 2539 2539 2540 2540 # Print result of the ChiSquared Test … … 2542 2542 2543 2543 # Get the p-value threshold of the ChiSquared Test 2544 print "p-value threshold = ", resultChiSquared.getP value()2544 print "p-value threshold = ", resultChiSquared.getPValue() 2545 2545 2546 2546 # Get the p-value threshold (corresponding to the confidence level) of the ChiSquared Test … … 2673 2673 2674 2674 # Get the p-value of the Anderson Darling Test 2675 print "p-value of the Anderson Darling Test = ", resultAndersonDarling.getP value()2675 print "p-value of the Anderson Darling Test = ", resultAndersonDarling.getPValue() 2676 2676 2677 2677 # Get the p-value threshold of the Anderson Darling Test … … 2690 2690 2691 2691 # Get the p-value of the Cramer Von Mises Test 2692 print "p-value of the Cramer Von Mises Test = ", resultCramerVonMises.getP value()2692 print "p-value of the Cramer Von Mises Test = ", resultCramerVonMises.getPValue() 2693 2693 2694 2694 # Get the p-value threshold of the Cramer Von Mises Test … … 3256 3256 # Get the p-value of the LMRSquared Test 3257 3257 # CARE : it is NOT a probability here! but the R^2 value 3258 print "p-value of the LMRSquared Test = ", resultLMRSquared1.getP value()3258 print "p-value of the LMRSquared Test = ", resultLMRSquared1.getPValue() 3259 3259 3260 3260 # Get the p-value threshold of the LMRSquared Test … … 3284 3284 # Get the p-value of the LMAdjustedRSquared Test 3285 3285 # CARE : it is NOT a probability here! but the R^2 value 3286 print "p-value of the LMAdjustedRSquared Test = ", resultLMAdjustedRSquared1.getP value()3286 print "p-value of the LMAdjustedRSquared Test = ", resultLMAdjustedRSquared1.getPValue() 3287 3287 3288 3288 # Get the p-value threshold of the LMAdjustedRSquared Test … … 3308 3308 3309 3309 # Get the p-value of the LMFisherTest 3310 print "p-value of the LMFisher Test = ", resultLMFisher1.getP value()3310 print "p-value of the LMFisher Test = ", resultLMFisher1.getPValue() 3311 3311 3312 3312 # Get the p-value threshold of the LMFisher Test … … 3331 3331 3332 3332 # Get the p-value of the LMResidualMeanTest 3333 print "p-value of the LMResidualMean Test = ", resultLMResidualMean1.getP value()3333 print "p-value of the LMResidualMean Test = ", resultLMResidualMean1.getPValue() 3334 3334 3335 3335 # Get the p-value threshold of the LMResidualMean Test … … 3976 3976 inputIncrease[1] = "F" 3977 3977 3978 # Describe the output vector of dimension 13978 # Describe the output vector of dimension 4 3979 3979 outputIncrease = Description(4) 3980 3980 outputIncrease[0] = "E" … … 3987 3987 formulas[0] = "E" 3988 3988 formulas[1] = "F" 3989 formulas[2] = X23990 formulas[3] = X33989 formulas[2] = str(X2) 3990 formulas[3] = str(X3) 3991 3991 print "formulas=" , formulas 3992 3992 … … 5145 5145 # Create a NearestPoint algorithm with Cobyla 5146 5146 myCobyla = Cobyla() 5147 # Give default specific parameters to the Cobyla algoithm 5148 myCobyla.setSpecificParameters(CobylaSpecificParameters()) 5149 print "Specific Parameters of Cobyla = ", myCobyla.getSpecificParameters() 5147 5148 # The Cobyla algorithm has default specific parameters 5149 # To get them, write 5150 print "Default Parameters of Cobyla = ", myCobyla.getSpecificParameters() 5151 5152 # It is possible to change the default values of the specific parameters : 5153 # For that, create the object CobylaSpecificParameters() 5154 myCobylaSpecificParameters = CobylaSpecificParameters() 5155 # Then change the values of the parameters : for example, the RhoBeg parameter 5156 myCobylaSpecificParameters.setRhoBeg(myValue) 5157 # Give these new parameters to the Cobyla algoithm 5158 myCobyla.setSpecificParameters(myCobylaSpecificParameters) 5150 5159 5151 5160 # We could have created a NearestPoint algorithm with AbdoRackwitz 5152 5161 # myAbdoRackwitz = AbdoRackwitz() 5153 # myAbdoRackwitz.setSpecificParameters(AbdoRackwitzSpecificParameters())5154 # print "Specific Parameters of AbdoRackwitz = ", myAbdoRackwitz.getSpecificParameters()5155 5162 5156 5163 # We could have created a NearestPoint algorithm with SQP 5157 5164 # mySQP = SQP() 5158 # mySQP.setSpecificParameters(SQPSpecificParameters()) 5159 # print "Specific Parameters of SQP = ", mySQP.getSpecificParameters() 5160 5161 # Change the parameters of the algorithm 5165 5166 # Change the general parameters of the algorithm 5162 5167 myCobyla.setMaximumIterationsNumber(100) 5163 5168 myCobyla.setMaximumAbsoluteError(1.0e-10) … … 5399 5404 # Create a NearestPoint algorithm with Cobyla 5400 5405 myCobyla = Cobyla() 5401 # Give default specific parameters to the Cobyla algoithm 5402 myCobyla.setSpecificParameters(CobylaSpecificParameters()) 5403 print "Specific Parameters of Cobyla = ", myCobyla.getSpecificParameters() 5406 5407 # The Cobyla algorithm has default specific parameters 5408 # To get them, write 5409 print "Default Parameters of Cobyla = ", myCobyla.getSpecificParameters() 5410 5411 # It is possible to change the default values of the specific parameters : 5412 # For that, create the object CobylaSpecificParameters() 5413 myCobylaSpecificParameters = CobylaSpecificParameters() 5414 # Then change the values of the parameters : for example, the RhoBeg parameter 5415 myCobylaSpecificParameters.setRhoBeg(myValue) 5416 # Give these new parameters to the Cobyla algoithm 5417 myCobyla.setSpecificParameters(myCobylaSpecificParameters) 5404 5418 5405 5419 # We could have created a NearestPoint algorithm with AbdoRackwitz 5406 5420 # myAbdoRackwitz = AbdoRackwitz() 5407 # myAbdoRackwitz.setSpecificParameters(AbdoRackwitzSpecificParameters()) 5408 5409 # Change the parameters of the algorithm 5421 5422 # We could have created a NearestPoint algorithm with SQP 5423 # mySQP = SQP() 5424 5425 # Change the general parameters of the algorithm 5410 5426 myCobyla.setMaximumIterationsNumber(100) 5411 5427 myCobyla.setMaximumAbsoluteError(1.0e-10) … … 5594 5610 \item[$\bullet$] Variance of the MonteCarlo probability estimator 5595 5611 \item[type] : NumericalScalar 5612 \item[$\bullet$] the input and output samples used during the algorithm, and the values of the probability estimator and its variance 5613 \item[type] : NumericalSample 5596 5614 \end{description} 5597 5615 } … … 5720 5738 # stored according to the History Strategy specified 5721 5739 # and used to draw the convergence graph 5722 myAlgo.getConvergenceStrategy().getSample()5740 estimator_variance_sample = myAlgo.getConvergenceStrategy().getSample() 5723 5741 \end{lstlisting} 5724 5742 \espace … … 6912 6930 # We create a NearestPoint algorithm 6913 6931 myCobyla = Cobyla() 6914 myCobyla.setSpecificParameters(CobylaSpecificParameters())6915 6932 myCobyla.setMaximumIterationsNumber(1000) 6916 6933 myCobyla.setMaximumAbsoluteError(1.0e-10) branches/feuillard/devel/doc/src/UserManual/Distribution_UserManual.tex
r936 r981 2009 2009 \item[Some methods :] \strut 2010 2010 \begin{description} 2011 \item $ getNormalCorrelationFromKendallCorrelation$2012 \begin{description} 2013 \item[Usage :] $Norma lCopulagetNormalCorrelationFromKendallCorrelation(K)$2011 \item $GetNormalCorrelationFromKendallCorrelation$ 2012 \begin{description} 2013 \item[Usage :] $NormaCopula.GetNormalCorrelationFromKendallCorrelation(K)$ 2014 2014 \item[Arguments :] $K$ : a CorrelationMatrix, it must be the Kendall correlation matrix of the considered random vector 2015 2015 \item[Value :] a CorrelationMatrix, the correlation matrix of the normal copula evaluated from the Kendall correlation matrix $K$ … … 2017 2017 \bigskip 2018 2018 2019 \item $ getNormalCorrelationFromSpearmanCorrelation$2020 \begin{description} 2021 \item[Usage :] $NormalCopula. getNormalCorrelationFromSpearmanCorrelation(S)$2019 \item $GetNormalCorrelationFromSpearmanCorrelation$ 2020 \begin{description} 2021 \item[Usage :] $NormalCopula.GetNormalCorrelationFromSpearmanCorrelation(S)$ 2022 2022 \item[Arguments :]$S$ : a CorrelationMatrix, it must be the Spearman correlation matrix of the considered random vector 2023 2023 \item[Value :] a CorrelationMatrix, the correlation matrix of the normal copula evaluated from the Spearman correlation matrix $S$ branches/feuillard/devel/doc/src/UserManual/Graphs_UserManual.tex
r936 r981 87 87 \item[Usage :] $getBoundingBox()$ 88 88 \item[Arguments :] none 89 \item[Value :] a NumericalPoint of dimension 4, the bounding box of the drawable element, wich is a rectangle determined by its low and left corner (P1) and its high and right corner (P2). The BoundingBox is (XP1,YP1, XP2, YP2).89 \item[Value :] a NumericalPoint of dimension 4, the bounding box of the drawable element, wich is a rectangle determined by its range along X and its range along Y. The BoundingBox is $(x_{min}, x_{max}, y_{min}, y_{max})$. 90 90 \end{description} 91 91 \bigskip … … 202 202 \item[Usage :] $getBoundingBox()$ 203 203 \item[Arguments :] none 204 \item[Value :] a NumericalPoint of dimension 4, the bounding bow of the drawable element, wich is a rectangle determined by its low and left corner (P1)and its high and right corner (P2). The BoundingBox is (XP1,YP1, XP2, YP2).204 \item[Value :] a NumericalPoint of dimension 4, the bounding bow of the drawable element, wich is a rectangle determined by its range along X and its range along Y. The BoundingBox is $(x_{min}, x_{max}, y_{min}, y_{max})$. 205 205 \end{description} 206 206 \bigskip branches/feuillard/devel/gui/bootstrap
r698 r981 57 57 #libtoolize --force --copy --ltdl --ltdl-tar 58 58 #libtoolize --force --copy 59 libtoolize --automake 1>libtoolize.log 2>&159 libtoolize --automake --copy 1>libtoolize.log 2>&1 60 60 echo "OK" 61 61 branches/feuillard/devel/gui/config/common.am
r936 r981 33 33 AM_FFLAGS = $(OT_FFLAGS) 34 34 AM_CXXFLAGS = $(OT_CXXFLAGS) 35 36 if WITH_BOOST 37 AM_CPPFLAGS += $(BOOST_CPPFLAGS) 38 endif branches/feuillard/devel/gui/configure.ac
r936 r981 30 30 # Initialize Autoconf 31 31 AC_INIT([OpenTURNS platform GUI], 32 [0.12. 1],32 [0.12.2], 33 33 [bugs@openturns.org], 34 34 [openturns]) … … 40 40 AC_CONFIG_AUX_DIR([config]) 41 41 AC_SUBST([ac_aux_dir]) 42 AC_CONFIG_MACRO_DIR([m4]) 42 43 43 44 # Initialize Automake … … 99 100 OT_CHECK_DOT 100 101 102 # Check for BOOST 103 OT_CHECK_BOOST 104 101 105 # Get object default name 102 106 OT_GET_OBJECT_DEFAULT_NAME … … 133 137 test "x$WITH_DOXYGEN" = x1 && sum_doxygen=OK || sum_doxygen="no * (optional)" 134 138 test "x$WITH_DOT" = x1 && sum_dot=OK || sum_dot="no * (optional)" 139 test "x$WITH_BOOST" = x1 && sum_boost=OK || sum_dot="no * (MANDATORY)" 135 140 test "x$have_qt" = xyes && sum_qt=OK || sum_qt="no * (MANDATORY)" 136 141 … … 147 152 Doxygen ${sum_doxygen} 148 153 dot ${sum_dot} 154 BOOST ${sum_boost} 149 155 Qt ${sum_qt} 150 156 EOT branches/feuillard/devel/lib/bootstrap
r698 r981 56 56 #libtoolize --force --copy --ltdl --ltdl-tar 57 57 #libtoolize --force --copy 58 libtoolize --automake 1>libtoolize.log 2>&158 libtoolize --automake --copy 1>libtoolize.log 2>&1 59 59 echo "OK" 60 60 branches/feuillard/devel/lib/config/common.am
r953 r981 37 37 AM_FFLAGS = $(OT_FFLAGS) 38 38 AM_CXXFLAGS = $(OT_CXXFLAGS) 39 40 if WITH_BOOST 41 AM_CPPFLAGS += $(BOOST_CPPFLAGS) 42 endif branches/feuillard/devel/lib/configure.ac
r953 r981 30 30 # Initialize Autoconf 31 31 AC_INIT([OpenTURNS platform library], 32 [0.12. 1],32 [0.12.2], 33 33 [bugs@openturns.org], 34 34 [openturns]) … … 40 40 AC_CONFIG_AUX_DIR([config]) 41 41 AC_SUBST([ac_aux_dir]) 42 AC_CONFIG_MACRO_DIR([m4]) 42 43 43 44 # chooze our own configuration file for inclusion in source files … … 268 269 Makefile 269 270 m4/Makefile 271 m4/examples/configure.ac 270 272 etc/Makefile 271 273 etc/openturns.conf branches/feuillard/devel/lib/etc/openturns.conf.in
r953 r981 3 3 You can edit its content, or better override it by providing 4 4 your own file : 5 * either copy this file in $HOME/openturns/etc /configuration5 * either copy this file in $HOME/openturns/etc 6 6 and edit this one with your defaults 7 7 * or put a modified copy of this file in your favorite path and … … 18 18 <real-regexp-shortcut value="\R" /> 19 19 <integer-regexp-shortcut value="\I" /> 20 <separator-regexp-shortcut value="\S" /> 20 21 <cache-max-size value="1024" /> 21 22 branches/feuillard/devel/lib/m4/Makefile.am
r631 r981 43 43 } > package.m4 44 44 @echo "Creating package.m4" 45 46 examplesdir = $(pkgdatadir)/examples 47 examplesM4dir = $(pkgdatadir)/examples/m4 48 49 dataFiles = examples/Makefile.am 50 dataFiles += examples/bootstrap 51 dataFiles += examples/README 52 dataFiles += examples/AUTHORS 53 m4Files = examples/m4/ot_check_boost.m4 54 m4Files += examples/m4/ot_check_openturns.m4 55 m4Files += examples/m4/ot_check_qt.m4 56 m4Files += examples/m4/bnv_have_qt.m4 57 58 examples_DATA = examples/configure.ac 59 examples_DATA += $(dataFiles) 60 examplesM4_DATA = $(m4Files) 61 62 EXTRA_DIST += examples/configure.ac.in 63 EXTRA_DIST += $(dataFiles) 64 EXTRA_DIST += $(m4Files) 65 66 install-data-hook: 67 -( cd $(examplesdir) && chmod +x bootstrap && ./bootstrap ) 68 69 uninstall-hook: 70 rm -rf $(examplesdir)/COPYING 71 rm -rf $(examplesdir)/NEWS 72 rm -rf $(examplesdir)/ChangeLog 73 rm -rf $(examplesdir)/INSTALL 74 rm -rf $(examplesdir)/Makefile.in 75 rm -rf $(examplesdir)/configure 76 rm -rf $(examplesdir)/*.m4 77 rm -rf $(examplesdir)/autom4te.cache 78 rm -rf $(examplesdir)/config 79 rm -rf $(examplesdir)/m4 80 81 examples/configure.ac : configure-stamp-h 82 configure-stamp-h : examples/configure.ac.in $(top_builddir)/config.status 83 (cd $(top_builddir) && CONFIG_FILES=m4/examples/configure.ac ./config.status) 84 echo > $@ 85 86 DISTCLEANFILES = configure-stamp-h branches/feuillard/devel/lib/m4/ot_check_boost.m4
r936 r981 36 36 WITH_BOOST=0 37 37 38 saved_CPPFLAGS=$CPPFLAGS 39 40 #BOOST_CPPFLAGS="-DBOOST_SP_USE_PTHREADS" 41 BOOST_CPPFLAGS= 42 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" 38 43 AC_CHECK_HEADER([boost/shared_ptr.hpp], [boost_shared_ptr_header_file_found=yes], [boost_shared_ptr_header_file_found=no]) 39 44 test $boost_shared_ptr_header_file_found = yes || AC_MSG_ERROR([BOOST header file NOT found.]) … … 41 46 WITH_BOOST=1 42 47 48 CPPFLAGS=$saved_CPPFLAGS 49 43 50 AC_LANG_POP([C++]) 51 52 AC_SUBST(BOOST_CPPFLAGS) 53 AM_CONDITIONAL(WITH_BOOST, test $WITH_BOOST = 1) 44 54 ]) branches/feuillard/devel/lib/src/Base/Common/Makefile.am
r953 r981 48 48 &n
