TransportMaps.tests.test_transportmaps
¶
Module Contents¶
Classes¶
Special test definitions for evaluation on-the-fly |
|
Special test definitions for evaluation on-the-fly |
|
Special test definitions with precomputed Vandermonde matrices. |
|
Precompute uni-variate Vandermonde matrices |
|
Precompute multi-variate Vandermonde matrices |
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Special test definitions for evaluation on-the-fly |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Linear span approximation |
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
|
Integrated exponential approximation |
|
Integrated exponential approximation |
Integrated exponential approximation |
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
|
Integrated exponential approximation |
|
Integrated exponential approximation |
|
A class whose instances are single test cases. |
|
Special test definitions for evaluation on-the-fly |
|
Special test definitions for evaluation on-the-fly |
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
|
Integrated squared approximation |
Functions¶
|
|
|
Attributes¶
- class TransportMaps.tests.test_transportmaps.OnTheFly_TM_DerivativeChecks[source]¶
Bases:
TransportMap_DerivativeChecks
Special test definitions for evaluation on-the-fly
- class TransportMaps.tests.test_transportmaps.OnTheFly_CompositeTM_DerivativeChecks[source]¶
Bases:
OnTheFly_TM_DerivativeChecks
Special test definitions for evaluation on-the-fly
- class TransportMaps.tests.test_transportmaps.Precomp_TM_DerivativeChecks[source]¶
Bases:
TransportMap_DerivativeChecks
Special test definitions with precomputed Vandermonde matrices.
- class TransportMaps.tests.test_transportmaps.PrecompUni_TM_DerivativeChecks[source]¶
Bases:
Precomp_TM_DerivativeChecks
Precompute uni-variate Vandermonde matrices
- class TransportMaps.tests.test_transportmaps.PrecompMulti_TM_DerivativeChecks[source]¶
Bases:
Precomp_TM_DerivativeChecks
Precompute multi-variate Vandermonde matrices
- class TransportMaps.tests.test_transportmaps.IntegratedExponentialTTM[source]¶
Bases:
object
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.CommonBasisIntegratedExponentialTTM[source]¶
Bases:
object
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.TotOrdIntegratedExponentialTTM[source]¶
Bases:
object
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.CommonBasisTotOrdIntegratedExponentialTTM[source]¶
Bases:
object
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.IntegratedSquaredTTM[source]¶
Bases:
object
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.TotOrdIntegratedSquaredTTM[source]¶
Bases:
object
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.IntegratedSquaredRBFTTM[source]¶
Bases:
object
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.LinearSpanTTM[source]¶
Bases:
object
Linear span approximation
- class TransportMaps.tests.test_transportmaps.CommonBasisLinearSpanTTM[source]¶
Bases:
object
Linear span approximation
- class TransportMaps.tests.test_transportmaps.TotOrdLinearSpanTTM[source]¶
Bases:
object
Linear span approximation
- class TransportMaps.tests.test_transportmaps.CommonBasisTotOrdLinearSpanTTM[source]¶
Bases:
object
Linear span approximation
- class TransportMaps.tests.test_transportmaps.InverseCommonBasisTotOrdIntegratedExponentialTTM[source]¶
Bases:
object
- class TransportMaps.tests.test_transportmaps.InverseTotOrdIntegratedSquaredTTM[source]¶
Bases:
object
- class TransportMaps.tests.test_transportmaps.CompositeCommonBasisTotOrdIntegratedExponentialTTM[source]¶
Bases:
object
- class TransportMaps.tests.test_transportmaps.ListCompositeCommonBasisTotOrdIntegratedExponentialTTM[source]¶
Bases:
object
- class TransportMaps.tests.test_transportmaps.OnTheFly_LinearTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
LinearTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Special test definitions for evaluation on-the-fly
- class TransportMaps.tests.test_transportmaps.OnTheFly_LinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
LinearSpanTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_LinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
LinearSpanTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_LinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
LinearSpanTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_CommonBasisLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisLinearSpanTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_CommonBasisLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisLinearSpanTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_TotOrdLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdLinearSpanTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_TotOrdLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdLinearSpanTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_TotOrdLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdLinearSpanTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_CommonBasisTotOrdLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisTotOrdLinearSpanTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_CommonBasisTotOrdLinearSpanTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisTotOrdLinearSpanTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Linear span approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_IntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedExponentialTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_IntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedExponentialTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_IntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedExponentialTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_CommonBasisIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisIntegratedExponentialTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_CommonBasisIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisIntegratedExponentialTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_TotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdIntegratedExponentialTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_TotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdIntegratedExponentialTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_TotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdIntegratedExponentialTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_CommonBasisTotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisTotOrdIntegratedExponentialTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_CommonBasisTotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CommonBasisTotOrdIntegratedExponentialTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated exponential approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_InverseCommonBasisTotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
InverseCommonBasisTotOrdIntegratedExponentialTTM
,OnTheFly_InverseTM_DerivativeChecks
,unittest.TestCase
A class whose instances are single test cases.
By default, the test code itself should be placed in a method named ‘runTest’.
If the fixture may be used for many test cases, create as many test methods as are needed. When instantiating such a TestCase subclass, specify in the constructor arguments the name of the test method that the instance is to execute.
Test authors should subclass TestCase for their own tests. Construction and deconstruction of the test’s environment (‘fixture’) can be implemented by overriding the ‘setUp’ and ‘tearDown’ methods respectively.
If it is necessary to override the __init__ method, the base class __init__ method must always be called. It is important that subclasses should not change the signature of their __init__ method, since instances of the classes are instantiated automatically by parts of the framework in order to be run.
When subclassing TestCase, you can set these attributes: * failureException: determines which exception will be raised when
the instance’s assertion methods fail; test methods raising this exception will be deemed to have ‘failed’ rather than ‘errored’.
- longMessage: determines whether long messages (including repr of
objects used in assert methods) will be printed on failure in addition to any explicit message passed.
- maxDiff: sets the maximum length of a diff in failure messages
by assert methods using difflib. It is looked up as an instance attribute so can be configured by individual tests if required.
- class TransportMaps.tests.test_transportmaps.OnTheFly_CompositeCommonBasisTotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
CompositeCommonBasisTotOrdIntegratedExponentialTTM
,OnTheFly_CompositeTM_DerivativeChecks
,unittest.TestCase
Special test definitions for evaluation on-the-fly
- class TransportMaps.tests.test_transportmaps.OnTheFly_ListCompositeCommonBasisTotOrdIntegratedExponentialTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
ListCompositeCommonBasisTotOrdIntegratedExponentialTTM
,OnTheFly_CompositeTM_DerivativeChecks
,unittest.TestCase
Special test definitions for evaluation on-the-fly
- class TransportMaps.tests.test_transportmaps.OnTheFly_IntegratedSquaredTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedSquaredTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_IntegratedSquaredTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedSquaredTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_IntegratedSquaredTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedSquaredTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_TotOrdIntegratedSquaredTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdIntegratedSquaredTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_TotOrdIntegratedSquaredTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdIntegratedSquaredTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_TotOrdIntegratedSquaredTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
TotOrdIntegratedSquaredTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.OnTheFly_IntegratedSquaredRBFTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedSquaredRBFTTM
,OnTheFly_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.PrecompUni_IntegratedSquaredRBFTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedSquaredRBFTTM
,PrecompUni_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation
- class TransportMaps.tests.test_transportmaps.PrecompMulti_IntegratedSquaredRBFTM_DerivativeChecks(methodName='runTest')[source]¶
Bases:
IntegratedSquaredRBFTTM
,PrecompMulti_TM_DerivativeChecks
,unittest.TestCase
Integrated squared approximation