コード例 #1
0
def test_op_pow(): binary_ufunc_check(op.pow, lims_A=[0.7, 2.0])

# Misc tests

def test_transpose(): combo_check('transpose', [0],
コード例 #2
0
def test_op_mod_neg(): binary_ufunc_check(op.mod, lims_B=[-0.3, -2.0])
def test_op_div(): binary_ufunc_check(op.div, lims_B=[0.5, 2.0])
コード例 #3
0
def test_op_div(): binary_ufunc_check(op.div, lims_B=[0.5, 2.0])
def test_op_pow(): binary_ufunc_check(op.pow, lims_A=[0.7, 2.0])
コード例 #4
0
def test_op_add(): binary_ufunc_check(op.add)
def test_op_sub(): binary_ufunc_check(op.sub)
コード例 #5
0
def test_op_sub(): binary_ufunc_check(op.sub)
def test_op_mod(): binary_ufunc_check(op.mod, lims_B=[0.3, 2.0])
コード例 #6
0
def test_mod_neg(): binary_ufunc_check('mod',    lims_B=[-0.3, -2.0])

def test_op_mul(): binary_ufunc_check(op.mul)
コード例 #7
0
def test_op_mul(): binary_ufunc_check(op.mul)
def test_op_add(): binary_ufunc_check(op.add)
コード例 #8
0
def test_mod(): binary_ufunc_check('mod',    lims_B=[0.8, 2.1])
def test_mod_neg(): binary_ufunc_check('mod',    lims_B=[-0.3, -2.0])
コード例 #9
0
def test_remainder(): binary_ufunc_check('remainder', lims_A=[-0.9, 0.9], lims_B=[0.7, 1.9])
def test_mod(): binary_ufunc_check('mod',    lims_B=[0.8, 2.1])
コード例 #10
0
def test_logaddexp2(): binary_ufunc_check('logaddexp2')
def test_remainder(): binary_ufunc_check('remainder', lims_A=[-0.9, 0.9], lims_B=[0.7, 1.9])
コード例 #11
0
def test_logaddexp(): binary_ufunc_check('logaddexp')
def test_logaddexp2(): binary_ufunc_check('logaddexp2')
コード例 #12
0
def test_add(): binary_ufunc_check('add')
def test_logaddexp(): binary_ufunc_check('logaddexp')