module documentation
Undocumented
Class |
|
Undocumented |
Class |
|
Test the latex repr used by Jupyter |
Class |
|
Undocumented |
Class |
|
Test the output is properly configured via printoptions. The exponential notation is enabled automatically when the values are too small or too large. |
Class |
|
Undocumented |
Class |
|
Undocumented |
Class |
|
Undocumented |
Function | test |
Test both numpy and built-in complex. |
Function | test |
Test coef fallback for object arrays of non-numeric coefficients. |
Function | test |
Undocumented |
Function | test |
Undocumented |
Function | test |
Undocumented |
Constant | SWITCH |
Undocumented |
@pytest.mark.parametrize( ( 'coefs', 'tgt'), ( ( array( [ 1, 2, 'f'], dtype=object), '1 + 2·x + f·x²'), ( array( [ 1, 2, [ 3, 4]], dtype=object), '1 + 2·x + [3, 4]·x²')))
def test_nonnumeric_object_coefficients(coefs, tgt): (source) ¶
def test_nonnumeric_object_coefficients(coefs, tgt): (source) ¶
Test coef fallback for object arrays of non-numeric coefficients.
@pytest.mark.parametrize( ( 'coefs', 'tgt'), ( ( array( [ Fraction( 1, 2), Fraction( 3, 4)], dtype=object), '1/2 + 3/4·x'), ( array( [ 1, 2, Fraction( 5, 7)], dtype=object), '1 + 2·x + 5/7·x²'), ( array( [ Decimal( '1.00'), Decimal( '2.2'), 3], dtype=object), '1.00 + 2.2·x + 3·x²')))
def test_numeric_object_coefficients(coefs, tgt): (source) ¶
def test_numeric_object_coefficients(coefs, tgt): (source) ¶
Undocumented
@pytest.mark.parametrize( ( 'poly', 'tgt'), ( ( poly.Polynomial, '1.0 + 2.0·z + 3.0·z²'), ( poly.Chebyshev, '1.0 + 2.0·T₁(z) + 3.0·T₂(z)'), ( poly.Hermite, '1.0 + 2.0·H₁(z) + 3.0·H₂(z)'), ( poly.HermiteE, '1.0 + 2.0·He₁(z) + 3.0·He₂(z)'), ( poly.Laguerre, '1.0 + 2.0·L₁(z) + 3.0·L₂(z)'), ( poly.Legendre, '1.0 + 2.0·P₁(z) + 3.0·P₂(z)')))
def test_symbol(poly, tgt): (source) ¶
def test_symbol(poly, tgt): (source) ¶
Undocumented
Undocumented
Value |
|