Module Expr Str ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias Import alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Call NameLoad ListLoad ListLoad Num Num Call NameLoad ListLoad ListLoad Num Num Call NameLoad ListLoad ListLoad Num Num Call NameLoad ListLoad ListLoad Num ListLoad Num Call NameLoad ListLoad ListLoad Num ListLoad Num Call NameLoad ListLoad ListLoad Num ListLoad Num Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num Call NameLoad ListLoad ListLoad Num Num ListLoad Num Num Call NameLoad ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num AttributeLoad Call NameLoad ListLoad ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num ListLoad Num Num Num Num Num attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad TupleLoad TupleLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr For NameStore ListLoad Num Num Num Num Num Num Num body Expr Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr For NameStore ListLoad Num Num Num Num Num Num Num body Expr Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A test sparse matrix construction functions __future__ division print_function absolute_import numpy.testing TestCase assert_equal scipy.sparse csr_matrix N/A numpy np scipy.sparse extract TestExtract N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self cases N/A N/A csr_matrix N/A N/A 1 2 N/A csr_matrix N/A N/A 1 0 N/A csr_matrix N/A N/A 0 0 N/A csr_matrix N/A N/A 1 N/A 2 N/A csr_matrix N/A N/A 1 N/A 0 N/A csr_matrix N/A N/A 0 N/A 0 N/A csr_matrix N/A N/A 1 2 N/A 3 4 N/A csr_matrix N/A N/A 0 1 N/A 0 0 N/A csr_matrix N/A N/A 0 0 N/A 1 0 N/A csr_matrix N/A N/A 0 0 N/A 0 0 N/A csr_matrix N/A N/A 1 2 0 0 3 N/A 4 5 0 6 7 N/A 0 0 8 9 0 N/A N/A csr_matrix N/A N/A 1 2 0 0 3 N/A 4 5 0 6 7 N/A 0 0 8 9 0 T N/A find N/A N/A self N/A N/A N/A A N/A self cases N/A N/A N/A I J V N/A N/A extract find A N/A N/A assert_equal N/A N/A A toarray N/A csr_matrix N/A N/A I J V shape N/A A shape N/A test_tril N/A N/A self N/A N/A N/A A N/A self cases N/A N/A B N/A N/A A toarray N/A k N/A -3 -2 -1 0 1 2 3 N/A N/A N/A assert_equal N/A N/A N/A N/A extract tril A k k toarray N/A N/A np tril B k k N/A test_triu N/A N/A self N/A N/A N/A A N/A self cases N/A N/A B N/A N/A A toarray N/A k N/A -3 -2 -1 0 1 2 3 N/A N/A N/A assert_equal N/A N/A N/A N/A extract triu A k k toarray N/A N/A np triu B k k N/A N/A