Did I find the right examples for you? yes no

All Samples(20)  |  Call(9)  |  Derive(0)  |  Import(11)

src/s/c/scipy-0.13.3/scipy/special/tests/test_orthogonal_eval.py   scipy(Download)
import scipy.special.orthogonal as orth
 
from scipy.special._testutils import FuncData
 
# Early Numpy versions have bugs in ufunc keyword argument parsing
        olderr = np.seterr(all='raise')
        try:
            ds = FuncData(polyfunc, dataset, list(range(len(param_ranges)+2)), -1,
                          rtol=rtol)
            ds.check()
        olderr = np.seterr(all='raise')
        try:
            ds = FuncData(polyfunc, dataset, list(range(len(param_ranges)+2)), -1,
                          rtol=rtol)
            ds.check()

src/s/c/scipy-HEAD/scipy/special/tests/test_orthogonal_eval.py   scipy(Download)
import numpy as np
from numpy.testing import assert_
import scipy.special.orthogonal as orth
 
from scipy.special._testutils import FuncData
        olderr = np.seterr(all='raise')
        try:
            ds = FuncData(polyfunc, dataset, range(len(param_ranges)+2), -1,
                          rtol=rtol)
            ds.check()
        olderr = np.seterr(all='raise')
        try:
            ds = FuncData(polyfunc, dataset, range(len(param_ranges)+2), -1,
                          rtol=rtol)
            ds.check()

src/m/i/MissionPlanner-HEAD/Lib/site-packages/scipy/special/tests/test_orthogonal_eval.py   MissionPlanner(Download)
import numpy as np
from numpy.testing import assert_
import scipy.special.orthogonal as orth
 
from scipy.special._testutils import FuncData
        olderr = np.seterr(all='raise')
        try:
            ds = FuncData(polyfunc, dataset, range(len(param_ranges)+2), -1,
                          rtol=rtol)
            ds.check()

src/s/c/scipy-0.13.3/scipy/special/tests/test_data.py   scipy(Download)
)
 
from scipy.special._testutils import FuncData
 
DATASETS_BOOST = np.load(os.path.join(os.path.dirname(__file__),
def data(func, dataname, *a, **kw):
    kw.setdefault('dataname', dataname)
    return FuncData(func, DATASETS_BOOST[dataname], *a, **kw)
 
 
def data_gsl(func, dataname, *a, **kw):
    kw.setdefault('dataname', dataname)
    return FuncData(func, DATASETS_GSL[dataname], *a, **kw)

src/m/i/MissionPlanner-HEAD/Lib/site-packages/scipy/special/tests/test_data.py   MissionPlanner(Download)
)
 
from scipy.special._testutils import FuncData
 
DATASETS = np.load(os.path.join(os.path.dirname(__file__),
                                "data", "boost.npz"))
 
def data(func, dataname, *a, **kw):
    kw.setdefault('dataname', dataname)
    return FuncData(func, DATASETS[dataname], *a, **kw)

src/s/c/scipy-HEAD/scipy/special/tests/test_data.py   scipy(Download)
)
 
from scipy.special._testutils import FuncData
 
DATASETS = np.load(os.path.join(os.path.dirname(__file__),
                                "data", "boost.npz"))
 
def data(func, dataname, *a, **kw):
    kw.setdefault('dataname', dataname)
    return FuncData(func, DATASETS[dataname], *a, **kw)

src/s/c/scipy-HEAD/scipy/special/tests/test_mpmath.py   scipy(Download)
import scipy.special as sc
 
from scipy.special._testutils import FuncData, assert_func_equal
 
try:

src/s/c/scipy-HEAD/scipy/special/tests/test_lambertw.py   scipy(Download)
from numpy import nan, inf, pi, e, isnan, log, r_, array, complex_
 
from scipy.special._testutils import FuncData
 
 

src/m/i/MissionPlanner-HEAD/Lib/site-packages/scipy/special/tests/test_mpmath.py   MissionPlanner(Download)
import scipy.special as sc
 
from scipy.special._testutils import FuncData, assert_func_equal
 
if sys.platform == 'cli':

src/m/i/MissionPlanner-HEAD/Lib/site-packages/scipy/special/tests/test_lambertw.py   MissionPlanner(Download)
from numpy import nan, inf, pi, e, isnan, log, r_, array, complex_
 
from scipy.special._testutils import FuncData
 
 

  1 | 2  Next