/usr/lib/python2.7/dist-packages/openturns/metamodel.py is in python-openturns 1.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
Meta-modelling.
"""
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_metamodel', [dirname(__file__)])
except ImportError:
import _metamodel
return _metamodel
if fp is not None:
try:
_mod = imp.load_module('_metamodel', fp, pathname, description)
finally:
fp.close()
return _mod
_metamodel = swig_import_helper()
del swig_import_helper
else:
import _metamodel
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
class SwigPyIterator(_object):
"""Proxy of C++ swig::SwigPyIterator class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _metamodel.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self):
"""value(SwigPyIterator self) -> PyObject *"""
return _metamodel.SwigPyIterator_value(self)
def incr(self, n=1):
"""
incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
incr(SwigPyIterator self) -> SwigPyIterator
"""
return _metamodel.SwigPyIterator_incr(self, n)
def decr(self, n=1):
"""
decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
decr(SwigPyIterator self) -> SwigPyIterator
"""
return _metamodel.SwigPyIterator_decr(self, n)
def distance(self, *args):
"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
return _metamodel.SwigPyIterator_distance(self, *args)
def equal(self, *args):
"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _metamodel.SwigPyIterator_equal(self, *args)
def copy(self):
"""copy(SwigPyIterator self) -> SwigPyIterator"""
return _metamodel.SwigPyIterator_copy(self)
def next(self):
"""next(SwigPyIterator self) -> PyObject *"""
return _metamodel.SwigPyIterator_next(self)
def __next__(self):
"""__next__(SwigPyIterator self) -> PyObject *"""
return _metamodel.SwigPyIterator___next__(self)
def previous(self):
"""previous(SwigPyIterator self) -> PyObject *"""
return _metamodel.SwigPyIterator_previous(self)
def advance(self, *args):
"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _metamodel.SwigPyIterator_advance(self, *args)
def __eq__(self, *args):
"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _metamodel.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args):
"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _metamodel.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args):
"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _metamodel.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args):
"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _metamodel.SwigPyIterator___isub__(self, *args)
def __add__(self, *args):
"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _metamodel.SwigPyIterator___add__(self, *args)
def __sub__(self, *args):
"""
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
"""
return _metamodel.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _metamodel.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
GCC_VERSION = _metamodel.GCC_VERSION
class TestFailed:
"""
TestFailed is used to raise an uniform exception in tests
"""
__type = "TestFailed"
def __init__(self,reason=""):
self.reason = reason
def type(self):
return TestFailed.__type
def what(self):
return self.reason
def __str__(self):
return TestFailed.__type + ": " + self.reason
def __lshift__(self,ch):
self.reason += ch
return self
import openturns.common
import openturns.typ
import openturns.wrapper
class TestResult(openturns.common.PersistentObject):
"""Proxy of C++ OT::TestResult class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, TestResult, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, TestResult, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.TestResult_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(TestResult self) -> OT::String"""
return _metamodel.TestResult_getClassName(self)
def setDescription(self, *args):
"""setDescription(TestResult self, Description description)"""
return _metamodel.TestResult_setDescription(self, *args)
def getDescription(self):
"""getDescription(TestResult self) -> Description"""
return _metamodel.TestResult_getDescription(self)
def __repr__(self):
"""__repr__(TestResult self) -> OT::String"""
return _metamodel.TestResult___repr__(self)
def getBinaryQualityMeasure(self):
"""getBinaryQualityMeasure(TestResult self) -> OT::Bool"""
return _metamodel.TestResult_getBinaryQualityMeasure(self)
def getPValue(self):
"""getPValue(TestResult self) -> OT::NumericalScalar"""
return _metamodel.TestResult_getPValue(self)
def getThreshold(self):
"""getThreshold(TestResult self) -> OT::NumericalScalar"""
return _metamodel.TestResult_getThreshold(self)
def getTestType(self):
"""getTestType(TestResult self) -> OT::String"""
return _metamodel.TestResult_getTestType(self)
def __eq__(self, *args):
"""__eq__(TestResult self, TestResult other) -> OT::Bool"""
return _metamodel.TestResult___eq__(self, *args)
def __init__(self, *args):
"""
__init__(OT::TestResult self) -> TestResult
__init__(OT::TestResult self, OT::String const & type, OT::Bool const binMeasure, OT::NumericalScalar const pVal,
OT::NumericalScalar const pThreshold) -> TestResult
__init__(OT::TestResult self, TestResult other) -> TestResult
__init__(OT::TestResult self, PyObject * pyObj) -> TestResult
"""
this = _metamodel.new_TestResult(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_TestResult
__del__ = lambda self : None;
TestResult_swigregister = _metamodel.TestResult_swigregister
TestResult_swigregister(TestResult)
def TestResult_GetClassName():
"""TestResult_GetClassName() -> OT::String"""
return _metamodel.TestResult_GetClassName()
import openturns.base
import openturns.statistics
import openturns.graph
import openturns.func
import openturns.geom
import openturns.diff
import openturns.optim
import openturns.solver
import openturns.algo
import openturns.experiment
import openturns.model_copula
import openturns.weightedexperiment
import openturns.orthogonalbasis
import openturns.randomvector
class MetaModelResult(openturns.common.PersistentObject):
"""Proxy of C++ OT::MetaModelResult class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, MetaModelResult, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, MetaModelResult, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.MetaModelResult_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(MetaModelResult self) -> OT::String"""
return _metamodel.MetaModelResult_getClassName(self)
def setModel(self, *args):
"""setModel(MetaModelResult self, NumericalMathFunction model)"""
return _metamodel.MetaModelResult_setModel(self, *args)
def getModel(self):
"""getModel(MetaModelResult self) -> NumericalMathFunction"""
return _metamodel.MetaModelResult_getModel(self)
def setMetaModel(self, *args):
"""setMetaModel(MetaModelResult self, NumericalMathFunction metaModel)"""
return _metamodel.MetaModelResult_setMetaModel(self, *args)
def getMetaModel(self):
"""getMetaModel(MetaModelResult self) -> NumericalMathFunction"""
return _metamodel.MetaModelResult_getMetaModel(self)
def setResiduals(self, *args):
"""setResiduals(MetaModelResult self, NumericalPoint residuals)"""
return _metamodel.MetaModelResult_setResiduals(self, *args)
def getResiduals(self):
"""getResiduals(MetaModelResult self) -> NumericalPoint"""
return _metamodel.MetaModelResult_getResiduals(self)
def setRelativeErrors(self, *args):
"""setRelativeErrors(MetaModelResult self, NumericalPoint relativeErrors)"""
return _metamodel.MetaModelResult_setRelativeErrors(self, *args)
def getRelativeErrors(self):
"""getRelativeErrors(MetaModelResult self) -> NumericalPoint"""
return _metamodel.MetaModelResult_getRelativeErrors(self)
def __repr__(self):
"""__repr__(MetaModelResult self) -> OT::String"""
return _metamodel.MetaModelResult___repr__(self)
def __init__(self, *args):
"""
__init__(OT::MetaModelResult self) -> MetaModelResult
__init__(OT::MetaModelResult self, NumericalMathFunction model, NumericalMathFunction metaModel, NumericalPoint residuals,
NumericalPoint relativeErrors) -> MetaModelResult
__init__(OT::MetaModelResult self, MetaModelResult other) -> MetaModelResult
"""
this = _metamodel.new_MetaModelResult(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_MetaModelResult
__del__ = lambda self : None;
MetaModelResult_swigregister = _metamodel.MetaModelResult_swigregister
MetaModelResult_swigregister(MetaModelResult)
def MetaModelResult_GetClassName():
"""MetaModelResult_GetClassName() -> OT::String"""
return _metamodel.MetaModelResult_GetClassName()
class MetaModelAlgorithm(openturns.common.PersistentObject):
"""Proxy of C++ OT::MetaModelAlgorithm class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, MetaModelAlgorithm, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, MetaModelAlgorithm, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.MetaModelAlgorithm_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(MetaModelAlgorithm self) -> OT::String"""
return _metamodel.MetaModelAlgorithm_getClassName(self)
def __repr__(self):
"""__repr__(MetaModelAlgorithm self) -> OT::String"""
return _metamodel.MetaModelAlgorithm___repr__(self)
def setDistribution(self, *args):
"""setDistribution(MetaModelAlgorithm self, Distribution distribution)"""
return _metamodel.MetaModelAlgorithm_setDistribution(self, *args)
def getDistribution(self):
"""getDistribution(MetaModelAlgorithm self) -> Distribution"""
return _metamodel.MetaModelAlgorithm_getDistribution(self)
def run(self):
"""run(MetaModelAlgorithm self)"""
return _metamodel.MetaModelAlgorithm_run(self)
def getInputSample(self):
"""getInputSample(MetaModelAlgorithm self) -> NumericalSample"""
return _metamodel.MetaModelAlgorithm_getInputSample(self)
def getOutputSample(self):
"""getOutputSample(MetaModelAlgorithm self) -> NumericalSample"""
return _metamodel.MetaModelAlgorithm_getOutputSample(self)
def __init__(self, *args):
"""
__init__(OT::MetaModelAlgorithm self, OT::String const & name=DefaultName) -> MetaModelAlgorithm
__init__(OT::MetaModelAlgorithm self) -> MetaModelAlgorithm
__init__(OT::MetaModelAlgorithm self, Distribution distribution, NumericalMathFunction model, OT::String const & name=DefaultName) -> MetaModelAlgorithm
__init__(OT::MetaModelAlgorithm self, Distribution distribution, NumericalMathFunction model) -> MetaModelAlgorithm
__init__(OT::MetaModelAlgorithm self, MetaModelAlgorithm other) -> MetaModelAlgorithm
"""
this = _metamodel.new_MetaModelAlgorithm(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_MetaModelAlgorithm
__del__ = lambda self : None;
MetaModelAlgorithm_swigregister = _metamodel.MetaModelAlgorithm_swigregister
MetaModelAlgorithm_swigregister(MetaModelAlgorithm)
def MetaModelAlgorithm_GetClassName():
"""MetaModelAlgorithm_GetClassName() -> OT::String"""
return _metamodel.MetaModelAlgorithm_GetClassName()
class LinearTaylor(openturns.common.PersistentObject):
"""Proxy of C++ OT::LinearTaylor class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, LinearTaylor, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, LinearTaylor, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.LinearTaylor_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(LinearTaylor self) -> OT::String"""
return _metamodel.LinearTaylor_getClassName(self)
def __repr__(self):
"""__repr__(LinearTaylor self) -> OT::String"""
return _metamodel.LinearTaylor___repr__(self)
def run(self):
"""run(LinearTaylor self)"""
return _metamodel.LinearTaylor_run(self)
def getCenter(self):
"""getCenter(LinearTaylor self) -> NumericalPoint"""
return _metamodel.LinearTaylor_getCenter(self)
def getConstant(self):
"""getConstant(LinearTaylor self) -> NumericalPoint"""
return _metamodel.LinearTaylor_getConstant(self)
def getLinear(self):
"""getLinear(LinearTaylor self) -> Matrix"""
return _metamodel.LinearTaylor_getLinear(self)
def getInputFunction(self):
"""getInputFunction(LinearTaylor self) -> NumericalMathFunction"""
return _metamodel.LinearTaylor_getInputFunction(self)
def getResponseSurface(self):
"""getResponseSurface(LinearTaylor self) -> NumericalMathFunction"""
return _metamodel.LinearTaylor_getResponseSurface(self)
def __init__(self, *args):
"""
__init__(OT::LinearTaylor self, OT::String const & name=DefaultName) -> LinearTaylor
__init__(OT::LinearTaylor self) -> LinearTaylor
__init__(OT::LinearTaylor self, NumericalPoint center, NumericalMathFunction inputFunction, OT::String const & name=DefaultName) -> LinearTaylor
__init__(OT::LinearTaylor self, NumericalPoint center, NumericalMathFunction inputFunction) -> LinearTaylor
__init__(OT::LinearTaylor self, LinearTaylor other) -> LinearTaylor
"""
this = _metamodel.new_LinearTaylor(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_LinearTaylor
__del__ = lambda self : None;
LinearTaylor_swigregister = _metamodel.LinearTaylor_swigregister
LinearTaylor_swigregister(LinearTaylor)
def LinearTaylor_GetClassName():
"""LinearTaylor_GetClassName() -> OT::String"""
return _metamodel.LinearTaylor_GetClassName()
class QuadraticTaylor(openturns.common.PersistentObject):
"""Proxy of C++ OT::QuadraticTaylor class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, QuadraticTaylor, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, QuadraticTaylor, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.QuadraticTaylor_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(QuadraticTaylor self) -> OT::String"""
return _metamodel.QuadraticTaylor_getClassName(self)
def __repr__(self):
"""__repr__(QuadraticTaylor self) -> OT::String"""
return _metamodel.QuadraticTaylor___repr__(self)
def run(self):
"""run(QuadraticTaylor self)"""
return _metamodel.QuadraticTaylor_run(self)
def getCenter(self):
"""getCenter(QuadraticTaylor self) -> NumericalPoint"""
return _metamodel.QuadraticTaylor_getCenter(self)
def getConstant(self):
"""getConstant(QuadraticTaylor self) -> NumericalPoint"""
return _metamodel.QuadraticTaylor_getConstant(self)
def getLinear(self):
"""getLinear(QuadraticTaylor self) -> Matrix"""
return _metamodel.QuadraticTaylor_getLinear(self)
def getQuadratic(self):
"""getQuadratic(QuadraticTaylor self) -> SymmetricTensor"""
return _metamodel.QuadraticTaylor_getQuadratic(self)
def getInputFunction(self):
"""getInputFunction(QuadraticTaylor self) -> NumericalMathFunction"""
return _metamodel.QuadraticTaylor_getInputFunction(self)
def getResponseSurface(self):
"""getResponseSurface(QuadraticTaylor self) -> NumericalMathFunction"""
return _metamodel.QuadraticTaylor_getResponseSurface(self)
def __init__(self, *args):
"""
__init__(OT::QuadraticTaylor self, OT::String const & name=DefaultName) -> QuadraticTaylor
__init__(OT::QuadraticTaylor self) -> QuadraticTaylor
__init__(OT::QuadraticTaylor self, NumericalPoint center, NumericalMathFunction inputFunction, OT::String const & name=DefaultName) -> QuadraticTaylor
__init__(OT::QuadraticTaylor self, NumericalPoint center, NumericalMathFunction inputFunction) -> QuadraticTaylor
__init__(OT::QuadraticTaylor self, QuadraticTaylor other) -> QuadraticTaylor
"""
this = _metamodel.new_QuadraticTaylor(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_QuadraticTaylor
__del__ = lambda self : None;
QuadraticTaylor_swigregister = _metamodel.QuadraticTaylor_swigregister
QuadraticTaylor_swigregister(QuadraticTaylor)
def QuadraticTaylor_GetClassName():
"""QuadraticTaylor_GetClassName() -> OT::String"""
return _metamodel.QuadraticTaylor_GetClassName()
class LinearLeastSquares(openturns.common.PersistentObject):
"""Proxy of C++ OT::LinearLeastSquares class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, LinearLeastSquares, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, LinearLeastSquares, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.LinearLeastSquares_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(LinearLeastSquares self) -> OT::String"""
return _metamodel.LinearLeastSquares_getClassName(self)
def __repr__(self):
"""__repr__(LinearLeastSquares self) -> OT::String"""
return _metamodel.LinearLeastSquares___repr__(self)
def run(self):
"""run(LinearLeastSquares self)"""
return _metamodel.LinearLeastSquares_run(self)
def getConstant(self):
"""getConstant(LinearLeastSquares self) -> NumericalPoint"""
return _metamodel.LinearLeastSquares_getConstant(self)
def getLinear(self):
"""getLinear(LinearLeastSquares self) -> Matrix"""
return _metamodel.LinearLeastSquares_getLinear(self)
def getInputFunction(self):
"""getInputFunction(LinearLeastSquares self) -> NumericalMathFunction"""
return _metamodel.LinearLeastSquares_getInputFunction(self)
def getResponseSurface(self):
"""getResponseSurface(LinearLeastSquares self) -> NumericalMathFunction"""
return _metamodel.LinearLeastSquares_getResponseSurface(self)
def getDataIn(self):
"""getDataIn(LinearLeastSquares self) -> NumericalSample"""
return _metamodel.LinearLeastSquares_getDataIn(self)
def setDataOut(self, *args):
"""setDataOut(LinearLeastSquares self, NumericalSample dataOut)"""
return _metamodel.LinearLeastSquares_setDataOut(self, *args)
def getDataOut(self):
"""getDataOut(LinearLeastSquares self) -> NumericalSample"""
return _metamodel.LinearLeastSquares_getDataOut(self)
def __init__(self, *args):
"""
__init__(OT::LinearLeastSquares self, NumericalSample dataIn, NumericalMathFunction inputFunction, OT::String const & name=DefaultName) -> LinearLeastSquares
__init__(OT::LinearLeastSquares self, NumericalSample dataIn, NumericalMathFunction inputFunction) -> LinearLeastSquares
__init__(OT::LinearLeastSquares self, NumericalSample dataIn, NumericalSample dataOut, OT::String const & name=DefaultName) -> LinearLeastSquares
__init__(OT::LinearLeastSquares self, NumericalSample dataIn, NumericalSample dataOut) -> LinearLeastSquares
__init__(OT::LinearLeastSquares self, LinearLeastSquares other) -> LinearLeastSquares
"""
this = _metamodel.new_LinearLeastSquares(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_LinearLeastSquares
__del__ = lambda self : None;
LinearLeastSquares_swigregister = _metamodel.LinearLeastSquares_swigregister
LinearLeastSquares_swigregister(LinearLeastSquares)
def LinearLeastSquares_GetClassName():
"""LinearLeastSquares_GetClassName() -> OT::String"""
return _metamodel.LinearLeastSquares_GetClassName()
class QuadraticLeastSquares(openturns.common.PersistentObject):
"""Proxy of C++ OT::QuadraticLeastSquares class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, QuadraticLeastSquares, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, QuadraticLeastSquares, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.QuadraticLeastSquares_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(QuadraticLeastSquares self) -> OT::String"""
return _metamodel.QuadraticLeastSquares_getClassName(self)
def __repr__(self):
"""__repr__(QuadraticLeastSquares self) -> OT::String"""
return _metamodel.QuadraticLeastSquares___repr__(self)
def run(self):
"""run(QuadraticLeastSquares self)"""
return _metamodel.QuadraticLeastSquares_run(self)
def getConstant(self):
"""getConstant(QuadraticLeastSquares self) -> NumericalPoint"""
return _metamodel.QuadraticLeastSquares_getConstant(self)
def getLinear(self):
"""getLinear(QuadraticLeastSquares self) -> Matrix"""
return _metamodel.QuadraticLeastSquares_getLinear(self)
def getQuadratic(self):
"""getQuadratic(QuadraticLeastSquares self) -> SymmetricTensor"""
return _metamodel.QuadraticLeastSquares_getQuadratic(self)
def getInputFunction(self):
"""getInputFunction(QuadraticLeastSquares self) -> NumericalMathFunction"""
return _metamodel.QuadraticLeastSquares_getInputFunction(self)
def getResponseSurface(self):
"""getResponseSurface(QuadraticLeastSquares self) -> NumericalMathFunction"""
return _metamodel.QuadraticLeastSquares_getResponseSurface(self)
def getDataIn(self):
"""getDataIn(QuadraticLeastSquares self) -> NumericalSample"""
return _metamodel.QuadraticLeastSquares_getDataIn(self)
def setDataOut(self, *args):
"""setDataOut(QuadraticLeastSquares self, NumericalSample dataOut)"""
return _metamodel.QuadraticLeastSquares_setDataOut(self, *args)
def getDataOut(self):
"""getDataOut(QuadraticLeastSquares self) -> NumericalSample"""
return _metamodel.QuadraticLeastSquares_getDataOut(self)
def __init__(self, *args):
"""
__init__(OT::QuadraticLeastSquares self, NumericalSample dataIn, NumericalMathFunction inputFunction, OT::String const & name=DefaultName) -> QuadraticLeastSquares
__init__(OT::QuadraticLeastSquares self, NumericalSample dataIn, NumericalMathFunction inputFunction) -> QuadraticLeastSquares
__init__(OT::QuadraticLeastSquares self, NumericalSample dataIn, NumericalSample dataOut, OT::String const & name=DefaultName) -> QuadraticLeastSquares
__init__(OT::QuadraticLeastSquares self, NumericalSample dataIn, NumericalSample dataOut) -> QuadraticLeastSquares
__init__(OT::QuadraticLeastSquares self, QuadraticLeastSquares other) -> QuadraticLeastSquares
"""
this = _metamodel.new_QuadraticLeastSquares(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_QuadraticLeastSquares
__del__ = lambda self : None;
QuadraticLeastSquares_swigregister = _metamodel.QuadraticLeastSquares_swigregister
QuadraticLeastSquares_swigregister(QuadraticLeastSquares)
def QuadraticLeastSquares_GetClassName():
"""QuadraticLeastSquares_GetClassName() -> OT::String"""
return _metamodel.QuadraticLeastSquares_GetClassName()
class AdaptiveStrategyImplementation(openturns.common.PersistentObject):
"""Proxy of C++ OT::AdaptiveStrategyImplementation class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AdaptiveStrategyImplementation, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, AdaptiveStrategyImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.AdaptiveStrategyImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(AdaptiveStrategyImplementation self) -> OT::String"""
return _metamodel.AdaptiveStrategyImplementation_getClassName(self)
def setMaximumDimension(self, *args):
"""setMaximumDimension(AdaptiveStrategyImplementation self, OT::UnsignedLong const maximumDimension)"""
return _metamodel.AdaptiveStrategyImplementation_setMaximumDimension(self, *args)
def getMaximumDimension(self):
"""getMaximumDimension(AdaptiveStrategyImplementation self) -> OT::UnsignedLong"""
return _metamodel.AdaptiveStrategyImplementation_getMaximumDimension(self)
def computeInitialBasis(self):
"""computeInitialBasis(AdaptiveStrategyImplementation self)"""
return _metamodel.AdaptiveStrategyImplementation_computeInitialBasis(self)
def updateBasis(self, *args):
"""updateBasis(AdaptiveStrategyImplementation self, NumericalPoint alpha_k_p_, OT::NumericalScalar const residual_p_, OT::NumericalScalar const relativeError_p_)"""
return _metamodel.AdaptiveStrategyImplementation_updateBasis(self, *args)
def __repr__(self):
"""__repr__(AdaptiveStrategyImplementation self) -> OT::String"""
return _metamodel.AdaptiveStrategyImplementation___repr__(self)
def getBasis(self):
"""getBasis(AdaptiveStrategyImplementation self) -> OrthogonalBasis"""
return _metamodel.AdaptiveStrategyImplementation_getBasis(self)
def getPsi(self):
"""getPsi(AdaptiveStrategyImplementation self) -> NumericalMathFunctionCollection"""
return _metamodel.AdaptiveStrategyImplementation_getPsi(self)
def __init__(self, *args):
"""
__init__(OT::AdaptiveStrategyImplementation self) -> AdaptiveStrategyImplementation
__init__(OT::AdaptiveStrategyImplementation self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension) -> AdaptiveStrategyImplementation
__init__(OT::AdaptiveStrategyImplementation self, AdaptiveStrategyImplementation other) -> AdaptiveStrategyImplementation
"""
this = _metamodel.new_AdaptiveStrategyImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_AdaptiveStrategyImplementation
__del__ = lambda self : None;
AdaptiveStrategyImplementation_swigregister = _metamodel.AdaptiveStrategyImplementation_swigregister
AdaptiveStrategyImplementation_swigregister(AdaptiveStrategyImplementation)
def AdaptiveStrategyImplementation_GetClassName():
"""AdaptiveStrategyImplementation_GetClassName() -> OT::String"""
return _metamodel.AdaptiveStrategyImplementation_GetClassName()
class FixedStrategy(AdaptiveStrategyImplementation):
"""Proxy of C++ OT::FixedStrategy class"""
__swig_setmethods__ = {}
for _s in [AdaptiveStrategyImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FixedStrategy, name, value)
__swig_getmethods__ = {}
for _s in [AdaptiveStrategyImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, FixedStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.FixedStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(FixedStrategy self) -> OT::String"""
return _metamodel.FixedStrategy_getClassName(self)
def computeInitialBasis(self):
"""computeInitialBasis(FixedStrategy self)"""
return _metamodel.FixedStrategy_computeInitialBasis(self)
def updateBasis(self, *args):
"""updateBasis(FixedStrategy self, NumericalPoint alpha_k_p_, OT::NumericalScalar const residual_p_, OT::NumericalScalar const relativeError_p_)"""
return _metamodel.FixedStrategy_updateBasis(self, *args)
def __repr__(self):
"""__repr__(FixedStrategy self) -> OT::String"""
return _metamodel.FixedStrategy___repr__(self)
def __init__(self, *args):
"""
__init__(OT::FixedStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension) -> FixedStrategy
__init__(OT::FixedStrategy self, FixedStrategy other) -> FixedStrategy
"""
this = _metamodel.new_FixedStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_FixedStrategy
__del__ = lambda self : None;
FixedStrategy_swigregister = _metamodel.FixedStrategy_swigregister
FixedStrategy_swigregister(FixedStrategy)
def FixedStrategy_GetClassName():
"""FixedStrategy_GetClassName() -> OT::String"""
return _metamodel.FixedStrategy_GetClassName()
class SequentialStrategy(AdaptiveStrategyImplementation):
"""Proxy of C++ OT::SequentialStrategy class"""
__swig_setmethods__ = {}
for _s in [AdaptiveStrategyImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SequentialStrategy, name, value)
__swig_getmethods__ = {}
for _s in [AdaptiveStrategyImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SequentialStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.SequentialStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(SequentialStrategy self) -> OT::String"""
return _metamodel.SequentialStrategy_getClassName(self)
def computeInitialBasis(self):
"""computeInitialBasis(SequentialStrategy self)"""
return _metamodel.SequentialStrategy_computeInitialBasis(self)
def updateBasis(self, *args):
"""updateBasis(SequentialStrategy self, NumericalPoint alpha_k_p_, OT::NumericalScalar const residual_p_, OT::NumericalScalar const relativeError_p_)"""
return _metamodel.SequentialStrategy_updateBasis(self, *args)
def __repr__(self):
"""__repr__(SequentialStrategy self) -> OT::String"""
return _metamodel.SequentialStrategy___repr__(self)
def __init__(self, *args):
"""
__init__(OT::SequentialStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension, OT::Bool const verbose=False) -> SequentialStrategy
__init__(OT::SequentialStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension) -> SequentialStrategy
__init__(OT::SequentialStrategy self, SequentialStrategy other) -> SequentialStrategy
"""
this = _metamodel.new_SequentialStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_SequentialStrategy
__del__ = lambda self : None;
SequentialStrategy_swigregister = _metamodel.SequentialStrategy_swigregister
SequentialStrategy_swigregister(SequentialStrategy)
def SequentialStrategy_GetClassName():
"""SequentialStrategy_GetClassName() -> OT::String"""
return _metamodel.SequentialStrategy_GetClassName()
class CleaningStrategy(AdaptiveStrategyImplementation):
"""Proxy of C++ OT::CleaningStrategy class"""
__swig_setmethods__ = {}
for _s in [AdaptiveStrategyImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CleaningStrategy, name, value)
__swig_getmethods__ = {}
for _s in [AdaptiveStrategyImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, CleaningStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.CleaningStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(CleaningStrategy self) -> OT::String"""
return _metamodel.CleaningStrategy_getClassName(self)
def computeInitialBasis(self):
"""computeInitialBasis(CleaningStrategy self)"""
return _metamodel.CleaningStrategy_computeInitialBasis(self)
def updateBasis(self, *args):
"""updateBasis(CleaningStrategy self, NumericalPoint alpha_k_p_, OT::NumericalScalar const residual_p_, OT::NumericalScalar const relativeError_p_)"""
return _metamodel.CleaningStrategy_updateBasis(self, *args)
def __repr__(self):
"""__repr__(CleaningStrategy self) -> OT::String"""
return _metamodel.CleaningStrategy___repr__(self)
def getCurrentVectorIndex(self):
"""getCurrentVectorIndex(CleaningStrategy self) -> OT::UnsignedLong"""
return _metamodel.CleaningStrategy_getCurrentVectorIndex(self)
def getMaximumSize(self):
"""getMaximumSize(CleaningStrategy self) -> OT::UnsignedLong"""
return _metamodel.CleaningStrategy_getMaximumSize(self)
def setMaximumSize(self, *args):
"""setMaximumSize(CleaningStrategy self, OT::UnsignedLong const maximumSize)"""
return _metamodel.CleaningStrategy_setMaximumSize(self, *args)
def getSignificanceFactor(self):
"""getSignificanceFactor(CleaningStrategy self) -> OT::NumericalScalar"""
return _metamodel.CleaningStrategy_getSignificanceFactor(self)
def setSignificanceFactor(self, *args):
"""setSignificanceFactor(CleaningStrategy self, OT::NumericalScalar const significanceFactor)"""
return _metamodel.CleaningStrategy_setSignificanceFactor(self, *args)
def getVerbose(self):
"""getVerbose(CleaningStrategy self) -> OT::Bool"""
return _metamodel.CleaningStrategy_getVerbose(self)
def setVerbose(self, *args):
"""setVerbose(CleaningStrategy self, OT::Bool const verbose)"""
return _metamodel.CleaningStrategy_setVerbose(self, *args)
def __init__(self, *args):
"""
__init__(OT::CleaningStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension, OT::Bool const verbose=False) -> CleaningStrategy
__init__(OT::CleaningStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension) -> CleaningStrategy
__init__(OT::CleaningStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension, OT::UnsignedLong const maximumSize,
OT::NumericalScalar const significanceFactor, OT::Bool const verbose=False) -> CleaningStrategy
__init__(OT::CleaningStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension, OT::UnsignedLong const maximumSize,
OT::NumericalScalar const significanceFactor) -> CleaningStrategy
__init__(OT::CleaningStrategy self, CleaningStrategy other) -> CleaningStrategy
"""
this = _metamodel.new_CleaningStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_CleaningStrategy
__del__ = lambda self : None;
CleaningStrategy_swigregister = _metamodel.CleaningStrategy_swigregister
CleaningStrategy_swigregister(CleaningStrategy)
def CleaningStrategy_GetClassName():
"""CleaningStrategy_GetClassName() -> OT::String"""
return _metamodel.CleaningStrategy_GetClassName()
class AdaptiveStrategyImplementationTypedInterfaceObject(openturns.common.InterfaceObject):
"""Proxy of C++ OT::TypedInterfaceObject<(OT::AdaptiveStrategyImplementation)> class"""
__swig_setmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AdaptiveStrategyImplementationTypedInterfaceObject, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, AdaptiveStrategyImplementationTypedInterfaceObject, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(OT::TypedInterfaceObject<(OT::AdaptiveStrategyImplementation)> self) -> AdaptiveStrategyImplementationTypedInterfaceObject
__init__(OT::TypedInterfaceObject<(OT::AdaptiveStrategyImplementation)> self, OT::TypedInterfaceObject< OT::AdaptiveStrategyImplementation >::Implementation const & impl) -> AdaptiveStrategyImplementationTypedInterfaceObject
"""
this = _metamodel.new_AdaptiveStrategyImplementationTypedInterfaceObject(*args)
try: self.this.append(this)
except: self.this = this
def getImplementation(self, *args):
"""
getImplementation(AdaptiveStrategyImplementationTypedInterfaceObject self) -> OT::TypedInterfaceObject< OT::AdaptiveStrategyImplementation >::Implementation
getImplementation(AdaptiveStrategyImplementationTypedInterfaceObject self) -> OT::TypedInterfaceObject< OT::AdaptiveStrategyImplementation >::Implementation const &
"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_getImplementation(self, *args)
def getImplementationAsPersistentObject(self):
"""getImplementationAsPersistentObject(AdaptiveStrategyImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)
def setImplementationAsPersistentObject(self, *args):
"""setImplementationAsPersistentObject(AdaptiveStrategyImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)
def swap(self, *args):
"""swap(AdaptiveStrategyImplementationTypedInterfaceObject self, AdaptiveStrategyImplementationTypedInterfaceObject other)"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_swap(self, *args)
def setName(self, *args):
"""setName(AdaptiveStrategyImplementationTypedInterfaceObject self, OT::String const & name)"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_setName(self, *args)
def getName(self):
"""getName(AdaptiveStrategyImplementationTypedInterfaceObject self) -> OT::String"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_getName(self)
def __eq__(self, *args):
"""__eq__(AdaptiveStrategyImplementationTypedInterfaceObject self, AdaptiveStrategyImplementationTypedInterfaceObject other) -> OT::Bool"""
return _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject___eq__(self, *args)
__swig_destroy__ = _metamodel.delete_AdaptiveStrategyImplementationTypedInterfaceObject
__del__ = lambda self : None;
AdaptiveStrategyImplementationTypedInterfaceObject_swigregister = _metamodel.AdaptiveStrategyImplementationTypedInterfaceObject_swigregister
AdaptiveStrategyImplementationTypedInterfaceObject_swigregister(AdaptiveStrategyImplementationTypedInterfaceObject)
class AdaptiveStrategy(AdaptiveStrategyImplementationTypedInterfaceObject):
"""Proxy of C++ OT::AdaptiveStrategy class"""
__swig_setmethods__ = {}
for _s in [AdaptiveStrategyImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AdaptiveStrategy, name, value)
__swig_getmethods__ = {}
for _s in [AdaptiveStrategyImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, AdaptiveStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.AdaptiveStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(AdaptiveStrategy self) -> OT::String"""
return _metamodel.AdaptiveStrategy_getClassName(self)
def setMaximumDimension(self, *args):
"""setMaximumDimension(AdaptiveStrategy self, OT::UnsignedLong const maximumDimension)"""
return _metamodel.AdaptiveStrategy_setMaximumDimension(self, *args)
def getMaximumDimension(self):
"""getMaximumDimension(AdaptiveStrategy self) -> OT::UnsignedLong"""
return _metamodel.AdaptiveStrategy_getMaximumDimension(self)
def computeInitialBasis(self):
"""computeInitialBasis(AdaptiveStrategy self)"""
return _metamodel.AdaptiveStrategy_computeInitialBasis(self)
def updateBasis(self, *args):
"""updateBasis(AdaptiveStrategy self, NumericalPoint alpha_k_p_, OT::NumericalScalar const residual_p_, OT::NumericalScalar const relativeError_p_)"""
return _metamodel.AdaptiveStrategy_updateBasis(self, *args)
def getBasis(self):
"""getBasis(AdaptiveStrategy self) -> OrthogonalBasis"""
return _metamodel.AdaptiveStrategy_getBasis(self)
def getPsi(self):
"""getPsi(AdaptiveStrategy self) -> NumericalMathFunctionCollection"""
return _metamodel.AdaptiveStrategy_getPsi(self)
def __repr__(self):
"""__repr__(AdaptiveStrategy self) -> OT::String"""
return _metamodel.AdaptiveStrategy___repr__(self)
def __str__(self, offset=""):
"""
__str__(AdaptiveStrategy self, OT::String const & offset="") -> OT::String
__str__(AdaptiveStrategy self) -> OT::String
"""
return _metamodel.AdaptiveStrategy___str__(self, offset)
def __init__(self, *args):
"""
__init__(OT::AdaptiveStrategy self) -> AdaptiveStrategy
__init__(OT::AdaptiveStrategy self, OrthogonalBasis basis, OT::UnsignedLong const maximumDimension) -> AdaptiveStrategy
__init__(OT::AdaptiveStrategy self, AdaptiveStrategyImplementation implementation) -> AdaptiveStrategy
__init__(OT::AdaptiveStrategy self, AdaptiveStrategy other) -> AdaptiveStrategy
"""
this = _metamodel.new_AdaptiveStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_AdaptiveStrategy
__del__ = lambda self : None;
AdaptiveStrategy_swigregister = _metamodel.AdaptiveStrategy_swigregister
AdaptiveStrategy_swigregister(AdaptiveStrategy)
def AdaptiveStrategy_GetClassName():
"""AdaptiveStrategy_GetClassName() -> OT::String"""
return _metamodel.AdaptiveStrategy_GetClassName()
class ProjectionStrategyImplementation(openturns.common.PersistentObject):
"""Proxy of C++ OT::ProjectionStrategyImplementation class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ProjectionStrategyImplementation, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ProjectionStrategyImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.ProjectionStrategyImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ProjectionStrategyImplementation self) -> OT::String"""
return _metamodel.ProjectionStrategyImplementation_getClassName(self)
def __repr__(self):
"""__repr__(ProjectionStrategyImplementation self) -> OT::String"""
return _metamodel.ProjectionStrategyImplementation___repr__(self)
def setMeasure(self, *args):
"""setMeasure(ProjectionStrategyImplementation self, Distribution measure)"""
return _metamodel.ProjectionStrategyImplementation_setMeasure(self, *args)
def getMeasure(self):
"""getMeasure(ProjectionStrategyImplementation self) -> Distribution"""
return _metamodel.ProjectionStrategyImplementation_getMeasure(self)
def getInputSample(self):
"""getInputSample(ProjectionStrategyImplementation self) -> NumericalSample"""
return _metamodel.ProjectionStrategyImplementation_getInputSample(self)
def getOutputSample(self):
"""getOutputSample(ProjectionStrategyImplementation self) -> NumericalSample"""
return _metamodel.ProjectionStrategyImplementation_getOutputSample(self)
def setExperiment(self, *args):
"""setExperiment(ProjectionStrategyImplementation self, WeightedExperiment weightedExperiment)"""
return _metamodel.ProjectionStrategyImplementation_setExperiment(self, *args)
def getExperiment(self):
"""getExperiment(ProjectionStrategyImplementation self) -> WeightedExperiment"""
return _metamodel.ProjectionStrategyImplementation_getExperiment(self)
def computeCoefficients(self, *args):
"""
computeCoefficients(ProjectionStrategyImplementation self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks,
OT::UnsignedLong const marginalIndex=0)
computeCoefficients(ProjectionStrategyImplementation self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks)
"""
return _metamodel.ProjectionStrategyImplementation_computeCoefficients(self, *args)
def __init__(self, *args):
"""
__init__(OT::ProjectionStrategyImplementation self) -> ProjectionStrategyImplementation
__init__(OT::ProjectionStrategyImplementation self, Distribution measure) -> ProjectionStrategyImplementation
__init__(OT::ProjectionStrategyImplementation self, WeightedExperiment weightedExperiment) -> ProjectionStrategyImplementation
__init__(OT::ProjectionStrategyImplementation self, Distribution measure, WeightedExperiment weightedExperiment) -> ProjectionStrategyImplementation
__init__(OT::ProjectionStrategyImplementation self, NumericalSample inputSample, NumericalPoint weights, NumericalSample outputSample) -> ProjectionStrategyImplementation
__init__(OT::ProjectionStrategyImplementation self, ProjectionStrategyImplementation other) -> ProjectionStrategyImplementation
"""
this = _metamodel.new_ProjectionStrategyImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_ProjectionStrategyImplementation
__del__ = lambda self : None;
ProjectionStrategyImplementation_swigregister = _metamodel.ProjectionStrategyImplementation_swigregister
ProjectionStrategyImplementation_swigregister(ProjectionStrategyImplementation)
def ProjectionStrategyImplementation_GetClassName():
"""ProjectionStrategyImplementation_GetClassName() -> OT::String"""
return _metamodel.ProjectionStrategyImplementation_GetClassName()
class LeastSquaresStrategy(ProjectionStrategyImplementation):
"""Proxy of C++ OT::LeastSquaresStrategy class"""
__swig_setmethods__ = {}
for _s in [ProjectionStrategyImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, LeastSquaresStrategy, name, value)
__swig_getmethods__ = {}
for _s in [ProjectionStrategyImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, LeastSquaresStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.LeastSquaresStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(LeastSquaresStrategy self) -> OT::String"""
return _metamodel.LeastSquaresStrategy_getClassName(self)
def __repr__(self):
"""__repr__(LeastSquaresStrategy self) -> OT::String"""
return _metamodel.LeastSquaresStrategy___repr__(self)
def computeCoefficients(self, *args):
"""
computeCoefficients(LeastSquaresStrategy self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks,
OT::UnsignedLong const marginalIndex=0)
computeCoefficients(LeastSquaresStrategy self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks)
"""
return _metamodel.LeastSquaresStrategy_computeCoefficients(self, *args)
def __init__(self, *args):
"""
__init__(OT::LeastSquaresStrategy self, ApproximationAlgorithmImplementationFactory factory=OT::PenalizedLeastSquaresAlgorithmFactory()) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, Distribution measure, ApproximationAlgorithmImplementationFactory factory=OT::PenalizedLeastSquaresAlgorithmFactory()) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, Distribution measure) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, WeightedExperiment weightedExperiment, ApproximationAlgorithmImplementationFactory factory=OT::PenalizedLeastSquaresAlgorithmFactory()) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, WeightedExperiment weightedExperiment) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, Distribution measure, WeightedExperiment weightedExperiment, ApproximationAlgorithmImplementationFactory factory=OT::PenalizedLeastSquaresAlgorithmFactory()) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, Distribution measure, WeightedExperiment weightedExperiment) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, NumericalSample inputSample, NumericalPoint weights, NumericalSample outputSample,
ApproximationAlgorithmImplementationFactory factory=OT::PenalizedLeastSquaresAlgorithmFactory()) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, NumericalSample inputSample, NumericalPoint weights, NumericalSample outputSample) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, NumericalSample inputSample, NumericalSample outputSample, ApproximationAlgorithmImplementationFactory factory=OT::PenalizedLeastSquaresAlgorithmFactory()) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, NumericalSample inputSample, NumericalSample outputSample) -> LeastSquaresStrategy
__init__(OT::LeastSquaresStrategy self, LeastSquaresStrategy other) -> LeastSquaresStrategy
"""
this = _metamodel.new_LeastSquaresStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_LeastSquaresStrategy
__del__ = lambda self : None;
LeastSquaresStrategy_swigregister = _metamodel.LeastSquaresStrategy_swigregister
LeastSquaresStrategy_swigregister(LeastSquaresStrategy)
def LeastSquaresStrategy_GetClassName():
"""LeastSquaresStrategy_GetClassName() -> OT::String"""
return _metamodel.LeastSquaresStrategy_GetClassName()
class IntegrationStrategy(ProjectionStrategyImplementation):
"""Proxy of C++ OT::IntegrationStrategy class"""
__swig_setmethods__ = {}
for _s in [ProjectionStrategyImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, IntegrationStrategy, name, value)
__swig_getmethods__ = {}
for _s in [ProjectionStrategyImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, IntegrationStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.IntegrationStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(IntegrationStrategy self) -> OT::String"""
return _metamodel.IntegrationStrategy_getClassName(self)
def __repr__(self):
"""__repr__(IntegrationStrategy self) -> OT::String"""
return _metamodel.IntegrationStrategy___repr__(self)
def computeCoefficients(self, *args):
"""
computeCoefficients(IntegrationStrategy self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks,
OT::UnsignedLong const marginalIndex=0)
computeCoefficients(IntegrationStrategy self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks)
"""
return _metamodel.IntegrationStrategy_computeCoefficients(self, *args)
def __init__(self, *args):
"""
__init__(OT::IntegrationStrategy self) -> IntegrationStrategy
__init__(OT::IntegrationStrategy self, Distribution measure) -> IntegrationStrategy
__init__(OT::IntegrationStrategy self, WeightedExperiment weightedExperiment) -> IntegrationStrategy
__init__(OT::IntegrationStrategy self, Distribution measure, WeightedExperiment weightedExperiment) -> IntegrationStrategy
__init__(OT::IntegrationStrategy self, NumericalSample inputSample, NumericalPoint weights, NumericalSample outputSample) -> IntegrationStrategy
__init__(OT::IntegrationStrategy self, NumericalSample inputSample, NumericalSample outputSample) -> IntegrationStrategy
__init__(OT::IntegrationStrategy self, IntegrationStrategy other) -> IntegrationStrategy
"""
this = _metamodel.new_IntegrationStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_IntegrationStrategy
__del__ = lambda self : None;
IntegrationStrategy_swigregister = _metamodel.IntegrationStrategy_swigregister
IntegrationStrategy_swigregister(IntegrationStrategy)
def IntegrationStrategy_GetClassName():
"""IntegrationStrategy_GetClassName() -> OT::String"""
return _metamodel.IntegrationStrategy_GetClassName()
class ProjectionStrategyImplementationTypedInterfaceObject(openturns.common.InterfaceObject):
"""Proxy of C++ OT::TypedInterfaceObject<(OT::ProjectionStrategyImplementation)> class"""
__swig_setmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ProjectionStrategyImplementationTypedInterfaceObject, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ProjectionStrategyImplementationTypedInterfaceObject, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(OT::TypedInterfaceObject<(OT::ProjectionStrategyImplementation)> self) -> ProjectionStrategyImplementationTypedInterfaceObject
__init__(OT::TypedInterfaceObject<(OT::ProjectionStrategyImplementation)> self, OT::TypedInterfaceObject< OT::ProjectionStrategyImplementation >::Implementation const & impl) -> ProjectionStrategyImplementationTypedInterfaceObject
"""
this = _metamodel.new_ProjectionStrategyImplementationTypedInterfaceObject(*args)
try: self.this.append(this)
except: self.this = this
def getImplementation(self, *args):
"""
getImplementation(ProjectionStrategyImplementationTypedInterfaceObject self) -> OT::TypedInterfaceObject< OT::ProjectionStrategyImplementation >::Implementation
getImplementation(ProjectionStrategyImplementationTypedInterfaceObject self) -> OT::TypedInterfaceObject< OT::ProjectionStrategyImplementation >::Implementation const &
"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_getImplementation(self, *args)
def getImplementationAsPersistentObject(self):
"""getImplementationAsPersistentObject(ProjectionStrategyImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)
def setImplementationAsPersistentObject(self, *args):
"""setImplementationAsPersistentObject(ProjectionStrategyImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)
def swap(self, *args):
"""swap(ProjectionStrategyImplementationTypedInterfaceObject self, ProjectionStrategyImplementationTypedInterfaceObject other)"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_swap(self, *args)
def setName(self, *args):
"""setName(ProjectionStrategyImplementationTypedInterfaceObject self, OT::String const & name)"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_setName(self, *args)
def getName(self):
"""getName(ProjectionStrategyImplementationTypedInterfaceObject self) -> OT::String"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_getName(self)
def __eq__(self, *args):
"""__eq__(ProjectionStrategyImplementationTypedInterfaceObject self, ProjectionStrategyImplementationTypedInterfaceObject other) -> OT::Bool"""
return _metamodel.ProjectionStrategyImplementationTypedInterfaceObject___eq__(self, *args)
__swig_destroy__ = _metamodel.delete_ProjectionStrategyImplementationTypedInterfaceObject
__del__ = lambda self : None;
ProjectionStrategyImplementationTypedInterfaceObject_swigregister = _metamodel.ProjectionStrategyImplementationTypedInterfaceObject_swigregister
ProjectionStrategyImplementationTypedInterfaceObject_swigregister(ProjectionStrategyImplementationTypedInterfaceObject)
class ProjectionStrategy(ProjectionStrategyImplementationTypedInterfaceObject):
"""Proxy of C++ OT::ProjectionStrategy class"""
__swig_setmethods__ = {}
for _s in [ProjectionStrategyImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ProjectionStrategy, name, value)
__swig_getmethods__ = {}
for _s in [ProjectionStrategyImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ProjectionStrategy, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.ProjectionStrategy_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ProjectionStrategy self) -> OT::String"""
return _metamodel.ProjectionStrategy_getClassName(self)
def setMeasure(self, *args):
"""setMeasure(ProjectionStrategy self, Distribution measure)"""
return _metamodel.ProjectionStrategy_setMeasure(self, *args)
def getMeasure(self):
"""getMeasure(ProjectionStrategy self) -> Distribution"""
return _metamodel.ProjectionStrategy_getMeasure(self)
def getInputSample(self):
"""getInputSample(ProjectionStrategy self) -> NumericalSample"""
return _metamodel.ProjectionStrategy_getInputSample(self)
def getOutputSample(self):
"""getOutputSample(ProjectionStrategy self) -> NumericalSample"""
return _metamodel.ProjectionStrategy_getOutputSample(self)
def setExperiment(self, *args):
"""setExperiment(ProjectionStrategy self, WeightedExperiment weightedExperiment)"""
return _metamodel.ProjectionStrategy_setExperiment(self, *args)
def getExperiment(self):
"""getExperiment(ProjectionStrategy self) -> WeightedExperiment"""
return _metamodel.ProjectionStrategy_getExperiment(self)
def computeCoefficients(self, *args):
"""
computeCoefficients(ProjectionStrategy self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks,
OT::UnsignedLong const marginalIndex=0)
computeCoefficients(ProjectionStrategy self, NumericalMathFunction function, NumericalMathFunctionCollection partialBasis, Indices indices,
Indices addedRanks, Indices conservedRanks, Indices removedRanks)
"""
return _metamodel.ProjectionStrategy_computeCoefficients(self, *args)
def __repr__(self):
"""__repr__(ProjectionStrategy self) -> OT::String"""
return _metamodel.ProjectionStrategy___repr__(self)
def __str__(self, offset=""):
"""
__str__(ProjectionStrategy self, OT::String const & offset="") -> OT::String
__str__(ProjectionStrategy self) -> OT::String
"""
return _metamodel.ProjectionStrategy___str__(self, offset)
def __init__(self, *args):
"""
__init__(OT::ProjectionStrategy self) -> ProjectionStrategy
__init__(OT::ProjectionStrategy self, Distribution measure) -> ProjectionStrategy
__init__(OT::ProjectionStrategy self, ProjectionStrategyImplementation implementation) -> ProjectionStrategy
__init__(OT::ProjectionStrategy self, ProjectionStrategy other) -> ProjectionStrategy
"""
this = _metamodel.new_ProjectionStrategy(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_ProjectionStrategy
__del__ = lambda self : None;
ProjectionStrategy_swigregister = _metamodel.ProjectionStrategy_swigregister
ProjectionStrategy_swigregister(ProjectionStrategy)
def ProjectionStrategy_GetClassName():
"""ProjectionStrategy_GetClassName() -> OT::String"""
return _metamodel.ProjectionStrategy_GetClassName()
class FunctionalChaosResult(MetaModelResult):
"""Proxy of C++ OT::FunctionalChaosResult class"""
__swig_setmethods__ = {}
for _s in [MetaModelResult]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FunctionalChaosResult, name, value)
__swig_getmethods__ = {}
for _s in [MetaModelResult]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, FunctionalChaosResult, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.FunctionalChaosResult_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(FunctionalChaosResult self) -> OT::String"""
return _metamodel.FunctionalChaosResult_getClassName(self)
def __repr__(self):
"""__repr__(FunctionalChaosResult self) -> OT::String"""
return _metamodel.FunctionalChaosResult___repr__(self)
def __str__(self, offset=""):
"""
__str__(FunctionalChaosResult self, OT::String const & offset="") -> OT::String
__str__(FunctionalChaosResult self) -> OT::String
"""
return _metamodel.FunctionalChaosResult___str__(self, offset)
def getDistribution(self):
"""getDistribution(FunctionalChaosResult self) -> Distribution"""
return _metamodel.FunctionalChaosResult_getDistribution(self)
def getTransformation(self):
"""getTransformation(FunctionalChaosResult self) -> NumericalMathFunction"""
return _metamodel.FunctionalChaosResult_getTransformation(self)
def getInverseTransformation(self):
"""getInverseTransformation(FunctionalChaosResult self) -> NumericalMathFunction"""
return _metamodel.FunctionalChaosResult_getInverseTransformation(self)
def getComposedModel(self):
"""getComposedModel(FunctionalChaosResult self) -> NumericalMathFunction"""
return _metamodel.FunctionalChaosResult_getComposedModel(self)
def getOrthogonalBasis(self):
"""getOrthogonalBasis(FunctionalChaosResult self) -> OrthogonalBasis"""
return _metamodel.FunctionalChaosResult_getOrthogonalBasis(self)
def getIndices(self):
"""getIndices(FunctionalChaosResult self) -> Indices"""
return _metamodel.FunctionalChaosResult_getIndices(self)
def getCoefficients(self):
"""getCoefficients(FunctionalChaosResult self) -> NumericalSample"""
return _metamodel.FunctionalChaosResult_getCoefficients(self)
def getReducedBasis(self):
"""getReducedBasis(FunctionalChaosResult self) -> NumericalMathFunctionCollection"""
return _metamodel.FunctionalChaosResult_getReducedBasis(self)
def getComposedMetaModel(self):
"""getComposedMetaModel(FunctionalChaosResult self) -> NumericalMathFunction"""
return _metamodel.FunctionalChaosResult_getComposedMetaModel(self)
def __init__(self, *args):
"""
__init__(OT::FunctionalChaosResult self) -> FunctionalChaosResult
__init__(OT::FunctionalChaosResult self, NumericalMathFunction model, Distribution distribution, NumericalMathFunction transformation,
NumericalMathFunction inverseTransformation, NumericalMathFunction composedModel,
OrthogonalBasis orthogonalBasis, Indices I, NumericalSample alpha_k,
NumericalMathFunctionCollection Psi_k, NumericalPoint residuals,
NumericalPoint relativeErrors) -> FunctionalChaosResult
__init__(OT::FunctionalChaosResult self, FunctionalChaosResult other) -> FunctionalChaosResult
"""
this = _metamodel.new_FunctionalChaosResult(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_FunctionalChaosResult
__del__ = lambda self : None;
FunctionalChaosResult_swigregister = _metamodel.FunctionalChaosResult_swigregister
FunctionalChaosResult_swigregister(FunctionalChaosResult)
def FunctionalChaosResult_GetClassName():
"""FunctionalChaosResult_GetClassName() -> OT::String"""
return _metamodel.FunctionalChaosResult_GetClassName()
class FunctionalChaosAlgorithm(MetaModelAlgorithm):
"""Proxy of C++ OT::FunctionalChaosAlgorithm class"""
__swig_setmethods__ = {}
for _s in [MetaModelAlgorithm]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FunctionalChaosAlgorithm, name, value)
__swig_getmethods__ = {}
for _s in [MetaModelAlgorithm]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, FunctionalChaosAlgorithm, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.FunctionalChaosAlgorithm_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(FunctionalChaosAlgorithm self) -> OT::String"""
return _metamodel.FunctionalChaosAlgorithm_getClassName(self)
def __repr__(self):
"""__repr__(FunctionalChaosAlgorithm self) -> OT::String"""
return _metamodel.FunctionalChaosAlgorithm___repr__(self)
def setMaximumResidual(self, *args):
"""setMaximumResidual(FunctionalChaosAlgorithm self, OT::NumericalScalar residual)"""
return _metamodel.FunctionalChaosAlgorithm_setMaximumResidual(self, *args)
def getMaximumResidual(self):
"""getMaximumResidual(FunctionalChaosAlgorithm self) -> OT::NumericalScalar"""
return _metamodel.FunctionalChaosAlgorithm_getMaximumResidual(self)
def setProjectionStrategy(self, *args):
"""setProjectionStrategy(FunctionalChaosAlgorithm self, ProjectionStrategy projectionStrategy)"""
return _metamodel.FunctionalChaosAlgorithm_setProjectionStrategy(self, *args)
def getProjectionStrategy(self):
"""getProjectionStrategy(FunctionalChaosAlgorithm self) -> ProjectionStrategy"""
return _metamodel.FunctionalChaosAlgorithm_getProjectionStrategy(self)
def run(self):
"""run(FunctionalChaosAlgorithm self)"""
return _metamodel.FunctionalChaosAlgorithm_run(self)
def getResult(self):
"""getResult(FunctionalChaosAlgorithm self) -> FunctionalChaosResult"""
return _metamodel.FunctionalChaosAlgorithm_getResult(self)
def getInputSample(self):
"""getInputSample(FunctionalChaosAlgorithm self) -> NumericalSample"""
return _metamodel.FunctionalChaosAlgorithm_getInputSample(self)
def getOutputSample(self):
"""getOutputSample(FunctionalChaosAlgorithm self) -> NumericalSample"""
return _metamodel.FunctionalChaosAlgorithm_getOutputSample(self)
def __init__(self, *args):
"""
__init__(OT::FunctionalChaosAlgorithm self, NumericalMathFunction model, Distribution distribution, AdaptiveStrategy adaptiveStrategy,
ProjectionStrategy projectionStrategy) -> FunctionalChaosAlgorithm
__init__(OT::FunctionalChaosAlgorithm self, NumericalSample inputSample, NumericalSample outputSample, Distribution distribution,
AdaptiveStrategy adaptiveStrategy, ProjectionStrategy projectionStrategy) -> FunctionalChaosAlgorithm
__init__(OT::FunctionalChaosAlgorithm self, NumericalSample inputSample, NumericalPoint weights, NumericalSample outputSample,
Distribution distribution, AdaptiveStrategy adaptiveStrategy, ProjectionStrategy projectionStrategy) -> FunctionalChaosAlgorithm
__init__(OT::FunctionalChaosAlgorithm self, NumericalMathFunction model, Distribution distribution, AdaptiveStrategy adaptiveStrategy) -> FunctionalChaosAlgorithm
__init__(OT::FunctionalChaosAlgorithm self, NumericalSample inputSample, NumericalSample outputSample, Distribution distribution,
AdaptiveStrategy adaptiveStrategy) -> FunctionalChaosAlgorithm
__init__(OT::FunctionalChaosAlgorithm self, NumericalSample inputSample, NumericalPoint weights, NumericalSample outputSample,
Distribution distribution, AdaptiveStrategy adaptiveStrategy) -> FunctionalChaosAlgorithm
__init__(OT::FunctionalChaosAlgorithm self, FunctionalChaosAlgorithm other) -> FunctionalChaosAlgorithm
"""
this = _metamodel.new_FunctionalChaosAlgorithm(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_FunctionalChaosAlgorithm
__del__ = lambda self : None;
FunctionalChaosAlgorithm_swigregister = _metamodel.FunctionalChaosAlgorithm_swigregister
FunctionalChaosAlgorithm_swigregister(FunctionalChaosAlgorithm)
def FunctionalChaosAlgorithm_GetClassName():
"""FunctionalChaosAlgorithm_GetClassName() -> OT::String"""
return _metamodel.FunctionalChaosAlgorithm_GetClassName()
class KrigingAlgorithm(MetaModelAlgorithm):
"""Proxy of C++ OT::KrigingAlgorithm class"""
__swig_setmethods__ = {}
for _s in [MetaModelAlgorithm]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, KrigingAlgorithm, name, value)
__swig_getmethods__ = {}
for _s in [MetaModelAlgorithm]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, KrigingAlgorithm, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.KrigingAlgorithm_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(KrigingAlgorithm self) -> OT::String"""
return _metamodel.KrigingAlgorithm_getClassName(self)
def __repr__(self):
"""__repr__(KrigingAlgorithm self) -> OT::String"""
return _metamodel.KrigingAlgorithm___repr__(self)
def setOptimizer(self, *args):
"""setOptimizer(KrigingAlgorithm self, BoundConstrainedAlgorithm optimizer)"""
return _metamodel.KrigingAlgorithm_setOptimizer(self, *args)
def getOptimizer(self):
"""getOptimizer(KrigingAlgorithm self) -> BoundConstrainedAlgorithm"""
return _metamodel.KrigingAlgorithm_getOptimizer(self)
def run(self):
"""run(KrigingAlgorithm self)"""
return _metamodel.KrigingAlgorithm_run(self)
def setInputTransformation(self, *args):
"""setInputTransformation(KrigingAlgorithm self, NumericalMathFunction inputTransformation)"""
return _metamodel.KrigingAlgorithm_setInputTransformation(self, *args)
def getInputTransformation(self):
"""getInputTransformation(KrigingAlgorithm self) -> NumericalMathFunction"""
return _metamodel.KrigingAlgorithm_getInputTransformation(self)
def getConditionalCovarianceModel(self):
"""getConditionalCovarianceModel(KrigingAlgorithm self) -> CovarianceModel"""
return _metamodel.KrigingAlgorithm_getConditionalCovarianceModel(self)
def getInputSample(self):
"""getInputSample(KrigingAlgorithm self) -> NumericalSample"""
return _metamodel.KrigingAlgorithm_getInputSample(self)
def getOutputSample(self):
"""getOutputSample(KrigingAlgorithm self) -> NumericalSample"""
return _metamodel.KrigingAlgorithm_getOutputSample(self)
def getResult(self):
"""getResult(KrigingAlgorithm self) -> MetaModelResult"""
return _metamodel.KrigingAlgorithm_getResult(self)
def __init__(self, *args):
"""
__init__(OT::KrigingAlgorithm self) -> KrigingAlgorithm
__init__(OT::KrigingAlgorithm self, NumericalSample inputSample, NumericalSample outputSample, Basis basis, CovarianceModel covarianceModel) -> KrigingAlgorithm
__init__(OT::KrigingAlgorithm self, NumericalSample inputSample, Distribution inputDistribution, NumericalSample outputSample,
Basis basis, CovarianceModel covarianceModel) -> KrigingAlgorithm
__init__(OT::KrigingAlgorithm self, KrigingAlgorithm other) -> KrigingAlgorithm
"""
this = _metamodel.new_KrigingAlgorithm(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_KrigingAlgorithm
__del__ = lambda self : None;
KrigingAlgorithm_swigregister = _metamodel.KrigingAlgorithm_swigregister
KrigingAlgorithm_swigregister(KrigingAlgorithm)
def KrigingAlgorithm_GetClassName():
"""KrigingAlgorithm_GetClassName() -> OT::String"""
return _metamodel.KrigingAlgorithm_GetClassName()
class PythonRandomVector(object):
""""
PythonRandomVector is a class to subclass
before it can be passed on to a RandomVector
"""
def __init__(self, dim=0):
# Warning: these names are used in PythonRandomVectorImplementation class. Synchronize the files if changed
self.__dim = dim
self.__desc = list(map( lambda i: 'x' + str(i), range(dim) ))
def __str__(self):
return 'PythonRandomVector -> %s #%d' % (self.__desc, self.__dim)
def __repr__(self):
return self.__str__()
def getDimension(self) :
return self.__dim
def setDescription(self, desc):
if (len(desc) != self.__dim):
raise ValueError('Description size does NOT match dimension')
self.__desc = desc
def getDescription(self):
return self.__desc
def getRealization(self) :
raise RuntimeError('You must define a method getRealization() -> X, where X is a NumericalPoint')
def getMean(self):
raise RuntimeError('You must define a method mean -> X, where X is a NumericalPoint')
def getCovariance(self):
raise RuntimeError('You must define a method var -> M, where M is a CovarianceMatrix')
class SciPyRandomVector(PythonRandomVector):
"""
SciPyRandomVector subclasses allows to
build a PythonRandomVector from a scipy distribution
"""
def __init__(self, dist):
super(SciPyRandomVector, self).__init__(1)
if dist.__class__.__name__ != 'rv_frozen':
raise TypeError('Argument is not a scipy distribution')
self._dist = dist
def getRealization(self):
rvs = self._dist.rvs()
return [rvs]
def getSample(self, size):
rvs = self._dist.rvs(size)
return rvs.reshape(size, 1)
def getMean(self):
mean = float(self._dist.stats('m'))
return [mean]
def getCovariance(self):
var = float(self._dist.stats('v'))
return [[var]]
class RandomVectorImplementationTypedInterfaceObject(openturns.common.InterfaceObject):
"""Proxy of C++ OT::TypedInterfaceObject<(OT::RandomVectorImplementation)> class"""
__swig_setmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RandomVectorImplementationTypedInterfaceObject, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RandomVectorImplementationTypedInterfaceObject, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(OT::TypedInterfaceObject<(OT::RandomVectorImplementation)> self) -> RandomVectorImplementationTypedInterfaceObject
__init__(OT::TypedInterfaceObject<(OT::RandomVectorImplementation)> self, RandomVectorImplementationPointer impl) -> RandomVectorImplementationTypedInterfaceObject
"""
this = _metamodel.new_RandomVectorImplementationTypedInterfaceObject(*args)
try: self.this.append(this)
except: self.this = this
def getImplementation(self, *args):
"""
getImplementation(RandomVectorImplementationTypedInterfaceObject self) -> RandomVectorImplementationPointer
getImplementation(RandomVectorImplementationTypedInterfaceObject self) -> RandomVectorImplementationPointer
"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject_getImplementation(self, *args)
def getImplementationAsPersistentObject(self):
"""getImplementationAsPersistentObject(RandomVectorImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)
def setImplementationAsPersistentObject(self, *args):
"""setImplementationAsPersistentObject(RandomVectorImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)
def swap(self, *args):
"""swap(RandomVectorImplementationTypedInterfaceObject self, RandomVectorImplementationTypedInterfaceObject other)"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject_swap(self, *args)
def setName(self, *args):
"""setName(RandomVectorImplementationTypedInterfaceObject self, OT::String const & name)"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject_setName(self, *args)
def getName(self):
"""getName(RandomVectorImplementationTypedInterfaceObject self) -> OT::String"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject_getName(self)
def __eq__(self, *args):
"""__eq__(RandomVectorImplementationTypedInterfaceObject self, RandomVectorImplementationTypedInterfaceObject other) -> OT::Bool"""
return _metamodel.RandomVectorImplementationTypedInterfaceObject___eq__(self, *args)
__swig_destroy__ = _metamodel.delete_RandomVectorImplementationTypedInterfaceObject
__del__ = lambda self : None;
RandomVectorImplementationTypedInterfaceObject_swigregister = _metamodel.RandomVectorImplementationTypedInterfaceObject_swigregister
RandomVectorImplementationTypedInterfaceObject_swigregister(RandomVectorImplementationTypedInterfaceObject)
class RandomVector(RandomVectorImplementationTypedInterfaceObject):
"""Proxy of C++ OT::RandomVector class"""
__swig_setmethods__ = {}
for _s in [RandomVectorImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RandomVector, name, value)
__swig_getmethods__ = {}
for _s in [RandomVectorImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RandomVector, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.RandomVector_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(RandomVector self) -> OT::String"""
return _metamodel.RandomVector_getClassName(self)
def __repr__(self):
"""__repr__(RandomVector self) -> OT::String"""
return _metamodel.RandomVector___repr__(self)
def __str__(self, offset=""):
"""
__str__(RandomVector self, OT::String const & offset="") -> OT::String
__str__(RandomVector self) -> OT::String
"""
return _metamodel.RandomVector___str__(self, offset)
def setDescription(self, *args):
"""setDescription(RandomVector self, Description description)"""
return _metamodel.RandomVector_setDescription(self, *args)
def getDescription(self):
"""getDescription(RandomVector self) -> Description"""
return _metamodel.RandomVector_getDescription(self)
def isComposite(self):
"""isComposite(RandomVector self) -> OT::Bool"""
return _metamodel.RandomVector_isComposite(self)
def getDimension(self):
"""getDimension(RandomVector self) -> OT::UnsignedLong"""
return _metamodel.RandomVector_getDimension(self)
def getRealization(self):
"""getRealization(RandomVector self) -> NumericalPoint"""
return _metamodel.RandomVector_getRealization(self)
def getSample(self, *args):
"""getSample(RandomVector self, OT::UnsignedLong const size) -> NumericalSample"""
return _metamodel.RandomVector_getSample(self, *args)
def getMarginal(self, *args):
"""
getMarginal(RandomVector self, OT::UnsignedLong const i) -> RandomVector
getMarginal(RandomVector self, Indices indices) -> RandomVector
"""
return _metamodel.RandomVector_getMarginal(self, *args)
def getMean(self):
"""getMean(RandomVector self) -> NumericalPoint"""
return _metamodel.RandomVector_getMean(self)
def getCovariance(self):
"""getCovariance(RandomVector self) -> CovarianceMatrix"""
return _metamodel.RandomVector_getCovariance(self)
def getAntecedent(self):
"""getAntecedent(RandomVector self) -> RandomVectorImplementationPointer"""
return _metamodel.RandomVector_getAntecedent(self)
def getFunction(self):
"""getFunction(RandomVector self) -> NumericalMathFunction"""
return _metamodel.RandomVector_getFunction(self)
def getDistribution(self):
"""getDistribution(RandomVector self) -> Distribution"""
return _metamodel.RandomVector_getDistribution(self)
def getOperator(self):
"""getOperator(RandomVector self) -> ComparisonOperator"""
return _metamodel.RandomVector_getOperator(self)
def getThreshold(self):
"""getThreshold(RandomVector self) -> OT::NumericalScalar"""
return _metamodel.RandomVector_getThreshold(self)
def __init__(self, *args):
"""
__init__(OT::RandomVector self) -> RandomVector
__init__(OT::RandomVector self, RandomVectorImplementation implementation, OT::String const & name=DefaultName) -> RandomVector
__init__(OT::RandomVector self, RandomVectorImplementation implementation) -> RandomVector
__init__(OT::RandomVector self, RandomVectorImplementationPointer p_implementation, OT::String const & name=DefaultName) -> RandomVector
__init__(OT::RandomVector self, RandomVectorImplementationPointer p_implementation) -> RandomVector
__init__(OT::RandomVector self, NumericalPoint point, OT::String const & name=DefaultName) -> RandomVector
__init__(OT::RandomVector self, NumericalPoint point) -> RandomVector
__init__(OT::RandomVector self, Distribution distribution, OT::String const & name=DefaultName) -> RandomVector
__init__(OT::RandomVector self, Distribution distribution) -> RandomVector
__init__(OT::RandomVector self, Distribution distribution, RandomVector randomParameters, OT::String const & name=DefaultName) -> RandomVector
__init__(OT::RandomVector self, Distribution distribution, RandomVector randomParameters) -> RandomVector
__init__(OT::RandomVector self, NumericalMathFunction function, RandomVector antecedent, OT::String const & name=DefaultName) -> RandomVector
__init__(OT::RandomVector self, NumericalMathFunction function, RandomVector antecedent) -> RandomVector
__init__(OT::RandomVector self, FunctionalChaosResult functionalChaosResult) -> RandomVector
__init__(OT::RandomVector self, RandomVector other) -> RandomVector
__init__(OT::RandomVector self, PyObject * pyObj) -> RandomVector
"""
this = _metamodel.new_RandomVector(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_RandomVector
__del__ = lambda self : None;
RandomVector_swigregister = _metamodel.RandomVector_swigregister
RandomVector_swigregister(RandomVector)
def RandomVector_GetClassName():
"""RandomVector_GetClassName() -> OT::String"""
return _metamodel.RandomVector_GetClassName()
class CompositeRandomVector(openturns.randomvector.RandomVectorImplementation):
"""Proxy of C++ OT::CompositeRandomVector class"""
__swig_setmethods__ = {}
for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, CompositeRandomVector, name, value)
__swig_getmethods__ = {}
for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, CompositeRandomVector, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.CompositeRandomVector_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(CompositeRandomVector self) -> OT::String"""
return _metamodel.CompositeRandomVector_getClassName(self)
def __repr__(self):
"""__repr__(CompositeRandomVector self) -> OT::String"""
return _metamodel.CompositeRandomVector___repr__(self)
def isComposite(self):
"""isComposite(CompositeRandomVector self) -> OT::Bool"""
return _metamodel.CompositeRandomVector_isComposite(self)
def getDimension(self):
"""getDimension(CompositeRandomVector self) -> OT::UnsignedLong"""
return _metamodel.CompositeRandomVector_getDimension(self)
def getRealization(self):
"""getRealization(CompositeRandomVector self) -> NumericalPoint"""
return _metamodel.CompositeRandomVector_getRealization(self)
def getSample(self, *args):
"""getSample(CompositeRandomVector self, OT::UnsignedLong const size) -> NumericalSample"""
return _metamodel.CompositeRandomVector_getSample(self, *args)
def getMean(self):
"""getMean(CompositeRandomVector self) -> NumericalPoint"""
return _metamodel.CompositeRandomVector_getMean(self)
def getCovariance(self):
"""getCovariance(CompositeRandomVector self) -> CovarianceMatrix"""
return _metamodel.CompositeRandomVector_getCovariance(self)
def getMarginal(self, *args):
"""
getMarginal(CompositeRandomVector self, OT::UnsignedLong const i) -> RandomVectorImplementationPointer
getMarginal(CompositeRandomVector self, Indices indices) -> RandomVectorImplementationPointer
"""
return _metamodel.CompositeRandomVector_getMarginal(self, *args)
def getAntecedent(self):
"""getAntecedent(CompositeRandomVector self) -> RandomVectorImplementationPointer"""
return _metamodel.CompositeRandomVector_getAntecedent(self)
def getFunction(self):
"""getFunction(CompositeRandomVector self) -> NumericalMathFunction"""
return _metamodel.CompositeRandomVector_getFunction(self)
def getDistribution(self):
"""getDistribution(CompositeRandomVector self) -> Distribution"""
return _metamodel.CompositeRandomVector_getDistribution(self)
def __init__(self, *args):
"""
__init__(OT::CompositeRandomVector self, OT::String const & name=DefaultName) -> CompositeRandomVector
__init__(OT::CompositeRandomVector self) -> CompositeRandomVector
__init__(OT::CompositeRandomVector self, NumericalMathFunction function, RandomVectorImplementationPointer p_antecedent, OT::String const & name=DefaultName) -> CompositeRandomVector
__init__(OT::CompositeRandomVector self, NumericalMathFunction function, RandomVectorImplementationPointer p_antecedent) -> CompositeRandomVector
__init__(OT::CompositeRandomVector self, NumericalMathFunction function, RandomVector antecedent, OT::String const & name=DefaultName) -> CompositeRandomVector
__init__(OT::CompositeRandomVector self, NumericalMathFunction function, RandomVector antecedent) -> CompositeRandomVector
__init__(OT::CompositeRandomVector self, CompositeRandomVector other) -> CompositeRandomVector
"""
this = _metamodel.new_CompositeRandomVector(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_CompositeRandomVector
__del__ = lambda self : None;
CompositeRandomVector_swigregister = _metamodel.CompositeRandomVector_swigregister
CompositeRandomVector_swigregister(CompositeRandomVector)
def CompositeRandomVector_GetClassName():
"""CompositeRandomVector_GetClassName() -> OT::String"""
return _metamodel.CompositeRandomVector_GetClassName()
class EventRandomVectorImplementation(CompositeRandomVector):
"""Proxy of C++ OT::EventRandomVectorImplementation class"""
__swig_setmethods__ = {}
for _s in [CompositeRandomVector]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, EventRandomVectorImplementation, name, value)
__swig_getmethods__ = {}
for _s in [CompositeRandomVector]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, EventRandomVectorImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.EventRandomVectorImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(EventRandomVectorImplementation self) -> OT::String"""
return _metamodel.EventRandomVectorImplementation_getClassName(self)
def __repr__(self):
"""__repr__(EventRandomVectorImplementation self) -> OT::String"""
return _metamodel.EventRandomVectorImplementation___repr__(self)
def getDimension(self):
"""getDimension(EventRandomVectorImplementation self) -> OT::UnsignedLong"""
return _metamodel.EventRandomVectorImplementation_getDimension(self)
def getOperator(self):
"""getOperator(EventRandomVectorImplementation self) -> ComparisonOperator"""
return _metamodel.EventRandomVectorImplementation_getOperator(self)
def getThreshold(self):
"""getThreshold(EventRandomVectorImplementation self) -> OT::NumericalScalar"""
return _metamodel.EventRandomVectorImplementation_getThreshold(self)
def getRealization(self):
"""getRealization(EventRandomVectorImplementation self) -> NumericalPoint"""
return _metamodel.EventRandomVectorImplementation_getRealization(self)
def getSample(self, *args):
"""getSample(EventRandomVectorImplementation self, OT::UnsignedLong size) -> NumericalSample"""
return _metamodel.EventRandomVectorImplementation_getSample(self, *args)
def __init__(self, *args):
"""
__init__(OT::EventRandomVectorImplementation self) -> EventRandomVectorImplementation
__init__(OT::EventRandomVectorImplementation self, RandomVectorImplementation antecedent, ComparisonOperator op, OT::NumericalScalar const threshold,
OT::String const & name=DefaultName) -> EventRandomVectorImplementation
__init__(OT::EventRandomVectorImplementation self, RandomVectorImplementation antecedent, ComparisonOperator op, OT::NumericalScalar const threshold) -> EventRandomVectorImplementation
__init__(OT::EventRandomVectorImplementation self, EventRandomVectorImplementation other) -> EventRandomVectorImplementation
"""
this = _metamodel.new_EventRandomVectorImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_EventRandomVectorImplementation
__del__ = lambda self : None;
EventRandomVectorImplementation_swigregister = _metamodel.EventRandomVectorImplementation_swigregister
EventRandomVectorImplementation_swigregister(EventRandomVectorImplementation)
def EventRandomVectorImplementation_GetClassName():
"""EventRandomVectorImplementation_GetClassName() -> OT::String"""
return _metamodel.EventRandomVectorImplementation_GetClassName()
class EventDomainImplementation(CompositeRandomVector):
"""Proxy of C++ OT::EventDomainImplementation class"""
__swig_setmethods__ = {}
for _s in [CompositeRandomVector]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, EventDomainImplementation, name, value)
__swig_getmethods__ = {}
for _s in [CompositeRandomVector]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, EventDomainImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.EventDomainImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(EventDomainImplementation self) -> OT::String"""
return _metamodel.EventDomainImplementation_getClassName(self)
def __repr__(self):
"""__repr__(EventDomainImplementation self) -> OT::String"""
return _metamodel.EventDomainImplementation___repr__(self)
def getDimension(self):
"""getDimension(EventDomainImplementation self) -> OT::UnsignedLong"""
return _metamodel.EventDomainImplementation_getDimension(self)
def getDomain(self):
"""getDomain(EventDomainImplementation self) -> Domain"""
return _metamodel.EventDomainImplementation_getDomain(self)
def getRealization(self):
"""getRealization(EventDomainImplementation self) -> NumericalPoint"""
return _metamodel.EventDomainImplementation_getRealization(self)
def getSample(self, *args):
"""getSample(EventDomainImplementation self, OT::UnsignedLong const size) -> NumericalSample"""
return _metamodel.EventDomainImplementation_getSample(self, *args)
def __init__(self, *args):
"""
__init__(OT::EventDomainImplementation self) -> EventDomainImplementation
__init__(OT::EventDomainImplementation self, RandomVectorImplementation antecedent, Domain domain, OT::String const & name=DefaultName) -> EventDomainImplementation
__init__(OT::EventDomainImplementation self, RandomVectorImplementation antecedent, Domain domain) -> EventDomainImplementation
__init__(OT::EventDomainImplementation self, EventDomainImplementation other) -> EventDomainImplementation
"""
this = _metamodel.new_EventDomainImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_EventDomainImplementation
__del__ = lambda self : None;
EventDomainImplementation_swigregister = _metamodel.EventDomainImplementation_swigregister
EventDomainImplementation_swigregister(EventDomainImplementation)
def EventDomainImplementation_GetClassName():
"""EventDomainImplementation_GetClassName() -> OT::String"""
return _metamodel.EventDomainImplementation_GetClassName()
class EventProcess(openturns.randomvector.RandomVectorImplementation):
"""Proxy of C++ OT::EventProcess class"""
__swig_setmethods__ = {}
for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, EventProcess, name, value)
__swig_getmethods__ = {}
for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, EventProcess, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.EventProcess_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(EventProcess self) -> OT::String"""
return _metamodel.EventProcess_getClassName(self)
def __repr__(self):
"""__repr__(EventProcess self) -> OT::String"""
return _metamodel.EventProcess___repr__(self)
def getDimension(self):
"""getDimension(EventProcess self) -> OT::UnsignedLong"""
return _metamodel.EventProcess_getDimension(self)
def getDomain(self):
"""getDomain(EventProcess self) -> Domain"""
return _metamodel.EventProcess_getDomain(self)
def getProcess(self):
"""getProcess(EventProcess self) -> Process"""
return _metamodel.EventProcess_getProcess(self)
def getRealization(self):
"""getRealization(EventProcess self) -> NumericalPoint"""
return _metamodel.EventProcess_getRealization(self)
def __init__(self, *args):
"""
__init__(OT::EventProcess self) -> EventProcess
__init__(OT::EventProcess self, Process process, Domain domain, OT::String const & name=DefaultName) -> EventProcess
__init__(OT::EventProcess self, Process process, Domain domain) -> EventProcess
__init__(OT::EventProcess self, EventProcess other) -> EventProcess
"""
this = _metamodel.new_EventProcess(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_EventProcess
__del__ = lambda self : None;
EventProcess_swigregister = _metamodel.EventProcess_swigregister
EventProcess_swigregister(EventProcess)
def EventProcess_GetClassName():
"""EventProcess_GetClassName() -> OT::String"""
return _metamodel.EventProcess_GetClassName()
class ConditionalRandomVector(openturns.randomvector.RandomVectorImplementation):
"""Proxy of C++ OT::ConditionalRandomVector class"""
__swig_setmethods__ = {}
for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ConditionalRandomVector, name, value)
__swig_getmethods__ = {}
for _s in [openturns.randomvector.RandomVectorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ConditionalRandomVector, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.ConditionalRandomVector_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ConditionalRandomVector self) -> OT::String"""
return _metamodel.ConditionalRandomVector_getClassName(self)
def __repr__(self):
"""__repr__(ConditionalRandomVector self) -> OT::String"""
return _metamodel.ConditionalRandomVector___repr__(self)
def getDimension(self):
"""getDimension(ConditionalRandomVector self) -> OT::UnsignedLong"""
return _metamodel.ConditionalRandomVector_getDimension(self)
def getRealization(self, *args):
"""
getRealization(ConditionalRandomVector self) -> NumericalPoint
getRealization(ConditionalRandomVector self, NumericalPoint parameters) -> NumericalPoint
"""
return _metamodel.ConditionalRandomVector_getRealization(self, *args)
def getDistribution(self):
"""getDistribution(ConditionalRandomVector self) -> Distribution"""
return _metamodel.ConditionalRandomVector_getDistribution(self)
def getRandomParameters(self):
"""getRandomParameters(ConditionalRandomVector self) -> RandomVector"""
return _metamodel.ConditionalRandomVector_getRandomParameters(self)
def __init__(self, *args):
"""
__init__(OT::ConditionalRandomVector self, Distribution distribution, RandomVector randomParameters, OT::String const & name=DefaultName) -> ConditionalRandomVector
__init__(OT::ConditionalRandomVector self, Distribution distribution, RandomVector randomParameters) -> ConditionalRandomVector
__init__(OT::ConditionalRandomVector self, ConditionalRandomVector other) -> ConditionalRandomVector
"""
this = _metamodel.new_ConditionalRandomVector(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_ConditionalRandomVector
__del__ = lambda self : None;
ConditionalRandomVector_swigregister = _metamodel.ConditionalRandomVector_swigregister
ConditionalRandomVector_swigregister(ConditionalRandomVector)
def ConditionalRandomVector_GetClassName():
"""ConditionalRandomVector_GetClassName() -> OT::String"""
return _metamodel.ConditionalRandomVector_GetClassName()
class Event(RandomVector):
"""Proxy of C++ OT::Event class"""
__swig_setmethods__ = {}
for _s in [RandomVector]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Event, name, value)
__swig_getmethods__ = {}
for _s in [RandomVector]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Event, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.Event_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Event self) -> OT::String"""
return _metamodel.Event_getClassName(self)
def __repr__(self):
"""__repr__(Event self) -> OT::String"""
return _metamodel.Event___repr__(self)
def __str__(self, offset=""):
"""
__str__(Event self, OT::String const & offset="") -> OT::String
__str__(Event self) -> OT::String
"""
return _metamodel.Event___str__(self, offset)
def __init__(self, *args):
"""
__init__(OT::Event self) -> Event
__init__(OT::Event self, RandomVector antecedent, ComparisonOperator op, OT::NumericalScalar const threshold,
OT::String const & name=DefaultName) -> Event
__init__(OT::Event self, RandomVector antecedent, ComparisonOperator op, OT::NumericalScalar const threshold) -> Event
__init__(OT::Event self, RandomVector antecedent, Domain domain, OT::String const & name=DefaultName) -> Event
__init__(OT::Event self, RandomVector antecedent, Domain domain) -> Event
__init__(OT::Event self, Process process, Domain domain, OT::String const & name=DefaultName) -> Event
__init__(OT::Event self, Process process, Domain domain) -> Event
__init__(OT::Event self, Event other) -> Event
"""
this = _metamodel.new_Event(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_Event
__del__ = lambda self : None;
Event_swigregister = _metamodel.Event_swigregister
Event_swigregister(Event)
def Event_GetClassName():
"""Event_GetClassName() -> OT::String"""
return _metamodel.Event_GetClassName()
class StandardEvent(Event):
"""Proxy of C++ OT::StandardEvent class"""
__swig_setmethods__ = {}
for _s in [Event]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, StandardEvent, name, value)
__swig_getmethods__ = {}
for _s in [Event]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, StandardEvent, name)
__repr__ = _swig_repr
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.StandardEvent_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(StandardEvent self) -> OT::String"""
return _metamodel.StandardEvent_getClassName(self)
def __init__(self, *args):
"""
__init__(OT::StandardEvent self) -> StandardEvent
__init__(OT::StandardEvent self, RandomVector antecedent, ComparisonOperator op, OT::NumericalScalar const threshold,
OT::String const & name=DefaultName) -> StandardEvent
__init__(OT::StandardEvent self, RandomVector antecedent, ComparisonOperator op, OT::NumericalScalar const threshold) -> StandardEvent
__init__(OT::StandardEvent self, Event event, OT::String const & name=DefaultName) -> StandardEvent
__init__(OT::StandardEvent self, Event event) -> StandardEvent
__init__(OT::StandardEvent self, StandardEvent other) -> StandardEvent
"""
this = _metamodel.new_StandardEvent(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_StandardEvent
__del__ = lambda self : None;
StandardEvent_swigregister = _metamodel.StandardEvent_swigregister
StandardEvent_swigregister(StandardEvent)
def StandardEvent_GetClassName():
"""StandardEvent_GetClassName() -> OT::String"""
return _metamodel.StandardEvent_GetClassName()
class FunctionalChaosRandomVector(CompositeRandomVector):
"""Proxy of C++ OT::FunctionalChaosRandomVector class"""
__swig_setmethods__ = {}
for _s in [CompositeRandomVector]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FunctionalChaosRandomVector, name, value)
__swig_getmethods__ = {}
for _s in [CompositeRandomVector]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, FunctionalChaosRandomVector, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _metamodel.FunctionalChaosRandomVector_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(FunctionalChaosRandomVector self) -> OT::String"""
return _metamodel.FunctionalChaosRandomVector_getClassName(self)
def __repr__(self):
"""__repr__(FunctionalChaosRandomVector self) -> OT::String"""
return _metamodel.FunctionalChaosRandomVector___repr__(self)
def getMean(self):
"""getMean(FunctionalChaosRandomVector self) -> NumericalPoint"""
return _metamodel.FunctionalChaosRandomVector_getMean(self)
def getCovariance(self):
"""getCovariance(FunctionalChaosRandomVector self) -> CovarianceMatrix"""
return _metamodel.FunctionalChaosRandomVector_getCovariance(self)
def getSobolIndex(self, *args):
"""
getSobolIndex(FunctionalChaosRandomVector self, Indices variableIndices, OT::UnsignedLong const marginalIndex=0) -> OT::NumericalScalar
getSobolIndex(FunctionalChaosRandomVector self, Indices variableIndices) -> OT::NumericalScalar
getSobolIndex(FunctionalChaosRandomVector self, OT::UnsignedLong const variableIndex, OT::UnsignedLong const marginalIndex=0) -> OT::NumericalScalar
getSobolIndex(FunctionalChaosRandomVector self, OT::UnsignedLong const variableIndex) -> OT::NumericalScalar
"""
return _metamodel.FunctionalChaosRandomVector_getSobolIndex(self, *args)
def getSobolTotalIndex(self, *args):
"""
getSobolTotalIndex(FunctionalChaosRandomVector self, Indices variableIndices, OT::UnsignedLong const marginalIndex=0) -> OT::NumericalScalar
getSobolTotalIndex(FunctionalChaosRandomVector self, Indices variableIndices) -> OT::NumericalScalar
getSobolTotalIndex(FunctionalChaosRandomVector self, OT::UnsignedLong const variableIndex, OT::UnsignedLong const marginalIndex=0) -> OT::NumericalScalar
getSobolTotalIndex(FunctionalChaosRandomVector self, OT::UnsignedLong const variableIndex) -> OT::NumericalScalar
"""
return _metamodel.FunctionalChaosRandomVector_getSobolTotalIndex(self, *args)
def getFunctionalChaoResult(self):
"""getFunctionalChaoResult(FunctionalChaosRandomVector self) -> FunctionalChaosResult"""
return _metamodel.FunctionalChaosRandomVector_getFunctionalChaoResult(self)
def __init__(self, *args):
"""
__init__(OT::FunctionalChaosRandomVector self, FunctionalChaosResult functionalChaosResult) -> FunctionalChaosRandomVector
__init__(OT::FunctionalChaosRandomVector self, FunctionalChaosRandomVector other) -> FunctionalChaosRandomVector
"""
this = _metamodel.new_FunctionalChaosRandomVector(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _metamodel.delete_FunctionalChaosRandomVector
__del__ = lambda self : None;
FunctionalChaosRandomVector_swigregister = _metamodel.FunctionalChaosRandomVector_swigregister
FunctionalChaosRandomVector_swigregister(FunctionalChaosRandomVector)
def FunctionalChaosRandomVector_GetClassName():
"""FunctionalChaosRandomVector_GetClassName() -> OT::String"""
return _metamodel.FunctionalChaosRandomVector_GetClassName()
# This file is compatible with both classic and new-style classes.
|