Module Expr Str ImportFrom alias alias alias Assign NameStore ListLoad Import alias identifier ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr UnaryOpUSub AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad body AugAssignMult AttributeStore NameLoad attr NameLoad Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad body Assign NameStore BinOpDiv Num NameLoad AugAssignMult AttributeStore NameLoad attr NameLoad Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr BinOpPow NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr NameLoad decorator_list decorator_list For NameStore NameLoad body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq NameLoad Num body Raise Call NameLoad Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index BinOpSub Num NameLoad Assign NameStore IfExp CompareEq NameLoad Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore CompareLt SubscriptLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Assign NameStore CompareNotEq NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad ImportFrom alias If CompareEq NameLoad Num body Return Call NameLoad TupleLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad Num NameLoad orelse Return Call NameLoad TupleLoad NameLoad TupleLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body If CompareIn Num AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If CompareEq AttributeLoad NameLoad attr Num body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareNotEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore Num If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Num body Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Base class for sparse matrice with a .data attribute

    subclasses must provide a _with_data() method that
    creates a new matrix with the same sparsity pattern
    as self but with a different data array

 __future__ division print_function absolute_import N/A __all__ N/A N/A numpy np base spmatrix _ufuncs_with_fixed_point_at_zero sputils isscalarlike _data_matrix N/A spmatrix N/A __init__ N/A N/A self N/A N/A N/A N/A N/A spmatrix __init__ self N/A _get_dtype N/A N/A self N/A N/A N/A N/A N/A self data dtype N/A _set_dtype N/A N/A self newtype N/A N/A N/A N/A N/A self data dtype newtype N/A N/A dtype N/A property fget _get_dtype fset _set_dtype _deduped_data N/A N/A self N/A N/A N/A N/A hasattr self sum_duplicates N/A N/A N/A N/A self sum_duplicates N/A N/A self data N/A __abs__ N/A N/A self N/A N/A N/A N/A N/A self _with_data N/A abs N/A N/A self _deduped_data N/A _real N/A N/A self N/A N/A N/A N/A N/A self _with_data N/A N/A self data real N/A _imag N/A N/A self N/A N/A N/A N/A N/A self _with_data N/A N/A self data imag N/A __neg__ N/A N/A self N/A N/A N/A N/A N/A self _with_data N/A N/A self data N/A __imul__ N/A N/A self other N/A N/A N/A N/A isscalarlike other N/A N/A N/A self data other N/A self N/A N/A NotImplemented N/A __itruediv__ N/A N/A self other N/A N/A N/A N/A isscalarlike other N/A N/A recip N/A 1.0 other N/A N/A self data recip N/A self N/A N/A NotImplemented N/A astype N/A N/A self t N/A N/A N/A N/A N/A self _with_data N/A N/A N/A N/A self _deduped_data astype t N/A conj N/A N/A self N/A N/A N/A N/A N/A self _with_data N/A N/A N/A self data conj N/A copy N/A N/A self N/A N/A N/A N/A N/A self _with_data N/A N/A N/A self data copy copy True N/A count_nonzero N/A N/A self N/A N/A N/A N/A N/A np count_nonzero N/A N/A self _deduped_data N/A N/A N/A count_nonzero __doc__ N/A N/A spmatrix count_nonzero __doc__ power N/A N/A self n dtype N/A None N/A N/A 
        This function performs element-wise power.
        
        Parameters
        ----------
        n : n is a scalar
        
        dtype : If dtype is not specified, the current dtype will be preserved.
         N/A N/A N/A isscalarlike n N/A N/A N/A NotImplementedError input is not scalar N/A data N/A N/A self _deduped_data N/A N/A dtype None N/A N/A data N/A N/A data astype dtype N/A N/A N/A self _with_data N/A data n N/A _mul_scalar N/A N/A self other N/A N/A N/A N/A N/A self _with_data N/A N/A self data other N/A N/A N/A npfunc _ufuncs_with_fixed_point_at_zero N/A N/A name N/A npfunc __name__ _create_method N/A N/A op N/A N/A method N/A N/A self N/A N/A N/A result N/A op N/A self data N/A x N/A N/A self _with_data result copy True N/A x N/A N/A N/A method __doc__ N/A Element-wise %s.

See numpy.%s for more information. N/A name name N/A N/A method __name__ name N/A method N/A N/A N/A setattr _data_matrix name N/A _create_method npfunc _minmax_mixin N/A object N/A N/A Mixin for min and max methods.

    These are not implemented for dia_matrix, hence the separate class.
     _min_or_max_axis N/A N/A self axis min_or_max N/A N/A N/A N N/A N/A self shape N/A axis N/A N/A N 0 N/A N/A N/A ValueError zero-size array to reduction operation N/A M N/A N/A self shape N/A N/A 1 axis N/A mat N/A N/A axis 0 N/A N/A self tocsc N/A N/A self tocsr N/A N/A N/A mat sum_duplicates N/A N/A major_index value N/A N/A mat _minor_reduce min_or_max N/A not_full N/A N/A N/A N/A np diff N/A mat indptr N/A major_index N N/A N/A value N/A not_full N/A min_or_max N/A value N/A not_full 0 N/A mask N/A value 0 N/A major_index N/A N/A np compress mask major_index N/A value N/A N/A np compress mask value N/A coo_matrix N/A N/A axis 0 N/A N/A N/A coo_matrix N/A value N/A N/A N/A np zeros N/A len value major_index dtype N/A self dtype shape N/A 1 M N/A N/A N/A coo_matrix N/A value N/A major_index N/A N/A np zeros N/A len value dtype N/A self dtype shape N/A M 1 N/A _min_or_max N/A N/A self axis min_or_max N/A N/A N/A N/A axis None N/A N/A N/A 0 N/A self shape N/A N/A N/A ValueError zero-size array to reduction operation N/A zero N/A N/A N/A self dtype type 0 N/A N/A N/A self nnz 0 N/A N/A zero N/A m N/A N/A min_or_max reduce N/A N/A N/A N/A self _deduped_data ravel N/A N/A N/A self nnz N/A N/A np product N/A self shape N/A N/A m N/A min_or_max zero m N/A m N/A N/A axis 0 N/A N/A axis 2 N/A N/A N/A axis 0 N/A axis 1 N/A N/A N/A N/A self _min_or_max_axis axis min_or_max N/A N/A N/A ValueError invalid axis, use 0 for rows, or 1 for columns N/A max N/A N/A self axis N/A None N/A N/A Maximum of the elements of this matrix.

        This takes all elements into account, not just the non-zero ones.

        Returns
        -------
        amax : self.dtype
            Maximum element.
         N/A N/A N/A self _min_or_max axis N/A np maximum N/A min N/A N/A self axis N/A None N/A N/A Minimum of the elements of this matrix.

        This takes all elements into account, not just the non-zero ones.

        Returns
        -------
        amin : self.dtype
            Minimum element.
         N/A N/A N/A self _min_or_max axis N/A np minimum N/A N/A