Module ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad Num For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad Num Assign NameStore BinOpAdd Call NameLoad Call NameLoad BinOpDiv BinOpSub NameLoad NameLoad Num Num BinOpMult BinOpMult Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad Call NameLoad BinOpDiv BinOpSub NameLoad NameLoad Num Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad BinOpMult Num Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpSub Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore BinOpAdd BinOpPow Call AttributeLoad NameLoad attr BinOpDiv BinOpSub NameLoad NameLoad Num Num BinOpMult BinOpMult Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpPow Call AttributeLoad NameLoad attr BinOpDiv BinOpSub NameLoad NameLoad Num Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr BinOpSub Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad ExtSlice Slice Index Num ExtSlice Slice Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad ExtSlice Slice Index Num ExtSlice Index NameLoad Slice Assign NameStore SubscriptLoad SubscriptLoad NameLoad ExtSlice Slice Index Num ExtSlice Slice Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad ExtSlice Slice Index Num ExtSlice Index NameLoad Slice Assign NameStore BinOpAdd BinOpPow Call AttributeLoad NameLoad attr BinOpDiv BinOpSub NameLoad NameLoad Num Num BinOpMult BinOpMult Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad BinOpPow Call AttributeLoad NameLoad attr BinOpDiv BinOpSub NameLoad NameLoad Num Num Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr BinOpSub Num NameLoad Return NameLoad decorator_list ImportFrom alias Assign NameStore Num Import alias identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad
N/A math * arc_distance_python_nested_for_loops N/A N/A a b N/A N/A N/A 
    Calculates the pairwise arc distance between all points in vector a and b.
     N/A a_nrows N/A N/A a shape N/A 0 N/A b_nrows N/A N/A b shape N/A 0 N/A distance_matrix N/A N/A np zeros N/A a_nrows b_nrows N/A i N/A range a_nrows N/A N/A theta_1 N/A a N/A N/A i 0 N/A phi_1 N/A a N/A N/A i 1 N/A j N/A range b_nrows N/A N/A theta_2 N/A b N/A N/A j 0 N/A phi_2 N/A b N/A N/A j 1 N/A temp N/A N/A pow N/A sin N/A N/A theta_2 theta_1 2 2 N/A N/A N/A cos theta_1 N/A cos theta_2 N/A pow N/A sin N/A N/A phi_2 phi_1 2 2 N/A N/A distance_matrix N/A N/A i j N/A 2 N/A atan2 N/A sqrt temp N/A sqrt N/A 1 temp N/A distance_matrix N/A arc_distance_numpy_tile N/A N/A a b N/A N/A N/A 
    Calculates the pairwise arc distance between all points in vector a and b.
     N/A theta_1 N/A N/A N/A np tile N/A a N/A N/A N/A 0 N/A N/A N/A b shape N/A 0 1 T N/A phi_1 N/A N/A N/A np tile N/A a N/A N/A N/A 1 N/A N/A N/A b shape N/A 0 1 T N/A theta_2 N/A N/A np tile N/A b N/A N/A N/A 0 N/A N/A N/A a shape N/A 0 1 N/A phi_2 N/A N/A np tile N/A b N/A N/A N/A 1 N/A N/A N/A a shape N/A 0 1 N/A temp N/A N/A N/A N/A np sin N/A N/A theta_2 theta_1 2 2 N/A N/A N/A N/A np cos theta_1 N/A N/A np cos theta_2 N/A N/A N/A np sin N/A N/A phi_2 phi_1 2 2 N/A distance_matrix N/A 2 N/A N/A np arctan2 N/A N/A np sqrt temp N/A N/A np sqrt N/A 1 temp N/A distance_matrix N/A arc_distance_numpy_broadcast N/A N/A a b N/A N/A N/A 
    Calculates the pairwise arc distance between all points in vector a and b.
     N/A theta_1 N/A N/A a N/A N/A N/A 0 N/A N/A N/A None N/A theta_2 N/A N/A b N/A N/A N/A 0 N/A N/A None N/A N/A phi_1 N/A N/A a N/A N/A N/A 1 N/A N/A N/A None N/A phi_2 N/A N/A b N/A N/A N/A 1 N/A N/A None N/A N/A temp N/A N/A N/A N/A np sin N/A N/A theta_2 theta_1 2 2 N/A N/A N/A N/A np cos theta_1 N/A N/A np cos theta_2 N/A N/A N/A np sin N/A N/A phi_2 phi_1 2 2 N/A distance_matrix N/A 2 N/A N/A np arctan2 N/A N/A np sqrt temp N/A N/A np sqrt N/A 1 temp N/A distance_matrix N/A compare_perf compare_perf N/A n 1000 N/A numpy np N/A a N/A N/A N/A np random rand n 2 N/A b N/A N/A N/A np random rand n 2 N/A N/A compare_perf arc_distance_python_nested_for_loops N/A a b N/A N/A compare_perf arc_distance_numpy_broadcast N/A a b N/A N/A compare_perf arc_distance_numpy_tile N/A a b