/usr/share/pyshared/openturns/randomvector.py is in python-openturns 1.2-2.
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 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
Random vectors
"""
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('_randomvector', [dirname(__file__)])
except ImportError:
import _randomvector
return _randomvector
if fp is not None:
try:
_mod = imp.load_module('_randomvector', fp, pathname, description)
finally:
fp.close()
return _mod
_randomvector = swig_import_helper()
del swig_import_helper
else:
import _randomvector
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__ = _randomvector.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self):
"""value(SwigPyIterator self) -> PyObject *"""
return _randomvector.SwigPyIterator_value(self)
def incr(self, n=1):
"""
incr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
incr(SwigPyIterator self) -> SwigPyIterator
"""
return _randomvector.SwigPyIterator_incr(self, n)
def decr(self, n=1):
"""
decr(SwigPyIterator self, size_t n=1) -> SwigPyIterator
decr(SwigPyIterator self) -> SwigPyIterator
"""
return _randomvector.SwigPyIterator_decr(self, n)
def distance(self, *args):
"""distance(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t"""
return _randomvector.SwigPyIterator_distance(self, *args)
def equal(self, *args):
"""equal(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _randomvector.SwigPyIterator_equal(self, *args)
def copy(self):
"""copy(SwigPyIterator self) -> SwigPyIterator"""
return _randomvector.SwigPyIterator_copy(self)
def next(self):
"""next(SwigPyIterator self) -> PyObject *"""
return _randomvector.SwigPyIterator_next(self)
def __next__(self):
"""__next__(SwigPyIterator self) -> PyObject *"""
return _randomvector.SwigPyIterator___next__(self)
def previous(self):
"""previous(SwigPyIterator self) -> PyObject *"""
return _randomvector.SwigPyIterator_previous(self)
def advance(self, *args):
"""advance(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _randomvector.SwigPyIterator_advance(self, *args)
def __eq__(self, *args):
"""__eq__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _randomvector.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args):
"""__ne__(SwigPyIterator self, SwigPyIterator x) -> bool"""
return _randomvector.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args):
"""__iadd__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _randomvector.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args):
"""__isub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _randomvector.SwigPyIterator___isub__(self, *args)
def __add__(self, *args):
"""__add__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator"""
return _randomvector.SwigPyIterator___add__(self, *args)
def __sub__(self, *args):
"""
__sub__(SwigPyIterator self, ptrdiff_t n) -> SwigPyIterator
__sub__(SwigPyIterator self, SwigPyIterator x) -> ptrdiff_t
"""
return _randomvector.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _randomvector.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
GCC_VERSION = _randomvector.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 _randomvector.TestResult_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(TestResult self) -> OT::String"""
return _randomvector.TestResult_getClassName(self)
def setDescription(self, *args):
"""setDescription(TestResult self, Description description)"""
return _randomvector.TestResult_setDescription(self, *args)
def getDescription(self):
"""getDescription(TestResult self) -> Description"""
return _randomvector.TestResult_getDescription(self)
def __repr__(self):
"""__repr__(TestResult self) -> OT::String"""
return _randomvector.TestResult___repr__(self)
def getBinaryQualityMeasure(self):
"""getBinaryQualityMeasure(TestResult self) -> OT::Bool"""
return _randomvector.TestResult_getBinaryQualityMeasure(self)
def getPValue(self):
"""getPValue(TestResult self) -> OT::NumericalScalar"""
return _randomvector.TestResult_getPValue(self)
def getThreshold(self):
"""getThreshold(TestResult self) -> OT::NumericalScalar"""
return _randomvector.TestResult_getThreshold(self)
def getTestType(self):
"""getTestType(TestResult self) -> OT::String"""
return _randomvector.TestResult_getTestType(self)
def __eq__(self, *args):
"""__eq__(TestResult self, TestResult other) -> OT::Bool"""
return _randomvector.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 = _randomvector.new_TestResult(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_TestResult
__del__ = lambda self : None;
TestResult_swigregister = _randomvector.TestResult_swigregister
TestResult_swigregister(TestResult)
def TestResult_GetClassName():
"""TestResult_GetClassName() -> OT::String"""
return _randomvector.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
class ProcessImplementation(openturns.common.PersistentObject):
"""Proxy of C++ OT::ProcessImplementation class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ProcessImplementation, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ProcessImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _randomvector.ProcessImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ProcessImplementation self) -> OT::String"""
return _randomvector.ProcessImplementation_getClassName(self)
def __repr__(self):
"""__repr__(ProcessImplementation self) -> OT::String"""
return _randomvector.ProcessImplementation___repr__(self)
def __str__(self, offset=""):
"""
__str__(ProcessImplementation self, OT::String const & offset="") -> OT::String
__str__(ProcessImplementation self) -> OT::String
"""
return _randomvector.ProcessImplementation___str__(self, offset)
def isNormal(self):
"""isNormal(ProcessImplementation self) -> OT::Bool"""
return _randomvector.ProcessImplementation_isNormal(self)
def isStationary(self):
"""isStationary(ProcessImplementation self) -> OT::Bool"""
return _randomvector.ProcessImplementation_isStationary(self)
def isComposite(self):
"""isComposite(ProcessImplementation self) -> OT::Bool"""
return _randomvector.ProcessImplementation_isComposite(self)
def getDimension(self):
"""getDimension(ProcessImplementation self) -> OT::UnsignedLong"""
return _randomvector.ProcessImplementation_getDimension(self)
def getTimeGrid(self):
"""getTimeGrid(ProcessImplementation self) -> RegularGrid"""
return _randomvector.ProcessImplementation_getTimeGrid(self)
def setTimeGrid(self, *args):
"""setTimeGrid(ProcessImplementation self, RegularGrid timeGrid)"""
return _randomvector.ProcessImplementation_setTimeGrid(self, *args)
def getRealization(self):
"""getRealization(ProcessImplementation self) -> TimeSeries"""
return _randomvector.ProcessImplementation_getRealization(self)
def getContinuousRealization(self):
"""getContinuousRealization(ProcessImplementation self) -> NumericalMathFunction"""
return _randomvector.ProcessImplementation_getContinuousRealization(self)
def getSample(self, *args):
"""getSample(ProcessImplementation self, OT::UnsignedLong const size) -> ProcessSample"""
return _randomvector.ProcessImplementation_getSample(self, *args)
def getFuture(self, *args):
"""
getFuture(ProcessImplementation self, OT::UnsignedLong const stepNumber) -> TimeSeries
getFuture(ProcessImplementation self, OT::UnsignedLong const stepNumber, OT::UnsignedLong const size) -> ProcessSample
"""
return _randomvector.ProcessImplementation_getFuture(self, *args)
def getMarginalProcess(self, *args):
"""
getMarginalProcess(ProcessImplementation self, OT::UnsignedLong const i) -> ProcessImplementationPointer
getMarginalProcess(ProcessImplementation self, Indices indices) -> ProcessImplementationPointer
"""
return _randomvector.ProcessImplementation_getMarginalProcess(self, *args)
def setDescription(self, *args):
"""setDescription(ProcessImplementation self, Description description)"""
return _randomvector.ProcessImplementation_setDescription(self, *args)
def getDescription(self):
"""getDescription(ProcessImplementation self) -> Description"""
return _randomvector.ProcessImplementation_getDescription(self)
def __init__(self, *args):
"""
__init__(OT::ProcessImplementation self, OT::String const & name=DefaultName) -> ProcessImplementation
__init__(OT::ProcessImplementation self) -> ProcessImplementation
__init__(OT::ProcessImplementation self, ProcessImplementation other) -> ProcessImplementation
"""
this = _randomvector.new_ProcessImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_ProcessImplementation
__del__ = lambda self : None;
ProcessImplementation_swigregister = _randomvector.ProcessImplementation_swigregister
ProcessImplementation_swigregister(ProcessImplementation)
def ProcessImplementation_GetClassName():
"""ProcessImplementation_GetClassName() -> OT::String"""
return _randomvector.ProcessImplementation_GetClassName()
class ProcessImplementationTypedInterfaceObject(openturns.common.InterfaceObject):
"""Proxy of C++ OT::TypedInterfaceObject<(OT::ProcessImplementation)> class"""
__swig_setmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ProcessImplementationTypedInterfaceObject, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.InterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ProcessImplementationTypedInterfaceObject, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(OT::TypedInterfaceObject<(OT::ProcessImplementation)> self) -> ProcessImplementationTypedInterfaceObject
__init__(OT::TypedInterfaceObject<(OT::ProcessImplementation)> self, ProcessImplementationPointer impl) -> ProcessImplementationTypedInterfaceObject
"""
this = _randomvector.new_ProcessImplementationTypedInterfaceObject(*args)
try: self.this.append(this)
except: self.this = this
def getImplementation(self, *args):
"""
getImplementation(ProcessImplementationTypedInterfaceObject self) -> ProcessImplementationPointer
getImplementation(ProcessImplementationTypedInterfaceObject self) -> ProcessImplementationPointer
"""
return _randomvector.ProcessImplementationTypedInterfaceObject_getImplementation(self, *args)
def getImplementationAsPersistentObject(self):
"""getImplementationAsPersistentObject(ProcessImplementationTypedInterfaceObject self) -> PersistentObjectPointer"""
return _randomvector.ProcessImplementationTypedInterfaceObject_getImplementationAsPersistentObject(self)
def setImplementationAsPersistentObject(self, *args):
"""setImplementationAsPersistentObject(ProcessImplementationTypedInterfaceObject self, PersistentObjectPointer obj)"""
return _randomvector.ProcessImplementationTypedInterfaceObject_setImplementationAsPersistentObject(self, *args)
def swap(self, *args):
"""swap(ProcessImplementationTypedInterfaceObject self, ProcessImplementationTypedInterfaceObject other)"""
return _randomvector.ProcessImplementationTypedInterfaceObject_swap(self, *args)
def setName(self, *args):
"""setName(ProcessImplementationTypedInterfaceObject self, OT::String const & name)"""
return _randomvector.ProcessImplementationTypedInterfaceObject_setName(self, *args)
def getName(self):
"""getName(ProcessImplementationTypedInterfaceObject self) -> OT::String"""
return _randomvector.ProcessImplementationTypedInterfaceObject_getName(self)
def __eq__(self, *args):
"""__eq__(ProcessImplementationTypedInterfaceObject self, ProcessImplementationTypedInterfaceObject other) -> OT::Bool"""
return _randomvector.ProcessImplementationTypedInterfaceObject___eq__(self, *args)
__swig_destroy__ = _randomvector.delete_ProcessImplementationTypedInterfaceObject
__del__ = lambda self : None;
ProcessImplementationTypedInterfaceObject_swigregister = _randomvector.ProcessImplementationTypedInterfaceObject_swigregister
ProcessImplementationTypedInterfaceObject_swigregister(ProcessImplementationTypedInterfaceObject)
class Process(ProcessImplementationTypedInterfaceObject):
"""Proxy of C++ OT::Process class"""
__swig_setmethods__ = {}
for _s in [ProcessImplementationTypedInterfaceObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Process, name, value)
__swig_getmethods__ = {}
for _s in [ProcessImplementationTypedInterfaceObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Process, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _randomvector.Process_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(Process self) -> OT::String"""
return _randomvector.Process_getClassName(self)
def __repr__(self):
"""__repr__(Process self) -> OT::String"""
return _randomvector.Process___repr__(self)
def __str__(self, offset=""):
"""
__str__(Process self, OT::String const & offset="") -> OT::String
__str__(Process self) -> OT::String
"""
return _randomvector.Process___str__(self, offset)
def setDescription(self, *args):
"""setDescription(Process self, Description description)"""
return _randomvector.Process_setDescription(self, *args)
def getDescription(self):
"""getDescription(Process self) -> Description"""
return _randomvector.Process_getDescription(self)
def isNormal(self):
"""isNormal(Process self) -> OT::Bool"""
return _randomvector.Process_isNormal(self)
def isStationary(self):
"""isStationary(Process self) -> OT::Bool"""
return _randomvector.Process_isStationary(self)
def isComposite(self):
"""isComposite(Process self) -> OT::Bool"""
return _randomvector.Process_isComposite(self)
def getDimension(self):
"""getDimension(Process self) -> OT::UnsignedLong"""
return _randomvector.Process_getDimension(self)
def getRealization(self):
"""getRealization(Process self) -> TimeSeries"""
return _randomvector.Process_getRealization(self)
def getContinuousRealization(self):
"""getContinuousRealization(Process self) -> NumericalMathFunction"""
return _randomvector.Process_getContinuousRealization(self)
def getTimeGrid(self):
"""getTimeGrid(Process self) -> RegularGrid"""
return _randomvector.Process_getTimeGrid(self)
def setTimeGrid(self, *args):
"""setTimeGrid(Process self, RegularGrid timeGrid)"""
return _randomvector.Process_setTimeGrid(self, *args)
def getSample(self, *args):
"""getSample(Process self, OT::UnsignedLong const size) -> ProcessSample"""
return _randomvector.Process_getSample(self, *args)
def getFuture(self, *args):
"""
getFuture(Process self, OT::UnsignedLong const stepNumber) -> TimeSeries
getFuture(Process self, OT::UnsignedLong const stepNumber, OT::UnsignedLong const size) -> ProcessSample
"""
return _randomvector.Process_getFuture(self, *args)
def getMarginalProcess(self, *args):
"""
getMarginalProcess(Process self, OT::UnsignedLong const i) -> Process
getMarginalProcess(Process self, Indices indices) -> Process
"""
return _randomvector.Process_getMarginalProcess(self, *args)
def __init__(self, *args):
"""
__init__(OT::Process self) -> Process
__init__(OT::Process self, ProcessImplementation implementation, OT::String const & name=DefaultName) -> Process
__init__(OT::Process self, ProcessImplementation implementation) -> Process
__init__(OT::Process self, ProcessImplementationPointer p_implementation, OT::String const & name=DefaultName) -> Process
__init__(OT::Process self, ProcessImplementationPointer p_implementation) -> Process
__init__(OT::Process self, Process other) -> Process
"""
this = _randomvector.new_Process(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_Process
__del__ = lambda self : None;
Process_swigregister = _randomvector.Process_swigregister
Process_swigregister(Process)
def Process_GetClassName():
"""Process_GetClassName() -> OT::String"""
return _randomvector.Process_GetClassName()
class RandomVectorImplementation(openturns.common.PersistentObject):
"""Proxy of C++ OT::RandomVectorImplementation class"""
__swig_setmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, RandomVectorImplementation, name, value)
__swig_getmethods__ = {}
for _s in [openturns.common.PersistentObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, RandomVectorImplementation, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _randomvector.RandomVectorImplementation_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(RandomVectorImplementation self) -> OT::String"""
return _randomvector.RandomVectorImplementation_getClassName(self)
def __repr__(self):
"""__repr__(RandomVectorImplementation self) -> OT::String"""
return _randomvector.RandomVectorImplementation___repr__(self)
def isComposite(self):
"""isComposite(RandomVectorImplementation self) -> OT::Bool"""
return _randomvector.RandomVectorImplementation_isComposite(self)
def getDimension(self):
"""getDimension(RandomVectorImplementation self) -> OT::UnsignedLong"""
return _randomvector.RandomVectorImplementation_getDimension(self)
def getRealization(self):
"""getRealization(RandomVectorImplementation self) -> NumericalPoint"""
return _randomvector.RandomVectorImplementation_getRealization(self)
def getSample(self, *args):
"""getSample(RandomVectorImplementation self, OT::UnsignedLong const size) -> NumericalSample"""
return _randomvector.RandomVectorImplementation_getSample(self, *args)
def getMean(self):
"""getMean(RandomVectorImplementation self) -> NumericalPoint"""
return _randomvector.RandomVectorImplementation_getMean(self)
def getCovariance(self):
"""getCovariance(RandomVectorImplementation self) -> CovarianceMatrix"""
return _randomvector.RandomVectorImplementation_getCovariance(self)
def getMarginal(self, *args):
"""
getMarginal(RandomVectorImplementation self, OT::UnsignedLong const i) -> RandomVectorImplementationPointer
getMarginal(RandomVectorImplementation self, Indices indices) -> RandomVectorImplementationPointer
"""
return _randomvector.RandomVectorImplementation_getMarginal(self, *args)
def getAntecedent(self):
"""getAntecedent(RandomVectorImplementation self) -> RandomVectorImplementationPointer"""
return _randomvector.RandomVectorImplementation_getAntecedent(self)
def getFunction(self):
"""getFunction(RandomVectorImplementation self) -> NumericalMathFunction"""
return _randomvector.RandomVectorImplementation_getFunction(self)
def getDistribution(self):
"""getDistribution(RandomVectorImplementation self) -> Distribution"""
return _randomvector.RandomVectorImplementation_getDistribution(self)
def getOperator(self):
"""getOperator(RandomVectorImplementation self) -> ComparisonOperator"""
return _randomvector.RandomVectorImplementation_getOperator(self)
def getDomain(self):
"""getDomain(RandomVectorImplementation self) -> Domain"""
return _randomvector.RandomVectorImplementation_getDomain(self)
def getProcess(self):
"""getProcess(RandomVectorImplementation self) -> Process"""
return _randomvector.RandomVectorImplementation_getProcess(self)
def getThreshold(self):
"""getThreshold(RandomVectorImplementation self) -> OT::NumericalScalar"""
return _randomvector.RandomVectorImplementation_getThreshold(self)
def setDescription(self, *args):
"""setDescription(RandomVectorImplementation self, Description description)"""
return _randomvector.RandomVectorImplementation_setDescription(self, *args)
def getDescription(self):
"""getDescription(RandomVectorImplementation self) -> Description"""
return _randomvector.RandomVectorImplementation_getDescription(self)
def __init__(self, *args):
"""
__init__(OT::RandomVectorImplementation self, OT::String const & name=DefaultName) -> RandomVectorImplementation
__init__(OT::RandomVectorImplementation self) -> RandomVectorImplementation
__init__(OT::RandomVectorImplementation self, RandomVectorImplementation other) -> RandomVectorImplementation
"""
this = _randomvector.new_RandomVectorImplementation(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_RandomVectorImplementation
__del__ = lambda self : None;
RandomVectorImplementation_swigregister = _randomvector.RandomVectorImplementation_swigregister
RandomVectorImplementation_swigregister(RandomVectorImplementation)
def RandomVectorImplementation_GetClassName():
"""RandomVectorImplementation_GetClassName() -> OT::String"""
return _randomvector.RandomVectorImplementation_GetClassName()
class ConstantRandomVector(RandomVectorImplementation):
"""Proxy of C++ OT::ConstantRandomVector class"""
__swig_setmethods__ = {}
for _s in [RandomVectorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ConstantRandomVector, name, value)
__swig_getmethods__ = {}
for _s in [RandomVectorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ConstantRandomVector, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _randomvector.ConstantRandomVector_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(ConstantRandomVector self) -> OT::String"""
return _randomvector.ConstantRandomVector_getClassName(self)
def __repr__(self):
"""__repr__(ConstantRandomVector self) -> OT::String"""
return _randomvector.ConstantRandomVector___repr__(self)
def getDimension(self):
"""getDimension(ConstantRandomVector self) -> OT::UnsignedLong"""
return _randomvector.ConstantRandomVector_getDimension(self)
def getRealization(self):
"""getRealization(ConstantRandomVector self) -> NumericalPoint"""
return _randomvector.ConstantRandomVector_getRealization(self)
def getSample(self, *args):
"""getSample(ConstantRandomVector self, OT::UnsignedLong const size) -> NumericalSample"""
return _randomvector.ConstantRandomVector_getSample(self, *args)
def getMean(self):
"""getMean(ConstantRandomVector self) -> NumericalPoint"""
return _randomvector.ConstantRandomVector_getMean(self)
def getCovariance(self):
"""getCovariance(ConstantRandomVector self) -> CovarianceMatrix"""
return _randomvector.ConstantRandomVector_getCovariance(self)
def getMarginal(self, *args):
"""
getMarginal(ConstantRandomVector self, OT::UnsignedLong const i) -> RandomVectorImplementationPointer
getMarginal(ConstantRandomVector self, Indices indices) -> RandomVectorImplementationPointer
"""
return _randomvector.ConstantRandomVector_getMarginal(self, *args)
def getDistribution(self):
"""getDistribution(ConstantRandomVector self) -> Distribution"""
return _randomvector.ConstantRandomVector_getDistribution(self)
def __init__(self, *args):
"""
__init__(OT::ConstantRandomVector self, NumericalPointWithDescription point, OT::String const & name=DefaultName) -> ConstantRandomVector
__init__(OT::ConstantRandomVector self, NumericalPointWithDescription point) -> ConstantRandomVector
__init__(OT::ConstantRandomVector self, NumericalPoint point, OT::String const & name=DefaultName) -> ConstantRandomVector
__init__(OT::ConstantRandomVector self, NumericalPoint point) -> ConstantRandomVector
__init__(OT::ConstantRandomVector self, ConstantRandomVector other) -> ConstantRandomVector
"""
this = _randomvector.new_ConstantRandomVector(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_ConstantRandomVector
__del__ = lambda self : None;
ConstantRandomVector_swigregister = _randomvector.ConstantRandomVector_swigregister
ConstantRandomVector_swigregister(ConstantRandomVector)
def ConstantRandomVector_GetClassName():
"""ConstantRandomVector_GetClassName() -> OT::String"""
return _randomvector.ConstantRandomVector_GetClassName()
class UsualRandomVector(RandomVectorImplementation):
"""Proxy of C++ OT::UsualRandomVector class"""
__swig_setmethods__ = {}
for _s in [RandomVectorImplementation]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, UsualRandomVector, name, value)
__swig_getmethods__ = {}
for _s in [RandomVectorImplementation]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, UsualRandomVector, name)
def GetClassName():
"""GetClassName() -> OT::String"""
return _randomvector.UsualRandomVector_GetClassName()
if _newclass:GetClassName = staticmethod(GetClassName)
__swig_getmethods__["GetClassName"] = lambda x: GetClassName
def getClassName(self):
"""getClassName(UsualRandomVector self) -> OT::String"""
return _randomvector.UsualRandomVector_getClassName(self)
def __repr__(self):
"""__repr__(UsualRandomVector self) -> OT::String"""
return _randomvector.UsualRandomVector___repr__(self)
def getDimension(self):
"""getDimension(UsualRandomVector self) -> OT::UnsignedLong"""
return _randomvector.UsualRandomVector_getDimension(self)
def getRealization(self):
"""getRealization(UsualRandomVector self) -> NumericalPoint"""
return _randomvector.UsualRandomVector_getRealization(self)
def getSample(self, *args):
"""getSample(UsualRandomVector self, OT::UnsignedLong size) -> NumericalSample"""
return _randomvector.UsualRandomVector_getSample(self, *args)
def getMean(self):
"""getMean(UsualRandomVector self) -> NumericalPoint"""
return _randomvector.UsualRandomVector_getMean(self)
def getCovariance(self):
"""getCovariance(UsualRandomVector self) -> CovarianceMatrix"""
return _randomvector.UsualRandomVector_getCovariance(self)
def getMarginal(self, *args):
"""
getMarginal(UsualRandomVector self, OT::UnsignedLong const i) -> RandomVectorImplementationPointer
getMarginal(UsualRandomVector self, Indices indices) -> RandomVectorImplementationPointer
"""
return _randomvector.UsualRandomVector_getMarginal(self, *args)
def getDistribution(self):
"""getDistribution(UsualRandomVector self) -> Distribution"""
return _randomvector.UsualRandomVector_getDistribution(self)
def __init__(self, *args):
"""
__init__(OT::UsualRandomVector self, Distribution distribution, OT::String const & name=DefaultName) -> UsualRandomVector
__init__(OT::UsualRandomVector self, Distribution distribution) -> UsualRandomVector
__init__(OT::UsualRandomVector self, UsualRandomVector other) -> UsualRandomVector
"""
this = _randomvector.new_UsualRandomVector(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_UsualRandomVector
__del__ = lambda self : None;
UsualRandomVector_swigregister = _randomvector.UsualRandomVector_swigregister
UsualRandomVector_swigregister(UsualRandomVector)
def UsualRandomVector_GetClassName():
"""UsualRandomVector_GetClassName() -> OT::String"""
return _randomvector.UsualRandomVector_GetClassName()
class ProcessImplementationPointer(_object):
"""Proxy of C++ OT::Pointer<(OT::ProcessImplementation)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ProcessImplementationPointer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ProcessImplementationPointer, name)
__swig_setmethods__["ptr_"] = _randomvector.ProcessImplementationPointer_ptr__set
__swig_getmethods__["ptr_"] = _randomvector.ProcessImplementationPointer_ptr__get
if _newclass:ptr_ = _swig_property(_randomvector.ProcessImplementationPointer_ptr__get, _randomvector.ProcessImplementationPointer_ptr__set)
def __init__(self, *args):
"""
__init__(OT::Pointer<(OT::ProcessImplementation)> self) -> ProcessImplementationPointer
__init__(OT::Pointer<(OT::ProcessImplementation)> self, ProcessImplementation ptr) -> ProcessImplementationPointer
"""
this = _randomvector.new_ProcessImplementationPointer(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _randomvector.delete_ProcessImplementationPointer
__del__ = lambda self : None;
def reset(self):
"""reset(ProcessImplementationPointer self)"""
return _randomvector.ProcessImplementationPointer_reset(self)
def __ref__(self, *args):
"""
__ref__(ProcessImplementationPointer self) -> ProcessImplementation
__ref__(ProcessImplementationPointer self) -> ProcessImplementation
"""
return _randomvector.ProcessImplementationPointer___ref__(self, *args)
def __deref__(self):
"""__deref__(ProcessImplementationPointer self) -> ProcessImplementation"""
return _randomvector.ProcessImplementationPointer___deref__(self)
def isNull(self):
"""isNull(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_isNull(self)
def __nonzero__(self):
return _randomvector.ProcessImplementationPointer___nonzero__(self)
__bool__ = __nonzero__
def get(self):
"""get(ProcessImplementationPointer self) -> ProcessImplementation"""
return _randomvector.ProcessImplementationPointer_get(self)
def getImplementation(self):
"""getImplementation(ProcessImplementationPointer self) -> OT::Pointer< OT::ProcessImplementation >::pointer_type const &"""
return _randomvector.ProcessImplementationPointer_getImplementation(self)
def unique(self):
"""unique(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_unique(self)
def use_count(self):
"""use_count(ProcessImplementationPointer self) -> OT::UnsignedLong"""
return _randomvector.ProcessImplementationPointer_use_count(self)
def swap(self, *args):
"""swap(ProcessImplementationPointer self, ProcessImplementationPointer other)"""
return _randomvector.ProcessImplementationPointer_swap(self, *args)
def GetClassName(self):
"""GetClassName(ProcessImplementationPointer self) -> OT::String"""
return _randomvector.ProcessImplementationPointer_GetClassName(self)
def getClassName(self):
"""getClassName(ProcessImplementationPointer self) -> OT::String"""
return _randomvector.ProcessImplementationPointer_getClassName(self)
def __repr__(self):
"""__repr__(ProcessImplementationPointer self) -> OT::String"""
return _randomvector.ProcessImplementationPointer___repr__(self)
def __str__(self, offset=""):
"""
__str__(ProcessImplementationPointer self, OT::String const & offset="") -> OT::String
__str__(ProcessImplementationPointer self) -> OT::String
"""
return _randomvector.ProcessImplementationPointer___str__(self, offset)
def isNormal(self):
"""isNormal(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_isNormal(self)
def isStationary(self):
"""isStationary(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_isStationary(self)
def isComposite(self):
"""isComposite(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_isComposite(self)
def getDimension(self):
"""getDimension(ProcessImplementationPointer self) -> OT::UnsignedLong"""
return _randomvector.ProcessImplementationPointer_getDimension(self)
def getTimeGrid(self):
"""getTimeGrid(ProcessImplementationPointer self) -> RegularGrid"""
return _randomvector.ProcessImplementationPointer_getTimeGrid(self)
def setTimeGrid(self, *args):
"""setTimeGrid(ProcessImplementationPointer self, RegularGrid timeGrid)"""
return _randomvector.ProcessImplementationPointer_setTimeGrid(self, *args)
def getRealization(self):
"""getRealization(ProcessImplementationPointer self) -> TimeSeries"""
return _randomvector.ProcessImplementationPointer_getRealization(self)
def getContinuousRealization(self):
"""getContinuousRealization(ProcessImplementationPointer self) -> NumericalMathFunction"""
return _randomvector.ProcessImplementationPointer_getContinuousRealization(self)
def getSample(self, *args):
"""getSample(ProcessImplementationPointer self, OT::UnsignedLong const size) -> ProcessSample"""
return _randomvector.ProcessImplementationPointer_getSample(self, *args)
def getFuture(self, *args):
"""
getFuture(ProcessImplementationPointer self, OT::UnsignedLong const stepNumber) -> TimeSeries
getFuture(ProcessImplementationPointer self, OT::UnsignedLong const stepNumber, OT::UnsignedLong const size) -> ProcessSample
"""
return _randomvector.ProcessImplementationPointer_getFuture(self, *args)
def getMarginalProcess(self, *args):
"""
getMarginalProcess(ProcessImplementationPointer self, OT::UnsignedLong const i) -> ProcessImplementationPointer
getMarginalProcess(ProcessImplementationPointer self, Indices indices) -> ProcessImplementationPointer
"""
return _randomvector.ProcessImplementationPointer_getMarginalProcess(self, *args)
def setDescription(self, *args):
"""setDescription(ProcessImplementationPointer self, Description description)"""
return _randomvector.ProcessImplementationPointer_setDescription(self, *args)
def getDescription(self):
"""getDescription(ProcessImplementationPointer self) -> Description"""
return _randomvector.ProcessImplementationPointer_getDescription(self)
def __eq__(self, *args):
"""__eq__(ProcessImplementationPointer self, PersistentObject other) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer___eq__(self, *args)
def Is(self, *args):
"""Is(ProcessImplementationPointer self, PersistentObject other) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_Is(self, *args)
def getId(self):
"""getId(ProcessImplementationPointer self) -> OT::Id"""
return _randomvector.ProcessImplementationPointer_getId(self)
def setShadowedId(self, *args):
"""setShadowedId(ProcessImplementationPointer self, OT::Id id)"""
return _randomvector.ProcessImplementationPointer_setShadowedId(self, *args)
def getShadowedId(self):
"""getShadowedId(ProcessImplementationPointer self) -> OT::Id"""
return _randomvector.ProcessImplementationPointer_getShadowedId(self)
def setVisibility(self, *args):
"""setVisibility(ProcessImplementationPointer self, OT::Bool visible)"""
return _randomvector.ProcessImplementationPointer_setVisibility(self, *args)
def getVisibility(self):
"""getVisibility(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_getVisibility(self)
def hasName(self):
"""hasName(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_hasName(self)
def hasVisibleName(self):
"""hasVisibleName(ProcessImplementationPointer self) -> OT::Bool"""
return _randomvector.ProcessImplementationPointer_hasVisibleName(self)
def getName(self):
"""getName(ProcessImplementationPointer self) -> OT::String"""
return _randomvector.ProcessImplementationPointer_getName(self)
def setName(self, *args):
"""setName(ProcessImplementationPointer self, OT::String const & name)"""
return _randomvector.ProcessImplementationPointer_setName(self, *args)
ProcessImplementationPointer_swigregister = _randomvector.ProcessImplementationPointer_swigregister
ProcessImplementationPointer_swigregister(ProcessImplementationPointer)
# This file is compatible with both classic and new-style classes.
|