SUAVE  2.5.2
An Aerospace Vehicle Environment for Designing Future Aircraft
SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported Class Reference
Inheritance diagram for SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported:
SUAVE.Plugins.pint.testsuite.test_umath.TestUFuncs SUAVE.Plugins.pint.testsuite.TestCase

Public Member Functions

def test_unwrap (self)
 
def test_trapz (self)
 
def test_diff (self)
 
def test_ediff1d (self)
 
def test_fix (self)
 
def test_gradient (self)
 
def test_cross (self)
 
def test_power (self)
 
def test_ones_like (self)
 
- Public Member Functions inherited from SUAVE.Plugins.pint.testsuite.test_umath.TestUFuncs
def qless (self)
 
def qs (self)
 
def q1 (self)
 
def q2 (self)
 
def qm (self)
 
def qi (self)
 
def assertEqual (self, first, second, msg=None)
 
def assertRaisesMsg (self, msg, ExcType, func, *args, **kwargs)
 
- Public Member Functions inherited from SUAVE.Plugins.pint.testsuite.TestCase
def setUpClass (cls)
 
def assertSequenceEqual (self, seq1, seq2, msg=None, seq_type=None)
 
def assertAlmostEqual (self, first, second, places=None, msg=None, delta=None)
 
def assertAlmostEqualRelError (self, first, second, rel, msg=None)
 

Static Public Attributes

bool FORCE_NDARRAY = True
 
- Static Public Attributes inherited from SUAVE.Plugins.pint.testsuite.test_umath.TestUFuncs
bool FORCE_NDARRAY = True
 

Additional Inherited Members

- Public Attributes inherited from SUAVE.Plugins.pint.testsuite.TestCase
 ureg
 
 Q_
 

Member Function Documentation

◆ test_cross()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_cross (   self)
Units are erased by asarray, Quantity does not inherit from NDArray

◆ test_diff()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_diff (   self)
Units are erased by asanyarray, Quantity does not inherit from NDArray

◆ test_ediff1d()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_ediff1d (   self)
Units are erased by asanyarray, Quantity does not inherit from NDArray

◆ test_fix()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_fix (   self)
Units are erased by asanyarray, Quantity does not inherit from NDArray

◆ test_gradient()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_gradient (   self)
shape is a property not a function

◆ test_ones_like()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_ones_like (   self)
Units are erased by emptyarra, Quantity does not inherit from NDArray

◆ test_power()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_power (   self)
This is not supported as different elements might end up with different units

eg. ([1, 1] * m) ** [2, 3]

Must force exponent to single value

◆ test_trapz()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_trapz (   self)
Units are erased by asanyarray, Quantity does not inherit from NDArray

◆ test_unwrap()

def SUAVE.Plugins.pint.testsuite.test_numpy.TestNumpyNotSupported.test_unwrap (   self)
unwrap depends on diff

The documentation for this class was generated from the following file: