brk-code

numpy の API リファレンス

numpy (numpy/numpy) の公開 API 312 件 —— クラス 54、関数 220、メソッド 38。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: numpy/numpy

種別件数
クラス54
関数220
メソッド38

API 一覧

func.spin.cmds.bench(ctx, tests, compare, verbose, quick, factor, cpu_affinity, commits, build_dir)
🏋 Run benchmarks.
func.spin.cmds.mypy(ctx)
🦆 Run Mypy tests for NumPy
func.spin.cmds.pyrefly() -> None
🪲 Type-check the stubs with Pyrefly
func.spin.cmds.stubtest(*concise:bool, *build_dir:str) -> None
🧐 Run stubtest on NumPy's .pyi stubs Requires mypy to be installed
classnumpy._build_utils.tempita._tempita.TemplateError
Exception raised while parsing a template
classnumpy._core._exceptions.UFuncTypeError
Base class for all ufunc exceptions
classnumpy._core._ufunc_config.errstate
errstate(**kwargs) Context manager for floating-point error handling.
classnumpy._core.arrayprint.ComplexFloatingFormat
Formatter for subtypes of np.complexfloating
classnumpy._core.arrayprint.FloatingFormat
Formatter for subtypes of np.floating
classnumpy._core.arrayprint.StructuredVoidFormat
Formatter for structured np.void objects.
funcnumpy._core.arrayprint.get_printoptions()
Return the current print options.
funcnumpy._core.code_generators.genapi.order_dict(d)
Order dict by its values.
classnumpy._core.code_generators.generate_umath.TypeDescription
Type signature for a ufunc.
classnumpy._core.code_generators.generate_umath.Ufunc
Description of a ufunc.
funcnumpy._core.defchararray.array(obj, itemsize=None, copy=True, unicode=None, order=None)
Create a `~numpy.char.chararray`.
funcnumpy._core.defchararray.equal(x1, x2)
Return (x1 == x2) element-wise.
funcnumpy._core.defchararray.greater(x1, x2)
Return (x1 > x2) element-wise.
funcnumpy._core.defchararray.greater_equal(x1, x2)
Return (x1 >= x2) element-wise.
funcnumpy._core.defchararray.less(x1, x2)
Return (x1 < x2) element-wise.
funcnumpy._core.defchararray.less_equal(x1, x2)
Return (x1 <= x2) element-wise.
funcnumpy._core.defchararray.not_equal(x1, x2)
Return (x1 != x2) element-wise.
funcnumpy._core.fromnumeric.diagonal(a, offset=0, axis1=0, axis2=1)
Return specified diagonals.
funcnumpy._core.fromnumeric.ndim(a)
Return the number of dimensions of an array.
funcnumpy._core.fromnumeric.ravel(a, order='C')
Return a contiguous flattened array.
funcnumpy._core.fromnumeric.shape(a)
Return the shape of an array.
funcnumpy._core.fromnumeric.squeeze(a, axis=None)
Remove axes of length one from `a`.
funcnumpy._core.fromnumeric.swapaxes(a, axis1, axis2)
Interchange two axes of an array.
funcnumpy._core.fromnumeric.transpose(a, axes=None)
Returns an array with axes transposed.
classnumpy._core.getlimits.finfo
finfo(dtype) Machine limits for floating point types.
classnumpy._core.getlimits.iinfo
iinfo(type) Machine limits for integer types.
methodnumpy._core.getlimits.iinfo.max()
Maximum value of given dtype.
methodnumpy._core.getlimits.iinfo.min()
Minimum value of given dtype.
funcnumpy._core.multiarray.inner(a, b)
inner(a, b, /) Inner product of two arrays.
funcnumpy._core.numeric.astype(x, dtype, *copy=True, *device=None)
Copies an array to a specified data type.
funcnumpy._core.numeric.identity(n, dtype=None, *like=None)
Return the identity array.
funcnumpy._core.numeric.moveaxis(a, source, destination)
Move axes of an array to new positions.
funcnumpy._core.numeric.outer(a, b, out=None)
Compute the outer product of two vectors.
funcnumpy._core.numeric.roll(a, shift, axis=None)
Roll array elements along a given axis.
funcnumpy._core.overrides.array_function_dispatch(dispatcher=None, module=None, verify=True, docs_from_dispatcher=False, reduction=None)
Decorator for adding dispatch with the __array_function__ protocol.
funcnumpy._core.overrides.verify_matching_signatures(implementation, dispatcher)
Verify that a dispatcher function has the right signature.
classnumpy._core.records.format_parser
Class to convert formats, names, titles description to a dtype.
classnumpy._core.records.recarray
Construct an ndarray that allows field access using attributes.
classnumpy._core.records.record
A data-type scalar that allows field access as attribute lookup.
methodnumpy._core.records.record.pprint()
Pretty-print all fields.
funcnumpy._core.strings.encode(a, encoding=None, errors=None)
Calls :meth:`str.encode` element-wise.
classnumpy._pytesttester.PytestTester
Pytest test runner.
funcnumpy._typing._add_docstring.add_newdoc(name:str, value:str, doc:str) -> None
Append ``_docstrings_list`` with a docstring for `name`.
funcnumpy._utils._inspect.getargs(co)
Get information about the arguments accepted by a code object.
funcnumpy._utils._inspect.getargspec(func)
Get the names and default values of a function's arguments.
funcnumpy._utils._inspect.iscode(object)
Return true if the object is a code object.
funcnumpy._utils._inspect.isfunction(object)
Return true if the object is a user-defined function.
funcnumpy._utils._inspect.ismethod(object)
Return true if the object is an instance method.
classnumpy._utils._pep440.InvalidVersion
An invalid version was found, users should refer to PEP 440.
funcnumpy._utils.set_module(module)
Private decorator for overriding __module__ on a function or class.
funcnumpy.ctypeslib._ctypeslib.as_ctypes_type(dtype)
Convert a dtype into a ctypes type.
classnumpy.exceptions.AxisError
Axis supplied was invalid.
classnumpy.exceptions.DTypePromotionError
Multiple DTypes could not be converted to a common one.
classnumpy.exceptions.ModuleDeprecationWarning
Module deprecation warning.
classnumpy.exceptions.RankWarning
Matrix rank warning.
classnumpy.exceptions.TooHardError
``max_work`` was exceeded.
classnumpy.exceptions.VisibleDeprecationWarning
Visible deprecation warning.
methodnumpy.f2py._backends._backend.Backend.compile() -> None
Compile the wrapper.
classnumpy.f2py._backends._meson.MesonTemplate
Template meson build file generation class.
funcnumpy.f2py._src_pyf.unique_key(adict)
Obtain a unique key given a dictionary.
funcnumpy.f2py.capi_maps.getctype(var)
Determines C type
funcnumpy.f2py.capi_maps.modsign2map(m)
modulename
funcnumpy.f2py.cfuncs.errmess(s:str) -> None
Write an error message to stderr.
funcnumpy.f2py.crackfortran.param_parse(d, params)
Recursively parse array dimensions.
funcnumpy.f2py.f2py2e.filter_files(prefix, suffix, files, remove_prefix=None)
Filter files by prefix and suffix.
funcnumpy.f2py.f2py2e.run_compile()
Do it all in one call!
funcnumpy.f2py.rules.buildmodule(m, um)
Return
classnumpy.f2py.symbolic.ArithOp
Used in Op.APPLY expression to specify the function part.
classnumpy.f2py.symbolic.Expr
Represents a Fortran expression as an op-data pair.
methodnumpy.f2py.symbolic.Expr.contains(other)
Check if self contains other.
methodnumpy.f2py.symbolic.Expr.parse(s, language=Language.C)
Parse a Fortran expression to an Expr.
methodnumpy.f2py.symbolic.Expr.symbols()
Return a set of symbols contained in self.
classnumpy.f2py.symbolic.Language
Used as Expr.tostring language argument.
classnumpy.f2py.symbolic.Op
Used as Expr op attribute.
classnumpy.f2py.symbolic.Precedence
Used as Expr.tostring precedence argument.
classnumpy.f2py.symbolic.RelOp
Used in Op.RELATIONAL expression to specify the function part.
funcnumpy.f2py.symbolic.as_deref(expr)
Return object as dereferencing expression.
funcnumpy.f2py.symbolic.as_expr(obj)
Convert non-Expr objects to Expr objects.
funcnumpy.f2py.symbolic.as_factors(obj)
Return expression as FACTORS expression.
funcnumpy.f2py.symbolic.as_integer(obj, kind=4)
Return object as INTEGER constant.
funcnumpy.f2py.symbolic.as_number(obj, kind=4)
Return object as INTEGER or REAL constant.
funcnumpy.f2py.symbolic.as_numer_denom(obj)
Return expression as numer-denom pair.
funcnumpy.f2py.symbolic.as_real(obj, kind=4)
Return object as REAL constant.
funcnumpy.f2py.symbolic.as_ref(expr)
Return object as referencing expression.
funcnumpy.f2py.symbolic.as_term_coeff(obj)
Return expression as term-coefficient pair.
funcnumpy.f2py.symbolic.as_terms(obj)
Return expression as TERMS expression.
funcnumpy.f2py.symbolic.fromstring(s, language=Language.C)
Create an expression from a string.
funcnumpy.f2py.symbolic.insert_quotes(s, d)
Inverse of eliminate_quotes.
funcnumpy.f2py.symbolic.normalize(obj)
Normalize Expr and apply basic evaluation methods.
funcnumpy.f2py.symbolic.unreplace_parenthesis(s, d)
Inverse of replace_parenthesis.
funcnumpy.fft._helper.ifftshift(x, axes=None)
The inverse of `fftshift`.
funcnumpy.fft._pocketfft.irfft(a, n=None, axis=-1, norm=None, out=None)
Computes the inverse of `rfft`.
funcnumpy.fft._pocketfft.irfft2(a, s=None, axes=(-2, -1), norm=None, out=None)
Computes the inverse of `rfft2`.
funcnumpy.fft._pocketfft.irfftn(a, s=None, axes=None, norm=None, out=None)
Computes the inverse of `rfftn`.
funcnumpy.lib._arraypad_impl.pad(array, pad_width, mode='constant', **kwargs)
Pad an array.
funcnumpy.lib._arraysetops_impl.union1d(ar1, ar2)
Find the union of two arrays.
classnumpy.lib._arrayterator_impl.Arrayterator
Buffered iterator for big arrays.
methodnumpy.lib._datasource.DataSource.exists(path)
Test if path exists.
methodnumpy.lib._datasource.Repository.listdir()
List files in the source Repository.
funcnumpy.lib._function_base_impl.append(arr, values, axis=None)
Append values to the end of an array.
funcnumpy.lib._function_base_impl.bartlett(M)
Return the Bartlett window.
funcnumpy.lib._function_base_impl.blackman(M)
Return the Blackman window.
funcnumpy.lib._function_base_impl.hamming(M)
Return the Hamming window.
funcnumpy.lib._function_base_impl.hanning(M)
Return the Hanning window.
funcnumpy.lib._function_base_impl.kaiser(M, beta)
Return the Kaiser window.
funcnumpy.lib._function_base_impl.sinc(x)
Return the normalized sinc function.
classnumpy.lib._index_tricks_impl.AxisConcatenator
Translates slice objects to concatenation along an axis.
classnumpy.lib._index_tricks_impl.IndexExpression
A nicer way to build up index tuples for arrays.
classnumpy.lib._index_tricks_impl.nd_grid
Construct a multi-dimensional "meshgrid".
classnumpy.lib._index_tricks_impl.ndenumerate
Multidimensional index iterator.
classnumpy.lib._index_tricks_impl.ndindex
An N-dimensional iterator object to index arrays.
classnumpy.lib._iotools.ConversionWarning
Warning issued when a string converter has a problem.
classnumpy.lib._iotools.NameValidator
Object to validate a list of strings to use as field names.
classnumpy.lib._npyio_impl.WriteWrap
Convert to bytes on bytestream inputs.
funcnumpy.lib._npyio_impl.zipfile_factory(file, *args, **kwargs)
Create a ZipFile.
classnumpy.lib._polynomial_impl.poly1d
A one-dimensional polynomial class.
methodnumpy.lib._polynomial_impl.poly1d.coeffs()
The polynomial coefficients
methodnumpy.lib._polynomial_impl.poly1d.deriv(m=1)
Return a derivative of this polynomial.
methodnumpy.lib._polynomial_impl.poly1d.order()
The order or degree of the polynomial
methodnumpy.lib._polynomial_impl.poly1d.variable()
The name of the polynomial variable
funcnumpy.lib._polynomial_impl.polyadd(a1, a2)
Find the sum of two polynomials.
funcnumpy.lib._polynomial_impl.polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False)
Least squares polynomial fit.
funcnumpy.lib._polynomial_impl.polymul(a1, a2)
Find the product of two polynomials.
funcnumpy.lib._polynomial_impl.polyval(p, x)
Evaluate a polynomial at specific values.
funcnumpy.lib._scimath_impl.arccos(x)
Compute the inverse cosine of x.
funcnumpy.lib._scimath_impl.arcsin(x)
Compute the inverse sine of x.
funcnumpy.lib._scimath_impl.log(x)
Compute the natural logarithm of `x`.
funcnumpy.lib._scimath_impl.log10(x)
Compute the logarithm base 10 of `x`.
funcnumpy.lib._scimath_impl.log2(x)
Compute the logarithm base 2 of `x`.
funcnumpy.lib._scimath_impl.logn(n, x)
Take log base n of x.
funcnumpy.lib._scimath_impl.power(x, p)
Return x to the power p, (x**p).
funcnumpy.lib._scimath_impl.sqrt(x)
Compute the square root of x.
funcnumpy.lib._shape_base_impl.expand_dims(a, axis)
Expand the shape of an array.
funcnumpy.lib._shape_base_impl.kron(a, b)
Kronecker product of two arrays.
funcnumpy.lib._stride_tricks_impl.broadcast_to(array, shape, subok=False)
Broadcast an array to a new shape.
funcnumpy.lib._twodim_base_impl.tril(m, k=0)
Lower triangle of an array.
funcnumpy.lib._twodim_base_impl.triu(m, k=0)
Upper triangle of an array.
funcnumpy.lib._twodim_base_impl.vander(x, N=None, increasing=False)
Generate a Vandermonde matrix.
funcnumpy.lib._ufunclike_impl.fix(x, out=None)
Round to nearest integer towards zero.
funcnumpy.linalg._linalg.cholesky(a, *upper=False)
Cholesky decomposition.
funcnumpy.linalg._linalg.cond(x, p=None)
Compute the condition number of a matrix.
funcnumpy.linalg._linalg.det(a)
Compute the determinant of an array.
funcnumpy.linalg._linalg.eigvals(a)
Compute the eigenvalues of a general matrix.
funcnumpy.linalg._linalg.inv(a)
Compute the inverse of a matrix.
funcnumpy.linalg._linalg.matmul(x1, x2)
Computes the matrix product.
funcnumpy.linalg._linalg.norm(x, ord=None, axis=None, keepdims=False)
Matrix or vector norm.
funcnumpy.linalg._linalg.outer(x1, x2)
Compute the outer product of two vectors.
funcnumpy.linalg._linalg.qr(a, mode='reduced')
Compute the qr factorization of a matrix.
funcnumpy.linalg._linalg.svd(a, full_matrices=True, compute_uv=True, hermitian=False)
Singular Value Decomposition.
funcnumpy.linalg._linalg.vecdot(x1, x2, *axis=-1)
Computes the vector dot product.
classnumpy.linalg.lapack_lite.make_lite.FortranLibrary
Container for a bunch of Fortran routines.
methodnumpy.linalg.lapack_lite.make_lite.FortranLibrary.addRoutine(rname)
Add a routine to the library.
methodnumpy.linalg.lapack_lite.make_lite.FortranLibrary.allRoutines()
Return all the routines.
methodnumpy.linalg.lapack_lite.make_lite.FortranLibrary.getRoutine(rname)
Get a routine from the library.
classnumpy.linalg.lapack_lite.make_lite.FortranRoutine
Wrapper for a Fortran routine in a file.
classnumpy.ma.core.MAError
Class for masked array related errors.
classnumpy.ma.core.MaskError
Class for mask related errors.
classnumpy.ma.core.MaskedArray
An array class with possibly masked values.
methodnumpy.ma.core.MaskedArray.baseclass()
Class of the underlying data (read-only).
methodnumpy.ma.core.MaskedArray.imag()
The imaginary part of the masked array.
methodnumpy.ma.core.MaskedArray.mask()
Current mask.
methodnumpy.ma.core.MaskedArray.ravel(order='C')
Returns a 1D version of self, as a view.
methodnumpy.ma.core.MaskedArray.real()
The real part of the masked array.
methodnumpy.ma.core.MaskedArray.resize(newshape, refcheck=True, order=False)
..
methodnumpy.ma.core.MaskedArray.sharedmask()
Share status of the mask (read-only).
methodnumpy.ma.core.MaskedArray.shrink_mask()
Reduce a mask to nomask when possible.
methodnumpy.ma.core.MaskedArray.view(dtype=None, type=None, fill_value=None)
Return a view of the MaskedArray data.
classnumpy.ma.core.MaskedIterator
Flat iterator object to iterate over masked arrays.
funcnumpy.ma.core.append(a, b, axis=None)
Append values to the end of an array.
funcnumpy.ma.core.array(data, dtype=None, copy=False, order=None, mask=nomask, fill_value=None, keep_mask=True, hard_mask=False, shrink=True, subok=True, ndmin=0)
Shortcut to MaskedArray.
funcnumpy.ma.core.asanyarray(a, dtype=None, order=None)
Convert the input to a masked array, conserving subclasses.
funcnumpy.ma.core.dot(a, b, strict=False, out=None)
Return the dot product of two arrays.
funcnumpy.ma.core.flatten_sequence(iterable)
Flattens a compound of nested iterables.
funcnumpy.ma.core.flatten_structured_array(a)
Flatten a structured array.
funcnumpy.ma.core.fmask(x)
Returns the filled array, or True if masked.
funcnumpy.ma.core.get_fill_value(a)
Return the filling value of a, if any.
funcnumpy.ma.core.getdata(a, subok=True)
Return the data of a masked array as an ndarray.
funcnumpy.ma.core.getmask(a)
Return the mask of a masked array, or nomask.
funcnumpy.ma.core.is_mask(m)
Return True if m is a valid, standard mask.
funcnumpy.ma.core.is_masked(x)
Determine whether input has masked values.
funcnumpy.ma.core.left_shift(a, n)
Shift the bits of an integer to the left.
funcnumpy.ma.core.make_mask(m, copy=False, shrink=True, dtype=MaskType)
Create a boolean mask from an array.
funcnumpy.ma.core.masked_inside(x, v1, v2, copy=True)
Mask an array inside a given interval.
funcnumpy.ma.core.masked_outside(x, v1, v2, copy=True)
Mask an array outside a given interval.
funcnumpy.ma.core.masked_where(condition, a, copy=True)
Mask an array where a condition is met.
classnumpy.ma.core.mvoid
Fake a 'void' object to use for masked array with structured dtypes.
methodnumpy.ma.core.mvoid.tolist()
Transforms the mvoid object into a tuple.
funcnumpy.ma.core.ndim(obj)
maskedarray version of the numpy function.
funcnumpy.ma.core.outer(a, b)
maskedarray version of the numpy function.
funcnumpy.ma.core.right_shift(a, n)
Shift the bits of an integer to the right.
funcnumpy.ma.core.shape(obj)
maskedarray version of the numpy function.
funcnumpy.ma.core.size(obj, axis=None)
maskedarray version of the numpy function.
funcnumpy.ma.core.transpose(a, axes=None)
Permute the dimensions of an array.
classnumpy.ma.extras.MAxisConcatenator
Translate slice objects to concatenation along an axis.
funcnumpy.ma.extras.apply_over_axes(func, a, axes)
(This docstring will be overwritten)
funcnumpy.ma.extras.cov(x, y=None, rowvar=True, bias=False, allow_masked=True, ddof=None)
Estimate the covariance matrix.
funcnumpy.ma.extras.flatten_inplace(seq)
Flatten a sequence in place.
funcnumpy.ma.extras.issequence(seq)
Is seq a sequence (ndarray, list or tuple)?
classnumpy.ma.extras.mr_class
Translate slice objects to concatenation along the first axis.
funcnumpy.ma.extras.ndenumerate(a, compressed=True)
Multidimensional index iterator.
funcnumpy.ma.extras.union1d(ar1, ar2)
Union of two arrays.
funcnumpy.ma.extras.unique(ar1, return_index=False, return_inverse=False)
Finds the unique elements of an array.
funcnumpy.ma.extras.vander(x, n=None)
Generate a Vandermonde matrix.
funcnumpy.ma.mrecords.openfile(fname)
Opens the file handle of file `fname`.
funcnumpy.ma.testutils.assert_equal(actual, desired, err_msg='')
Asserts that two items are equal.
funcnumpy.ma.testutils.assert_equal_records(a, b)
Asserts that two records are equal.
funcnumpy.ma.testutils.assert_mask_equal(m1, m2, err_msg='')
Asserts the equality of two masks.
funcnumpy.matlib.ones(shape, dtype=None, order='C')
Matrix of ones.
funcnumpy.matlib.repmat(a, m, n)
Repeat a 0-D to 2-D array or matrix MxN times.
funcnumpy.matrixlib.defmatrix.asmatrix(data, dtype=None)
Interpret the input as a matrix.
classnumpy.polynomial._polybase.ABCPolyBase
An abstract base class for immutable series classes.
methodnumpy.polynomial._polybase.ABCPolyBase.copy()
Return a copy.
methodnumpy.polynomial._polybase.ABCPolyBase.cutdeg(deg)
Truncate series to the given degree.
methodnumpy.polynomial._polybase.ABCPolyBase.degree()
The degree of the series.
methodnumpy.polynomial._polybase.ABCPolyBase.deriv(m=1)
Differentiate.
methodnumpy.polynomial._polybase.ABCPolyBase.has_samecoef(other)
Check if coefficients match.
methodnumpy.polynomial._polybase.ABCPolyBase.has_samedomain(other)
Check if domains match.
methodnumpy.polynomial._polybase.ABCPolyBase.has_sametype(other)
Check if types match.
methodnumpy.polynomial._polybase.ABCPolyBase.has_samewindow(other)
Check if windows match.
methodnumpy.polynomial._polybase.ABCPolyBase.identity(domain=None, window=None, symbol='x')
Identity function.
methodnumpy.polynomial._polybase.ABCPolyBase.integ(m=1, k=[], lbnd=None)
Integrate.
methodnumpy.polynomial._polybase.ABCPolyBase.mapparms()
Return the mapping parameters.
methodnumpy.polynomial._polybase.ABCPolyBase.truncate(size)
Truncate series to length `size`.
classnumpy.polynomial.chebyshev.Chebyshev
A Chebyshev series class.
funcnumpy.polynomial.chebyshev.chebadd(c1, c2)
Add one Chebyshev series to another.
funcnumpy.polynomial.chebyshev.chebcompanion(c)
Return the scaled companion matrix of c.
funcnumpy.polynomial.chebyshev.chebder(c, m=1, scl=1, axis=0)
Differentiate a Chebyshev series.
funcnumpy.polynomial.chebyshev.chebdiv(c1, c2)
Divide one Chebyshev series by another.
funcnumpy.polynomial.chebyshev.chebgauss(deg)
Gauss-Chebyshev quadrature.
funcnumpy.polynomial.chebyshev.chebint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
Integrate a Chebyshev series.
funcnumpy.polynomial.chebyshev.chebmul(c1, c2)
Multiply one Chebyshev series by another.
funcnumpy.polynomial.chebyshev.chebmulx(c)
Multiply a Chebyshev series by x.
funcnumpy.polynomial.chebyshev.chebpow(c, pow, maxpower=16)
Raise a Chebyshev series to a power.
funcnumpy.polynomial.chebyshev.chebpts1(npts)
Chebyshev points of the first kind.
funcnumpy.polynomial.chebyshev.chebpts2(npts)
Chebyshev points of the second kind.
funcnumpy.polynomial.chebyshev.chebroots(c)
Compute the roots of a Chebyshev series.
classnumpy.polynomial.hermite.Hermite
A Hermite series class.
funcnumpy.polynomial.hermite.herm2poly(c)
Convert a Hermite series to a polynomial.
funcnumpy.polynomial.hermite.hermadd(c1, c2)
Add one Hermite series to another.
funcnumpy.polynomial.hermite.hermcompanion(c)
Return the scaled companion matrix of c.
funcnumpy.polynomial.hermite.hermder(c, m=1, scl=1, axis=0)
Differentiate a Hermite series.
funcnumpy.polynomial.hermite.hermdiv(c1, c2)
Divide one Hermite series by another.
funcnumpy.polynomial.hermite.hermgauss(deg)
Gauss-Hermite quadrature.
funcnumpy.polynomial.hermite.hermint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
Integrate a Hermite series.
funcnumpy.polynomial.hermite.hermmul(c1, c2)
Multiply one Hermite series by another.
funcnumpy.polynomial.hermite.hermmulx(c)
Multiply a Hermite series by x.
funcnumpy.polynomial.hermite.hermpow(c, pow, maxpower=16)
Raise a Hermite series to a power.
funcnumpy.polynomial.hermite.hermroots(c)
Compute the roots of a Hermite series.
funcnumpy.polynomial.hermite.hermsub(c1, c2)
Subtract one Hermite series from another.
funcnumpy.polynomial.hermite.hermval(x, c, tensor=True)
Evaluate a Hermite series at points x.
funcnumpy.polynomial.hermite.hermvalnd(pts, c)
Evaluate an N-D Hermite series at points.
classnumpy.polynomial.hermite_e.HermiteE
A HermiteE series class.
funcnumpy.polynomial.hermite_e.hermeadd(c1, c2)
Add one Hermite series to another.
funcnumpy.polynomial.hermite_e.hermecompanion(c)
Return the scaled companion matrix of c.
funcnumpy.polynomial.hermite_e.hermeder(c, m=1, scl=1, axis=0)
Differentiate a Hermite_e series.
funcnumpy.polynomial.hermite_e.hermediv(c1, c2)
Divide one Hermite series by another.
funcnumpy.polynomial.hermite_e.hermegauss(deg)
Gauss-HermiteE quadrature.
funcnumpy.polynomial.hermite_e.hermeint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
Integrate a Hermite_e series.
funcnumpy.polynomial.hermite_e.hermemul(c1, c2)
Multiply one Hermite series by another.
funcnumpy.polynomial.hermite_e.hermemulx(c)
Multiply a Hermite series by x.
funcnumpy.polynomial.hermite_e.hermepow(c, pow, maxpower=16)
Raise a Hermite series to a power.
funcnumpy.polynomial.hermite_e.hermeroots(c)
Compute the roots of a HermiteE series.
funcnumpy.polynomial.hermite_e.hermesub(c1, c2)
Subtract one Hermite series from another.
funcnumpy.polynomial.hermite_e.hermeval(x, c, tensor=True)
Evaluate a HermiteE series at points x.
classnumpy.polynomial.laguerre.Laguerre
A Laguerre series class.
funcnumpy.polynomial.laguerre.lagadd(c1, c2)
Add one Laguerre series to another.
funcnumpy.polynomial.laguerre.lagcompanion(c)
Return the companion matrix of c.
funcnumpy.polynomial.laguerre.lagder(c, m=1, scl=1, axis=0)
Differentiate a Laguerre series.
funcnumpy.polynomial.laguerre.lagdiv(c1, c2)
Divide one Laguerre series by another.
funcnumpy.polynomial.laguerre.laggauss(deg)
Gauss-Laguerre quadrature.
funcnumpy.polynomial.laguerre.lagint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
Integrate a Laguerre series.
funcnumpy.polynomial.laguerre.lagmul(c1, c2)
Multiply one Laguerre series by another.
funcnumpy.polynomial.laguerre.lagmulx(c)
Multiply a Laguerre series by x.
funcnumpy.polynomial.laguerre.lagpow(c, pow, maxpower=16)
Raise a Laguerre series to a power.
funcnumpy.polynomial.laguerre.lagroots(c)
Compute the roots of a Laguerre series.
funcnumpy.polynomial.laguerre.lagsub(c1, c2)
Subtract one Laguerre series from another.
funcnumpy.polynomial.laguerre.lagval(x, c, tensor=True)
Evaluate a Laguerre series at points x.
classnumpy.polynomial.legendre.Legendre
A Legendre series class.
funcnumpy.polynomial.legendre.legadd(c1, c2)
Add one Legendre series to another.
funcnumpy.polynomial.legendre.legcompanion(c)
Return the scaled companion matrix of c.
funcnumpy.polynomial.legendre.legder(c, m=1, scl=1, axis=0)
Differentiate a Legendre series.
funcnumpy.polynomial.legendre.legdiv(c1, c2)
Divide one Legendre series by another.
funcnumpy.polynomial.legendre.leggauss(deg)
Gauss-Legendre quadrature.
funcnumpy.polynomial.legendre.legint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
Integrate a Legendre series.
funcnumpy.polynomial.legendre.legmul(c1, c2)
Multiply one Legendre series by another.
funcnumpy.polynomial.legendre.legmulx(c)
Multiply a Legendre series by x.
funcnumpy.polynomial.legendre.legpow(c, pow, maxpower=16)
Raise a Legendre series to a power.
funcnumpy.polynomial.legendre.legroots(c)
Compute the roots of a Legendre series.
funcnumpy.polynomial.legendre.legsub(c1, c2)
Subtract one Legendre series from another.
funcnumpy.polynomial.legendre.legval(x, c, tensor=True)
Evaluate a Legendre series at points x.
classnumpy.polynomial.polynomial.Polynomial
A power series class.
funcnumpy.polynomial.polynomial.polyadd(c1, c2)
Add one polynomial to another.
funcnumpy.polynomial.polynomial.polycompanion(c)
Return the companion matrix of c.
funcnumpy.polynomial.polynomial.polyder(c, m=1, scl=1, axis=0)
Differentiate a polynomial.
funcnumpy.polynomial.polynomial.polydiv(c1, c2)
Divide one polynomial by another.
funcnumpy.polynomial.polynomial.polyint(c, m=1, k=[], lbnd=0, scl=1, axis=0)
Integrate a polynomial.
funcnumpy.polynomial.polynomial.polymul(c1, c2)
Multiply one polynomial by another.
funcnumpy.polynomial.polynomial.polymulx(c)
Multiply a polynomial by x.
funcnumpy.polynomial.polynomial.polypow(c, pow, maxpower=None)
Raise a polynomial to a power.
funcnumpy.polynomial.polynomial.polyroots(c)
Compute the roots of a polynomial.
funcnumpy.polynomial.polynomial.polysub(c1, c2)
Subtract one polynomial from another.
funcnumpy.polynomial.polynomial.polyval(x, c, tensor=True)
Evaluate a polynomial at points x.
funcnumpy.polynomial.polynomial.polyvalnd(pts, c)
Evaluate an N-D polynomial at points.
funcnumpy.polynomial.polynomial.polyvander(x, deg)
Vandermonde matrix of given degree.
funcnumpy.polynomial.polyutils.as_series(alist, trim=True)
Return argument as a list of 1-d arrays.
funcnumpy.polynomial.polyutils.mapdomain(x, old, new)
Apply linear map to input points.
funcnumpy.polynomial.polyutils.mapparms(old, new)
Linear map parameters between domains.
funcnumpy.polynomial.polyutils.trimseq(seq)
Remove small Poly series coefficients.

この情報について

掲載しているシグネチャは numpy/numpy の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る