Module Expr Str ImportFrom alias alias alias Import alias identifier TryExcept body Import alias Import alias handlers ExceptHandler type NameLoad body Pass ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad ListLoad Num Num Num Num Num Num Num Num Num Num Num Num ListLoad Str Str Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Num Assign NameStore TupleLoad NameLoad NameLoad If CompareLtE NameLoad Num body Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq NameLoad Str body Raise Call NameLoad Assign NameStore Num Assign NameStore Num Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad BinOpDiv NameLoad BinOpMult SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad orelse If CompareEq NameLoad Str body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Num decorator_list decorator_list
N/A N/A Compare the speed of exact one-norm calculation vs. its estimation.
 __future__ division print_function absolute_import N/A numpy np N/A N/A N/A scipy.sparse.linalg N/A scipy.sparse N/A N/A N/A ImportError N/A N/A common Benchmark BenchmarkOneNormEst N/A Benchmark N/A N/A params N/A N/A 2 3 5 10 30 100 300 500 1000 10000.0 100000.0 1000000.0 N/A exact onenormest N/A param_names N/A n solver setup N/A N/A self n solver N/A N/A N/A N/A N/A N/A np random seed 1234 N/A nrepeats 100 N/A shape N/A n n N/A N/A n 1000 N/A N/A N/A self matrices N/A N/A i N/A range nrepeats N/A N/A M N/A N/A N/A np random randn shape N/A N/A N/A N/A self matrices append M N/A N/A N/A solver exact N/A N/A N/A NotImplementedError N/A max_nnz 100000 N/A nrepeats 1 N/A N/A self matrices N/A N/A i N/A range nrepeats N/A N/A M N/A N/A N/A scipy sparse rand N/A shape N/A 0 N/A shape N/A 1 N/A min N/A max_nnz N/A N/A shape N/A 0 N/A shape N/A 1 1e-05 N/A N/A N/A N/A self matrices append M N/A time_onenormest N/A N/A self n solver N/A N/A N/A N/A solver exact N/A N/A M N/A self matrices N/A N/A N/A N/A M dot M N/A N/A N/A N/A N/A N/A scipy sparse linalg matfuncs _onenorm M N/A N/A N/A solver onenormest N/A N/A M N/A self matrices N/A N/A N/A N/A N/A N/A N/A scipy sparse linalg matfuncs _onenormest_matrix_power M 2 N/A N/A