矩阵运算源码最新版本
源代码在线查看: sconscript
Import('debug_env check') sources = Split("""base_case_conversion.cpp bit_masking.cpp cholesky_test.cpp complexity.cpp compressed2D_inserter.cpp dense2D.cpp dilated_int.cpp matrix_product_test.cpp morton_dense.cpp sub_matrix.cpp print_matrix_test.cpp set_to_zero_test.cpp assign_test.cpp dense_vector_test.cpp matrix_map_view_test.cpp vector_map_view_test.cpp algebraic_category.cpp matrix_add_test.cpp laplacian_setup_test.cpp sparse_matrix_product_test.cpp sparse_dense_matrix_product_test.cpp matrix_vector_product_test.cpp rank_one_update_test.cpp rank_two_update_test.cpp left_scale_inplace_test.cpp right_scale_inplace_test.cpp swap_test.cpp trace_test.cpp one_norm_matrix_test.cpp infinity_norm_matrix_test.cpp frobenius_norm_test.cpp element_matrix_test.cpp diagonal_setup_test.cpp vector_reduction_test.cpp vector_min_max_test.cpp compressed2D.cpp dot_test.cpp resize_vector_test.cpp sub_matrix_test2.cpp direct_access.cpp matrix_multiple_left_products_test.cpp matrix_multiple_right_products_test.cpp matrix_multiple_products_test.cpp matrix_construction_from_expression_test.cpp """) programs = [] for p in sources: programs.append(debug_env.Program(p)) if int(check): for p in programs: debug_env.AddPostAction(p, p[0].abspath) Default(programs)