zoukankan      html  css  js  c++  java
  • numpy学习

    https://docs.scipy.org/doc/numpy/reference/
    https://docs.scipy.org/doc/numpy/numpy-ref-1.13.0.pdf
    https://docs.scipy.org/doc/numpy-dev/contents.html

    help(np.linalg)
    Help on package numpy.linalg in numpy:
    
    NAME
        numpy.linalg
    
    DESCRIPTION
        Core Linear Algebra Tools
        -------------------------
        Linear algebra basics:
    
        - norm            Vector or matrix norm
        - inv             Inverse of a square matrix
        - solve           Solve a linear system of equations
        - det             Determinant of a square matrix
        - lstsq           Solve linear least-squares problem
        - pinv            Pseudo-inverse (Moore-Penrose) calculated using a singular
                          value decomposition
        - matrix_power    Integer power of a square matrix
    
        Eigenvalues and decompositions:
    
        - eig             Eigenvalues and vectors of a square matrix
        - eigh            Eigenvalues and eigenvectors of a Hermitian matrix
        - eigvals         Eigenvalues of a square matrix
        - eigvalsh        Eigenvalues of a Hermitian matrix
        - qr              QR decomposition of a matrix
        - svd             Singular value decomposition of a matrix
        - cholesky        Cholesky decomposition of a matrix
    
        Tensor operations:
    
        - tensorsolve     Solve a linear tensor equation
        - tensorinv       Calculate an inverse of a tensor
    
        Exceptions:
    
        - LinAlgError     Indicates a failed linear algebra operation
    
    PACKAGE CONTENTS
        _umath_linalg
        info
        lapack_lite
        linalg
        setup
    
    DATA
        absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0...
        division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192...
        print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0)...
    
    FILE
        /opt/anaconda3/lib/python3.6/site-packages/numpy/linalg/__init__.py
    
    sorted(np.__all__)
    Out[17]:
    ['ALLOW_THREADS',
     'AxisError',
     'BUFSIZE',
     'CLIP',
     'ComplexWarning',
     'DataSource',
     'ERR_CALL',
     'ERR_DEFAULT',
     'ERR_IGNORE',
     'ERR_LOG',
     'ERR_PRINT',
     'ERR_RAISE',
     'ERR_WARN',
     'FLOATING_POINT_SUPPORT',
     'FPE_DIVIDEBYZERO',
     'FPE_INVALID',
     'FPE_OVERFLOW',
     'FPE_UNDERFLOW',
     'False_',
     'Inf',
     'Infinity',
     'MAXDIMS',
     'MAY_SHARE_BOUNDS',
     'MAY_SHARE_EXACT',
     'MachAr',
     'ModuleDeprecationWarning',
     'NAN',
     'NINF',
     'NZERO',
     'NaN',
     'PINF',
     'PZERO',
     'PackageLoader',
     'RAISE',
     'RankWarning',
     'SHIFT_DIVIDEBYZERO',
     'SHIFT_INVALID',
     'SHIFT_OVERFLOW',
     'SHIFT_UNDERFLOW',
     'ScalarType',
     'TooHardError',
     'True_',
     'UFUNC_BUFSIZE_DEFAULT',
     'UFUNC_PYVALS_NAME',
     'VisibleDeprecationWarning',
     'WRAP',
     '__version__',
     'absolute',
     'add',
     'add_docstring',
     'add_newdoc',
     'add_newdoc_ufunc',
     'add_newdocs',
     'alen',
     'alen',
     'all',
     'all',
     'allclose',
     'alltrue',
     'alltrue',
     'amax',
     'amax',
     'amin',
     'amin',
     'angle',
     'any',
     'any',
     'append',
     'apply_along_axis',
     'apply_over_axes',
     'arange',
     'arccos',
     'arccosh',
     'arcsin',
     'arcsinh',
     'arctan',
     'arctan2',
     'arctanh',
     'argmax',
     'argmax',
     'argmin',
     'argmin',
     'argpartition',
     'argpartition',
     'argsort',
     'argsort',
     'argwhere',
     'around',
     'around',
     'array',
     'array2string',
     'array_equal',
     'array_equiv',
     'array_repr',
     'array_split',
     'array_str',
     'asanyarray',
     'asarray',
     'asarray_chkfinite',
     'ascontiguousarray',
     'asfarray',
     'asfortranarray',
     'asmatrix',
     'asscalar',
     'atleast_1d',
     'atleast_2d',
     'atleast_3d',
     'average',
     'bartlett',
     'base_repr',
     'binary_repr',
     'bincount',
     'bitwise_and',
     'bitwise_not',
     'bitwise_or',
     'bitwise_xor',
     'blackman',
     'block',
     'bmat',
     'bool8',
     'bool_',
     'broadcast',
     'broadcast_arrays',
     'broadcast_to',
     'busday_count',
     'busday_offset',
     'busdaycalendar',
     'byte',
     'byte_bounds',
     'bytes0',
     'bytes_',
     'c_',
     'can_cast',
     'cast',
     'cbrt',
     'cdouble',
     'ceil',
     'cfloat',
     'char',
     'character',
     'chararray',
     'choose',
     'choose',
     'clip',
     'clip',
     'clongdouble',
     'clongfloat',
     'column_stack',
     'common_type',
     'compare_chararrays',
     'complex128',
     'complex256',
     'complex64',
     'complex_',
     'complexfloating',
     'compress',
     'compress',
     'concatenate',
     'conj',
     'conjugate',
     'convolve',
     'copy',
     'copysign',
     'copyto',
     'corrcoef',
     'correlate',
     'cos',
     'cosh',
     'count_nonzero',
     'cov',
     'cross',
     'csingle',
     'ctypeslib',
     'cumprod',
     'cumprod',
     'cumproduct',
     'cumproduct',
     'cumsum',
     'cumsum',
     'datetime64',
     'datetime_as_string',
     'datetime_data',
     'deg2rad',
     'degrees',
     'delete',
     'deprecate',
     'deprecate_with_doc',
     'diag',
     'diag_indices',
     'diag_indices_from',
     'diagflat',
     'diagonal',
     'diagonal',
     'diff',
     'digitize',
     'disp',
     'divide',
     'divmod',
     'dot',
     'double',
     'dsplit',
     'dstack',
     'dtype',
     'e',
     'ediff1d',
     'einsum',
     'einsum_path',
     'emath',
     'empty',
     'empty_like',
     'equal',
     'errstate',
     'euler_gamma',
     'exp',
     'exp2',
     'expand_dims',
     'expm1',
     'extract',
     'eye',
     'fabs',
     'fastCopyAndTranspose',
     'fft',
     'fill_diagonal',
     'find_common_type',
     'finfo',
     'fix',
     'flatiter',
     'flatnonzero',
     'flexible',
     'flip',
     'fliplr',
     'flipud',
     'float128',
     'float16',
     'float32',
     'float64',
     'float_',
     'float_power',
     'floating',
     'floor',
     'floor_divide',
     'fmax',
     'fmin',
     'fmod',
     'format_parser',
     'frexp',
     'frombuffer',
     'fromfile',
     'fromfunction',
     'fromiter',
     'frompyfunc',
     'fromregex',
     'fromstring',
     'full',
     'full_like',
     'fv',
     'generic',
     'genfromtxt',
     'geomspace',
     'get_array_wrap',
     'get_include',
     'get_printoptions',
     'getbufsize',
     'geterr',
     'geterrcall',
     'geterrobj',
     'gradient',
     'greater',
     'greater_equal',
     'half',
     'hamming',
     'hanning',
     'heaviside',
     'histogram',
     'histogram2d',
     'histogramdd',
     'hsplit',
     'hstack',
     'hypot',
     'i0',
     'identity',
     'iinfo',
     'imag',
     'in1d',
     'index_exp',
     'indices',
     'inexact',
     'inf',
     'info',
     'infty',
     'inner',
     'insert',
     'int0',
     'int16',
     'int32',
     'int64',
     'int8',
     'int_',
     'int_asbuffer',
     'intc',
     'integer',
     'interp',
     'intersect1d',
     'intp',
     'invert',
     'ipmt',
     'irr',
     'is_busday',
     'isclose',
     'iscomplex',
     'iscomplexobj',
     'isfinite',
     'isfortran',
     'isin',
     'isinf',
     'isnan',
     'isnat',
     'isneginf',
     'isposinf',
     'isreal',
     'isrealobj',
     'isscalar',
     'issctype',
     'issubclass_',
     'issubdtype',
     'issubdtype',
     'issubsctype',
     'iterable',
     'ix_',
     'kaiser',
     'kron',
     'ldexp',
     'left_shift',
     'less',
     'less_equal',
     'lexsort',
     'linalg',
     'linspace',
     'little_endian',
     'load',
     'load',
     'loads',
     'loads',
     'loadtxt',
     'log',
     'log10',
     'log1p',
     'log2',
     'logaddexp',
     'logaddexp2',
     'logical_and',
     'logical_not',
     'logical_or',
     'logical_xor',
     'logspace',
     'long',
     'longcomplex',
     'longdouble',
     'longfloat',
     'longlong',
     'lookfor',
     'ma',
     'mafromtxt',
     'mask_indices',
     'mat',
     'math',
     'matmul',
     'matrix',
     'maximum',
     'maximum_sctype',
     'may_share_memory',
     'mean',
     'mean',
     'median',
     'memmap',
     'meshgrid',
     'mgrid',
     'min_scalar_type',
     'minimum',
     'mintypecode',
     'mirr',
     'mod',
     'modf',
     'moveaxis',
     'msort',
     'multiply',
     'nan',
     'nan_to_num',
     'nanargmax',
     'nanargmin',
     'nancumprod',
     'nancumsum',
     'nanmax',
     'nanmean',
     'nanmedian',
     'nanmin',
     'nanpercentile',
     'nanprod',
     'nanstd',
     'nansum',
     'nanvar',
     'nbytes',
     'ndarray',
     'ndenumerate',
     'ndfromtxt',
     'ndim',
     'ndim',
     'ndindex',
     'nditer',
     'negative',
     'nested_iters',
     'newaxis',
     'nextafter',
     'nonzero',
     'nonzero',
     'not_equal',
     'nper',
     'npv',
     'number',
     'obj2sctype',
     'object0',
     'object_',
     'ogrid',
     'ones',
     'ones_like',
     'outer',
     'packbits',
     'pad',
     'partition',
     'partition',
     'percentile',
     'pi',
     'piecewise',
     'pkgload',
     'place',
     'pmt',
     'poly',
     'poly1d',
     'polyadd',
     'polyder',
     'polydiv',
     'polyfit',
     'polyint',
     'polymul',
     'polysub',
     'polyval',
     'positive',
     'power',
     'ppmt',
     'prod',
     'prod',
     'product',
     'product',
     'promote_types',
     'ptp',
     'ptp',
     'put',
     'put',
     'putmask',
     'pv',
     'r_',
     'rad2deg',
     'radians',
     'random',
     'rank',
     'rank',
     'rate',
     'ravel',
     'ravel',
     'ravel_multi_index',
     'real',
     'real_if_close',
     'rec',
     'recarray',
     'recfromcsv',
     'recfromtxt',
     'reciprocal',
     'record',
     'remainder',
     'repeat',
     'repeat',
     'require',
     'reshape',
     'reshape',
     'resize',
     'resize',
     'result_type',
     'right_shift',
     'rint',
     'roll',
     'rollaxis',
     'roots',
     'rot90',
     'round_',
     'round_',
     'row_stack',
     's_',
     'safe_eval',
     'save',
     'savetxt',
     'savez',
     'savez_compressed',
     'sctype2char',
     'sctypeDict',
     'sctypeNA',
     'sctypes',
     'searchsorted',
     'searchsorted',
     'select',
     'set_numeric_ops',
     'set_printoptions',
     'set_string_function',
     'setbufsize',
     'setdiff1d',
     'seterr',
     'seterrcall',
     'seterrobj',
     'setxor1d',
     'shape',
     'shape',
     'shares_memory',
     'short',
     'show_config',
     'sign',
     'signbit',
     'signedinteger',
     'sin',
     'sinc',
     'single',
     'singlecomplex',
     'sinh',
     'size',
     'size',
     'sometrue',
     'sometrue',
     'sort',
     'sort',
     'sort_complex',
     'source',
     'spacing',
     'split',
     'sqrt',
     'square',
     'squeeze',
     'squeeze',
     'stack',
     'std',
     'std',
     'str0',
     'str_',
     'string_',
     'subtract',
     'sum',
     'sum',
     'swapaxes',
     'swapaxes',
     'take',
     'take',
     'tan',
     'tanh',
     'tensordot',
     'tile',
     'timedelta64',
     'trace',
     'trace',
     'tracemalloc_domain',
     'transpose',
     'transpose',
     'trapz',
     'tri',
     'tril',
     'tril_indices',
     'tril_indices_from',
     'trim_zeros',
     'triu',
     'triu_indices',
     'triu_indices_from',
     'true_divide',
     'trunc',
     'typeDict',
     'typeNA',
     'typecodes',
     'typename',
     'ubyte',
     'ufunc',
     'uint',
     'uint0',
     'uint16',
     'uint32',
     'uint64',
     'uint8',
     'uintc',
     'uintp',
     'ulonglong',
     'unicode',
     'unicode_',
     'union1d',
     'unique',
     'unpackbits',
     'unravel_index',
     'unsignedinteger',
     'unwrap',
     'ushort',
     'vander',
     'var',
     'var',
     'vdot',
     'vectorize',
     'void',
     'void0',
     'vsplit',
     'vstack',
     'where',
     'who',
     'zeros',
     'zeros_like']
    
  • 相关阅读:
    Android编译相关资料的网址
    npm项目编译
    JAVA项目编译
    docker 常用命令[转载]
    jenkins安装的时候 提示字体问题的解决方法
    deployment
    kube-proxy运行机制分析【转载】
    kubelet tls
    js执行上下文和执行栈
    js事件循环(event loop)
  • 原文地址:https://www.cnblogs.com/bregman/p/8064691.html
Copyright © 2011-2022 走看看