Module ImportFrom alias Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias ImportFrom alias Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str FunctionDef arguments args defaults body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr UnaryOpNot CompareLt Call NameLoad NameLoad Num UnaryOpNot CompareGt Call NameLoad NameLoad Num body If NameLoad body AugAssignDiv NameStore Call NameLoad NameLoad orelse Expr Call NameLoad TupleLoad NameLoad BinOpSub Num Call NameLoad NameLoad Raise Call NameLoad Assign NameStore Call NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad body AugAssignAdd NameStore NameLoad If CompareGt NameLoad NameLoad body Return NameLoad Return Call NameLoad Call NameLoad Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad orelse Assign NameStore BinOpDiv NameLoad NameLoad AugAssignAdd NameStore BinOpSub Num Call NameLoad NameLoad If CompareLt Call NameLoad NameLoad Num body For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareLt NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call NameLoad NameLoad AugAssignDiv NameStore Call NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad Num body For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Expr Yield TupleLoad NameLoad orelse If CompareGt Call NameLoad NameLoad Num body For NameStore Call NameLoad SubscriptLoad NameLoad Slice Num body For NameStore Call NameLoad SubscriptLoad NameLoad Index Num body Expr Yield Call NameLoad BinOpAdd Call NameLoad NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad For NameStore Call NameLoad Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Expr Call NameLoad TupleLoad Str NameLoad Str If NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Dict Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpAdd BinOpMult BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore AttributeLoad SubscriptLoad Call NameLoad CompareNotEq NameLoad Call AttributeLoad Call NameLoad NameLoad attr Index Num attr Return BinOpDiv BinOpMult Num Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Return NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Dict Expr Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore IfExp CompareIs NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore IfExp CompareIs NameLoad NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad BinOpMod Str Call NameLoad NameLoad NameLoad attr BinOpAdd NameLoad Num comprehension NameStore NameLoad Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return Call NameLoad BinOpAdd SubscriptLoad NameLoad Slice NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpDiv BinOpMult BinOpMult Num Num NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Lambda arguments args defaults vararg kwarg NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Lambda arguments args defaults Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr If CompareIn TupleLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad NameLoad Return NameLoad decorator_list Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Num For NameStore Call NameLoad NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad NameLoad Return BinOpDiv NameLoad NameLoad decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore SubscriptLoad NameLoad Slice Num body TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpBitXor NameLoad BinOpRShift NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Num For NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpMod BinOpRShift NameLoad NameLoad Num If CompareEq NameLoad BinOpSub NameLoad Num body Assign NameStore NameLoad orelse Assign NameStore BinOpBitXor NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad BinOpPow Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt NameLoad Num body If CompareEq BinOpMod NameLoad Num Num body Return BinOpAdd Call NameLoad BinOpRShift NameLoad Num Str orelse Return BinOpAdd Call NameLoad BinOpRShift NameLoad Num Str orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad SubscriptLoad Call NameLoad CompareEq NameLoad Num Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return SubscriptLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Str Index Num orelse Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd BinOpAdd Call NameLoad SubscriptLoad NameLoad Slice NameLoad ListLoad BinOpSub NameLoad Num Call NameLoad SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr CompareEq Call NameLoad NameLoad Num CompareEq Call NameLoad NameLoad Num body Return Dict If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr While CompareGt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad For NameStore NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad body Break Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If CompareGt Call NameLoad NameLoad Num body Return Call NameLoad AttributeLoad NameLoad attr ListComp Call NameLoad SubscriptLoad NameLoad Slice Num BinOpAdd NameLoad ListLoad NameLoad BinOpAdd NameLoad Num comprehension NameStore SubscriptLoad NameLoad Index Num orelse Return ListComp BinOpAdd NameLoad ListLoad NameLoad comprehension NameStore SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareLt Call NameLoad NameLoad Num body Raise Call NameLoad Str orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameLoad Return Call NameLoad NameLoad NameLoad NameLoad NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr TupleLoad NameLoad BinOpMult NameLoad NameLoad Return Call NameLoad NameLoad NameLoad BinOpMult NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore BinOpDiv BinOpMod NameLoad NameLoad NameLoad Assign NameStore BinOpDiv BinOpDiv NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpDiv BinOpMult NameLoad NameLoad NameLoad NameLoad AugAssignMult NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpMod NameLoad NameLoad Assign NameStore BinOpMod BinOpDiv NameLoad NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad BinOpMult NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad BinOpDiv BinOpMult NameLoad BinOpAdd NameLoad Num Num Assign NameStore Num For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Slice NameLoad BinOpSub BinOpAdd NameLoad NameLoad NameLoad SubscriptLoad NameLoad ExtSlice Index NameLoad Slice NameLoad AugAssignAdd NameStore BinOpSub NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad ExtSlice Index NameLoad Slice NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpSub BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd NameStore BinOpSub NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad Assign NameStore Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad ExtSlice Slice NameLoad BinOpAdd NameLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index Num comprehension NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad ExtSlice Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad Slice NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad AugAssignAdd NameStore SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Str ImportFrom alias Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore ListComp ListLoad Num comprehension NameStore Call NameLoad NameLoad For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore NameLoad For NameStore Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad NameLoad body If CompareLtE SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad Call NameLoad NameLoad keyword Num Slice Num orelse Assign NameStore BinOpDiv SubscriptLoad Call NameLoad NameLoad keyword Num Slice Num Call NameLoad NameLoad Return BinOpMult NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body If CompareNotIn SubscriptLoad NameLoad Index NameLoad NameLoad body Return NameLoad orelse If CompareNotEq SubscriptLoad NameLoad Index NameLoad NameLoad body Return NameLoad orelse If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body If BinOpBitXor CompareIn NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Return ListLoad Dict Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore ListComp Call NameLoad NameLoad Dict NameLoad NameLoad comprehension NameStore NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad orelse Assign NameStore ListComp Call NameLoad NameLoad Dict NameLoad NameLoad comprehension NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareEq Call NameLoad NameLoad Num body Return Num Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad CompareEq NameLoad NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Return ListComp NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad CompareEq NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias ImportFrom alias Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias ImportFrom alias alias alias alias If CompareEq BinOpMod NameLoad Num Num body Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Num NameLoad Num Slice Num BinOpSub NameLoad Num Num orelse Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Num BinOpSub NameLoad Num Num Slice Num NameLoad Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr For NameStore NameLoad body Assign NameStore BinOpMult BinOpMult Call NameLoad Num NameLoad Assign NameStore CompareGt BinOpSub Call NameLoad Num Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad BinOpAdd NameLoad Num NameLoad Call NameLoad NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad BinOpAdd NameLoad Num UnaryOpUSub Call NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num Call NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index TupleLoad NameLoad BinOpAdd NameLoad Num Call NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num UnaryOpUSub Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad GeneratorExp BinOpMult NameLoad BinOpPow Num NameLoad comprehension TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults Num body Expr Str Import alias Import alias Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Import alias Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If CompareEq NameLoad NameLoad body AugAssignAdd NameStore BinOpMult BinOpMult Num NameLoad NameLoad orelse If CompareGt NameLoad NameLoad body AugAssignAdd NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpDiv BinOpMult NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpDiv BinOpMult BinOpMult NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad Num Num Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A __future__ print_function N/A __author__ Tom Schaul, tom@idsia.ch; Justin Bayer, bayerj@in.tum.de N/A gc N/A pickle N/A logging N/A threading N/A os N/A operator itertools count math sqrt random random choice scipy where array exp zeros size mat median functools reduce N/A known_extensions N/A mat txt svm pkl nc matlab ascii libsvm pickle netcdf abstractMethod N/A N/A N/A N/A N/A  This should be called when an abstract method is called that should have been
    implemented by a subclass. It should not be called in situations where no implementation
    (i.e. a 'pass' behavior) is acceptable.  N/A N/A NotImplementedError Method not implemented! N/A drawIndex N/A N/A probs tolerant N/A False N/A N/A  Draws an index given an array of probabilities.

    :key tolerant: if set to True, the array is normalized to sum to 1.   N/A N/A N/A N/A N/A sum probs 1.00001 N/A N/A N/A sum probs 0.99999 N/A N/A tolerant N/A N/A probs N/A sum probs N/A N/A N/A print N/A probs N/A 1 N/A sum probs N/A N/A ValueError N/A r N/A random N/A s 0 N/A N/A i p N/A enumerate probs N/A N/A s p N/A N/A s r N/A N/A i N/A N/A choice N/A list N/A range N/A len probs N/A drawGibbs N/A N/A vals temperature N/A 1.0 N/A N/A  Return the index of the sample drawn by a softmax (Gibbs).  N/A N/A temperature 0 N/A N/A m N/A max vals N/A best N/A N/A N/A i v N/A enumerate vals N/A N/A N/A v m N/A N/A N/A N/A best append i N/A N/A choice best N/A N/A temp N/A vals temperature N/A temp N/A 20 N/A max temp N/A N/A N/A min temp -20 N/A N/A N/A i v N/A enumerate temp N/A N/A N/A v -20 N/A N/A N/A temp N/A i -20 N/A temp N/A exp temp N/A temp N/A sum temp N/A N/A drawIndex temp N/A iterCombinations N/A N/A tup N/A N/A N/A  all possible of integer tuples of the same dimension than tup, and each component being
    positive and strictly inferior to the corresponding entry in tup.  N/A N/A N/A len tup 1 N/A N/A i N/A range N/A tup N/A 0 N/A N/A N/A N/A i N/A N/A N/A N/A len tup 1 N/A N/A prefix N/A iterCombinations N/A tup N/A -1 N/A N/A i N/A range N/A tup N/A -1 N/A N/A N/A N/A tuple N/A N/A list prefix N/A i N/A setAllArgs N/A N/A obj argdict N/A N/A N/A  set all those internal variables which have the same name than an entry in the
    given object's dictionary.
    This function can be useful for quick initializations.  N/A xmlstore N/A isinstance obj XMLBuildable N/A n N/A list N/A N/A argdict keys N/A N/A N/A hasattr obj n N/A N/A N/A setattr obj n N/A argdict N/A n N/A xmlstore N/A N/A N/A N/A obj argdict N/A n N/A argdict N/A n N/A N/A N/A print N/A Warning: parameter name n not found! N/A xmlstore N/A N/A N/A N/A hasattr obj _unknown_argdict N/A N/A N/A obj _unknown_argdict N/A N/A N/A N/A obj _unknown_argdict N/A n N/A argdict N/A n N/A linscale N/A N/A d lim N/A N/A N/A  utility function to linearly scale array d to the interval defined by lim  N/A N/A N/A N/A d N/A N/A d min N/A N/A lim N/A 1 N/A lim N/A 0 N/A lim N/A 0 N/A percentError N/A N/A out true N/A N/A N/A  return percentage of mismatch between out and target values (lists and arrays accepted)  N/A arrout N/A N/A N/A array out flatten N/A wrong N/A N/A N/A where N/A arrout N/A N/A N/A array true flatten N/A 0 size N/A N/A N/A 100.0 N/A float wrong N/A float N/A arrout size N/A formatFromExtension N/A N/A fname N/A N/A N/A Tries to infer a protocol from the file extension. N/A N/A _base ext N/A N/A N/A os path splitext fname N/A N/A ext N/A N/A None N/A N/A N/A format N/A known_extensions N/A N/A N/A ext replace . N/A N/A N/A KeyError N/A N/A format None N/A format N/A XMLBuildable N/A object N/A N/A  subclasses of this can be losslessly stored in XML, and
    automatically reconstructed on reading. For this they need to store
    their construction arguments in the variable <argdict>.  N/A argdict None setArgs N/A N/A self N/A argdict N/A N/A N/A N/A self argdict N/A N/A N/A self argdict N/A N/A N/A setAllArgs self argdict N/A N/A Serializable N/A object N/A N/A Class that implements shortcuts to serialize an object.

    Serialization is done by various formats. At the moment, only 'pickle' is
    supported.
     saveToFileLike N/A N/A self flo format N/A None kwargs N/A N/A Save the object to a given file like object in the given format.
         N/A format N/A N/A format None pickle format N/A save N/A getattr self N/A save_%s format None N/A N/A save None N/A N/A N/A ValueError N/A Unknown format '%s'. format N/A N/A save flo kwargs N/A loadFromFileLike N/A N/A cls flo format N/A None N/A N/A Load the object to a given file like object with the given protocol.
         N/A format N/A N/A format None pickle format N/A load N/A getattr cls N/A load_%s format None N/A N/A load None N/A N/A N/A ValueError N/A Unknown format '%s'. format N/A N/A load flo N/A classmethod saveToFile N/A N/A self filename format N/A None kwargs N/A N/A Save the object to file given by filename. N/A N/A format None N/A N/A format N/A formatFromExtension filename N/A N/A open filename wb fp N/A N/A N/A N/A self saveToFileLike fp format kwargs N/A loadFromFile N/A N/A cls filename format N/A None N/A N/A Return an instance of the class that is saved in the file with the
        given filename in the specified format. N/A N/A format None N/A N/A format N/A formatFromExtension filename N/A N/A open filename rbU fp N/A N/A obj N/A N/A cls loadFromFileLike fp format N/A N/A obj filename filename N/A obj N/A classmethod save_pickle N/A N/A self flo protocol N/A 0 N/A N/A N/A N/A pickle dump self flo protocol N/A load_pickle N/A N/A cls flo N/A N/A N/A N/A N/A pickle load flo N/A classmethod N/A Named N/A XMLBuildable N/A N/A Class whose objects are guaranteed to have a unique name. N/A _nameIds N/A count 0 getName N/A N/A self N/A N/A N/A N/A N/A logging warning Deprecated, use .name property instead. N/A N/A self name N/A setName N/A N/A self newname N/A N/A N/A N/A N/A logging warning Deprecated, use .name property instead. N/A N/A self name newname N/A _getName N/A N/A self N/A N/A N/A Returns the name, which is generated if it has not been already. N/A N/A N/A self _name None N/A N/A N/A self _name N/A N/A self _generateName N/A N/A self _name N/A _setName N/A N/A self newname N/A N/A N/A Change name to newname. Uniqueness is not guaranteed anymore. N/A N/A self _name newname N/A N/A _name None N/A name N/A property _getName _setName _generateName N/A N/A self N/A N/A N/A Return a unique name for this object. N/A N/A %s-%i N/A N/A N/A self __class__ __name__ N/A next N/A self _nameIds N/A __repr__ N/A N/A self N/A N/A N/A  The default representation of a named object is its name.  N/A N/A <%s '%s'> N/A N/A N/A self __class__ __name__ N/A self name N/A N/A fListToString N/A N/A a_list a_precision N/A 3 N/A N/A  Returns a string representing a list of floats with a given precision  numpy around N/A s_list N/A N/A ,  join N/A N/A N/A N/A %g N/A around x a_precision ljust N/A a_precision 3 N/A x a_list N/A N/A [%s] s_list N/A tupleRemoveItem N/A N/A tup index N/A N/A N/A  remove the item at position index of the tuple and return a new tuple.  N/A l N/A list tup N/A N/A tuple N/A N/A l N/A index N/A l N/A N/A index 1 N/A confidenceIntervalSize N/A N/A stdev nbsamples N/A N/A N/A  Determine the size of the confidence interval, given the standard deviation and the number of samples.
    t-test-percentile: 97.5%, infinitely many degrees of freedom,
    therefore on the two-sided interval: 95%  N/A N/A N/A N/A 2 1.98 stdev N/A sqrt nbsamples N/A trace N/A N/A func N/A N/A inner N/A N/A N/A args kwargs N/A N/A N/A print N/A %s: %s, %s N/A N/A func __name__ args kwargs N/A N/A func args kwargs N/A N/A inner N/A threaded N/A N/A callback daemonic N/A N/A N/A N/A N/A args kwargs None False N/A N/A Decorate  a function to run in its own thread and report the result
    by calling callback with it. innerDecorator N/A N/A func N/A N/A inner N/A N/A N/A args kwargs N/A N/A target N/A N/A N/A N/A N/A callback N/A func args kwargs N/A t N/A N/A threading Thread target target N/A N/A N/A t setDaemon daemonic N/A N/A N/A t start N/A N/A inner N/A N/A innerDecorator N/A garbagecollect N/A N/A func N/A N/A N/A Decorate a function to invoke the garbage collector after each execution.
     inner N/A N/A N/A args kwargs N/A N/A result N/A func args kwargs N/A N/A N/A gc collect N/A result N/A N/A inner N/A memoize N/A N/A func N/A N/A N/A Decorate a function to 'memoize' results by holding it in a cache that
    maps call arguments to returns. N/A cache N/A inner N/A N/A N/A args kwargs N/A N/A args N/A tuple args N/A kwargs_set N/A frozenset N/A iter N/A N/A kwargs items N/A N/A N/A args kwargs_set cache N/A N/A result N/A cache N/A N/A args kwargs_set N/A N/A result N/A func args kwargs N/A N/A cache N/A N/A args kwargs_set result N/A result N/A N/A inner N/A storeCallResults N/A N/A obj verbose N/A False N/A N/A Pseudo-decorate an object to store all evaluations of the function in the returned list. N/A results N/A N/A oldcall N/A N/A obj __class__ __call__ newcall N/A N/A N/A args kwargs N/A N/A result N/A oldcall args kwargs N/A N/A N/A results append result N/A verbose N/A N/A N/A print result N/A result N/A N/A N/A N/A obj __class__ __call__ newcall N/A results N/A multiEvaluate N/A N/A repeat N/A N/A N/A Decorate a function to evaluate repeatedly with the same arguments, and return the average result  decorator N/A N/A func N/A N/A inner N/A N/A N/A args kwargs N/A N/A result 0.0 N/A dummy N/A range repeat N/A N/A result N/A func args kwargs N/A N/A result repeat N/A N/A inner N/A N/A decorator N/A _import N/A N/A name N/A N/A N/A Return module from a package.

    These two are equivalent:

        > from package import module as bar
        > bar = _import('package.module')

     N/A mod N/A __import__ name N/A components N/A N/A name split . N/A comp N/A components N/A 1 N/A N/A N/A N/A mod N/A getattr mod comp N/A N/A N/A AttributeError N/A N/A N/A ImportError N/A No module named %s mod N/A mod N/A int2gray N/A N/A i N/A N/A N/A  Returns the value of an integer in Gray encoding. N/A N/A i N/A i 1 N/A gray2int N/A N/A g size N/A N/A N/A  Transforms a Gray code back into an integer.  N/A res 0 N/A i N/A reversed N/A list N/A range size N/A N/A gi N/A N/A g i 2 N/A N/A i N/A size 1 N/A N/A bi gi N/A N/A bi N/A bi gi N/A res N/A bi N/A 2 i N/A res N/A asBinary N/A N/A i N/A N/A N/A  Produces a string from an integer's binary representation.
    (preceding zeros removed).  N/A N/A i 1 N/A N/A N/A N/A i 2 1 N/A N/A N/A N/A asBinary N/A i 1 1 N/A N/A N/A N/A asBinary N/A i 1 0 N/A N/A N/A str i N/A one_to_n N/A N/A val maxval N/A N/A N/A  Returns a 1-in-n binary encoding of a non-negative integer.  N/A a N/A zeros maxval float N/A N/A a N/A val 1.0 N/A a N/A n_to_one N/A N/A arr N/A N/A N/A  Returns the reverse of a 1-in-n binary encoding.  N/A N/A N/A N/A where N/A arr 1 N/A 0 N/A 0 N/A canonicClassString N/A N/A x N/A N/A N/A  the __class__ attribute changed from old-style to new-style classes...  N/A N/A isinstance x object N/A N/A N/A N/A N/A N/A repr N/A x __class__ split ' N/A 1 N/A N/A N/A repr N/A x __class__ N/A decrementAny N/A N/A tup N/A N/A N/A  the closest tuples to tup: decrementing by 1 along any dimension.
    Never go into negatives though.  N/A res N/A N/A N/A i x N/A enumerate tup N/A N/A N/A x 0 N/A N/A N/A N/A res append N/A tuple N/A N/A N/A list N/A tup N/A i N/A N/A x 1 N/A list N/A tup N/A N/A i 1 N/A res N/A reachable N/A N/A stepFunction start destinations _alreadyseen N/A None N/A N/A  Determines the subset of destinations that can be reached from a set of starting positions,
    while using stepFunction (which produces a list of neighbor states) to navigate.
    Uses breadth-first search.
    Returns a dictionary with reachable destinations and their distances.
     N/A N/A N/A N/A len start 0 N/A N/A len destinations 0 N/A N/A N/A N/A N/A _alreadyseen None N/A N/A _alreadyseen N/A N/A N/A N/A _alreadyseen extend start N/A res N/A N/A s start N/A N/A N/A s destinations N/A N/A N/A res N/A s 0 N/A N/A N/A start remove s N/A new N/A set N/A s start N/A N/A N/A N/A new update N/A stepFunction s N/A N/A N/A new difference_update _alreadyseen N/A ndestinations N/A list destinations N/A s N/A list new N/A N/A N/A s destinations N/A N/A N/A res N/A s 1 N/A N/A N/A new remove s N/A N/A N/A ndestinations remove s N/A N/A N/A _alreadyseen append s N/A deeper N/A reachable stepFunction new ndestinations _alreadyseen N/A N/A k val N/A list N/A N/A deeper items N/A N/A N/A res N/A k N/A val 1 N/A res N/A flood N/A N/A stepFunction fullSet initSet relevant N/A None N/A N/A  Returns a list of elements of fullSet linked to some element of initSet
    through the neighborhood-setFunction (which must be defined on all elements of fullSet).

    :key relevant: (optional) list of relevant elements: stop once all relevant elements are found.
     N/A N/A fullSet None N/A N/A flooded N/A set initSet N/A N/A full N/A set fullSet N/A flooded N/A N/A full intersection N/A set initSet N/A N/A relevant None N/A N/A relevant N/A N/A full copy N/A relevant N/A N/A relevant N/A set relevant N/A change N/A N/A flooded copy N/A N/A N/A len change 0 N/A N/A new N/A set N/A m change N/A N/A N/A fullSet None N/A N/A N/A N/A new update N/A stepFunction m N/A N/A N/A N/A new update N/A N/A full intersection N/A stepFunction m N/A change N/A N/A new difference flooded N/A N/A N/A flooded update change N/A N/A N/A relevant None N/A N/A relevant issubset flooded N/A N/A N/A N/A list flooded N/A crossproduct N/A N/A ss row level N/A None 0 N/A N/A Returns the cross-product of the sets given in `ss`. N/A N/A row None N/A N/A row N/A N/A N/A N/A len ss 1 N/A N/A N/A reduce N/A operator add N/A N/A crossproduct N/A ss N/A 1 N/A row N/A i N/A level 1 N/A i N/A ss N/A 0 N/A N/A N/A N/A row N/A i N/A i N/A ss N/A 0 N/A permute N/A N/A arr permutation N/A N/A N/A Return an array like arr but with elements permuted.

    Only the first dimension is permuted, which makes it possible to permute
    blocks of the input.

    arr can be anything as long as it's indexable. N/A N/A array N/A N/A arr N/A i N/A i permutation N/A permuteToBlocks N/A N/A arr blockshape N/A N/A N/A Permute an array so that it consists of linearized blocks.

    Example: A two-dimensional array of the form

        0  1  2  3
        4  5  6  7
        8  9  10 11
        12 13 14 15

    would be turned into an array like this with (2, 2) blocks:

        0 1 4 5 2 3 6 7 8 9 12 13 10 11 14 15
     N/A N/A N/A len blockshape 2 N/A N/A N/A ValueError Need more than one dimension. N/A N/A N/A N/A len blockshape 2 N/A N/A N/A blockheight blockwidth blockshape N/A N/A permuteToBlocks2d arr blockheight blockwidth N/A N/A N/A N/A len blockshape 3 N/A N/A N/A blockdepth blockheight blockwidth blockshape N/A N/A permuteToBlocks3d arr blockdepth blockheight blockwidth N/A N/A N/A NotImplementedError Only for dimensions 2 and 3. N/A permuteToBlocks3d N/A N/A arr blockdepth blockheight blockwidth N/A N/A N/A N/A depth height width N/A arr shape N/A arr_ N/A N/A arr reshape N/A height depth width N/A arr_ N/A permuteToBlocks2d arr_ blockheight blockwidth N/A N/A arr_ shape N/A depth N/A height width N/A N/A permuteToBlocks2d arr_ blockdepth N/A blockwidth blockheight N/A permuteToBlocks2d N/A N/A arr blockheight blockwidth N/A N/A N/A N/A _height width N/A arr shape N/A arr N/A N/A arr flatten N/A new N/A zeros N/A size arr N/A i N/A range N/A size arr N/A N/A blockx N/A N/A i width blockwidth N/A blocky N/A N/A i width blockheight N/A blockoffset N/A N/A N/A blocky width blockwidth blockx N/A blockoffset N/A blockwidth blockheight N/A inblockx N/A i blockwidth N/A inblocky N/A N/A i width blockheight N/A j N/A N/A blockoffset N/A inblocky blockwidth inblockx N/A N/A new N/A j N/A arr N/A i N/A new N/A triu2flat N/A N/A m N/A N/A N/A  Flattens an upper triangular matrix, returning a vector of the
    non-zero elements.  N/A dim N/A N/A m shape N/A 0 N/A res N/A zeros N/A N/A dim N/A dim 1 2 N/A index 0 N/A row N/A range dim N/A N/A N/A res N/A index N/A N/A index dim row N/A m N/A N/A row N/A row N/A index N/A dim row N/A res N/A flat2triu N/A N/A a dim N/A N/A N/A  Produces an upper triangular matrix of dimension dim from the elements of the given vector.  N/A res N/A zeros N/A dim dim N/A index 0 N/A row N/A range dim N/A N/A N/A res N/A N/A row N/A row N/A a N/A index N/A N/A index dim row N/A index N/A dim row N/A res N/A blockList2Matrix N/A N/A l N/A N/A N/A  Converts a list of matrices into a corresponding big block-diagonal one.  N/A dims N/A N/A N/A m shape N/A 0 N/A m l N/A s N/A sum dims N/A res N/A zeros N/A s s N/A index 0 N/A i N/A range N/A len l N/A N/A d N/A dims N/A i N/A m N/A l N/A i N/A N/A res N/A N/A index N/A index d N/A index N/A index d m N/A index d N/A res N/A blockCombine N/A N/A l N/A N/A N/A  Produce a matrix from a list of lists of its components.  N/A l N/A N/A list N/A map mat row N/A row l N/A hdims N/A N/A N/A m shape N/A 1 N/A m N/A l N/A 0 N/A hs N/A sum hdims N/A vdims N/A N/A N/A N/A row N/A 0 shape N/A 0 N/A row l N/A vs N/A sum vdims N/A res N/A zeros N/A hs vs N/A vindex 0 N/A N/A i row N/A enumerate l N/A N/A hindex 0 N/A N/A j m N/A enumerate row N/A N/A N/A res N/A N/A vindex N/A vindex N/A vdims N/A i N/A hindex N/A hindex N/A hdims N/A j m N/A hindex N/A hdims N/A j N/A vindex N/A vdims N/A i N/A res N/A avgFoundAfter N/A N/A decreasingTargetValues listsOfActualValues batchSize useMedian N/A 1 False N/A N/A  Determine the average number of steps to reach a certain value (for the first time),
    given a list of value sequences.
    If a value is not always encountered, the length of the longest sequence is used.
    Returns an array.  scipy sum N/A numLists N/A len listsOfActualValues N/A longest N/A max N/A list N/A map len listsOfActualValues N/A res N/A N/A 0 N/A _ N/A range numLists N/A tval decreasingTargetValues N/A N/A N/A li l N/A enumerate listsOfActualValues N/A N/A lres N/A res N/A li N/A found False N/A i N/A range N/A lres N/A -1 N/A len l N/A N/A N/A N/A l N/A i tval N/A N/A N/A N/A lres append i N/A found True N/A N/A N/A found N/A N/A N/A N/A lres append longest N/A tmp N/A array res N/A useMedian N/A N/A resx N/A N/A median tmp axis 0 N/A 1 N/A N/A resx N/A N/A N/A sum tmp axis 0 N/A 1 N/A float numLists N/A N/A resx batchSize N/A DivergenceError N/A Exception N/A N/A  Raised when an algorithm diverges.  N/A matchingDict N/A N/A d selection require_existence N/A False N/A N/A  Determines if the dictionary d conforms to the specified selection,
    i.e. if a (key, x) is in the selection, then if key is in d as well it must be x
    or contained in x (if x is a list).  N/A N/A k v N/A list N/A N/A selection items N/A N/A N/A k d N/A N/A N/A isinstance v list N/A N/A N/A N/A d N/A k v N/A N/A False N/A N/A N/A N/A d N/A k v N/A N/A False N/A N/A require_existence N/A N/A False N/A True N/A subDict N/A N/A d allowedkeys flip N/A False N/A N/A  Returns a new dictionary with a subset of the entries of d
    that have on of the (dis-)allowed keys. N/A res N/A N/A N/A k v N/A list N/A N/A d items N/A N/A N/A N/A k allowedkeys flip N/A N/A N/A res N/A k v N/A res N/A dictCombinations N/A N/A listdict N/A N/A N/A  Iterates over dictionaries that go through every possible combination
    of key-value pairs as specified in the lists of values for each key in listdict. N/A listdict N/A N/A listdict copy N/A N/A N/A len listdict 0 N/A N/A N/A N/A N/A N/A k vs N/A N/A listdict popitem N/A res N/A dictCombinations listdict N/A N/A N/A isinstance vs list N/A isinstance vs tuple N/A N/A res N/A N/A dict d N/A k v N/A d res N/A v N/A sorted N/A set vs N/A N/A res N/A N/A dict d N/A k vs N/A d res N/A res N/A r_argmax N/A N/A v N/A N/A N/A  Acts like scipy argmax, but break ties randomly.  N/A N/A N/A len v 1 N/A N/A 0 N/A maxbid N/A max v N/A maxbidders N/A i N/A N/A i b N/A enumerate v N/A b maxbid N/A N/A choice maxbidders N/A all_argmax N/A N/A x N/A N/A N/A  Return the indices of all values that are equal to the maximum: no breaking ties.  N/A m N/A max x N/A N/A i N/A N/A i v N/A enumerate x N/A v m N/A dense_orth N/A N/A dim N/A N/A N/A  Constructs a dense orthogonal matrix.  scipy rand scipy.linalg orth N/A N/A orth N/A rand dim dim N/A sparse_orth N/A N/A d N/A N/A N/A  Constructs a sparse orthogonal matrix.
    
    The method is described in:
    Gi-Sang Cheon et al., Constructions for the sparsest orthogonal matrices,
    Bull. Korean Math. Soc 36 (1999) No.1 pp.199-129
     scipy.sparse eye scipy r_ pi sin cos N/A N/A N/A d 2 0 N/A N/A seq N/A r_ N/A N/A 0 d 2 N/A 1 N/A d 1 2 N/A N/A seq N/A r_ N/A N/A 0 N/A d 1 2 N/A 1 d 2 N/A Q N/A N/A N/A eye d d tocsc N/A i seq N/A N/A theta N/A N/A N/A random 2 pi N/A flip N/A N/A N/A random 0.5 0 N/A Qi N/A N/A N/A eye d d tocsc N/A N/A Qi N/A N/A i i N/A cos theta N/A N/A Qi N/A N/A N/A i 1 i N/A sin theta N/A N/A flip 0 N/A N/A N/A Qi N/A N/A i N/A i 1 N/A N/A sin theta N/A N/A Qi N/A N/A N/A i 1 N/A i 1 N/A cos theta N/A N/A N/A Qi N/A N/A i N/A i 1 N/A sin theta N/A N/A Qi N/A N/A N/A i 1 N/A i 1 N/A N/A cos theta N/A Q N/A Q Qi N/A Q N/A xhash N/A N/A arr N/A N/A N/A  Hashing function for arrays. Use with care.  N/A hashlib N/A N/A N/A N/A N/A hashlib sha1 arr hexdigest N/A binArr2int N/A N/A arr N/A N/A N/A  Convert a binary array into its (long) integer representation.  numpy packbits N/A tmp2 N/A packbits N/A N/A arr astype int N/A N/A sum N/A N/A val N/A 256 i N/A N/A i val N/A enumerate N/A tmp2 N/A -1 N/A uniqueArrays N/A N/A vs N/A N/A N/A  create a set of arrays  N/A resdic N/A N/A v vs N/A N/A N/A resdic N/A N/A xhash v v N/A N/A list N/A N/A resdic values N/A seedit N/A N/A seed N/A 0 N/A N/A  Fixed seed makes for repeatability, but there may be two different
    random number generators involved.  N/A random N/A numpy N/A N/A N/A random seed seed N/A N/A N/A N/A numpy random seed seed N/A weightedUtest N/A N/A g1 w1 g2 w2 N/A N/A N/A  Determines the confidence level of the assertion:
    'The values of g2 are higher than those of g1'.  
    (adapted from the scipy.stats version)
    
    Twist: here the elements of each group have associated weights, 
    corresponding to how often they are present (i.e. two identical entries with 
    weight w are equivalent to one entry with weight 2w).
    Reference: "Studies in Continuous Black-box Optimization", Schaul, 2011 [appendix B].
    
    TODO: make more efficient for large sets. 
     scipy.stats.distributions norm N/A numpy N/A n1 N/A sum w1 N/A n2 N/A sum w2 N/A u1 0.0 N/A N/A x1 wx1 N/A zip g1 w1 N/A N/A N/A x2 wx2 N/A zip g2 w2 N/A N/A N/A x1 x2 N/A N/A u1 N/A N/A 0.5 wx1 wx2 N/A N/A N/A x1 x2 N/A N/A u1 N/A wx1 wx2 N/A mu N/A N/A n1 n2 2.0 N/A sigu N/A N/A numpy sqrt N/A N/A N/A n1 n2 N/A N/A n1 n2 1 12.0 N/A z N/A N/A u1 mu sigu N/A conf N/A N/A norm cdf z N/A conf N/A