73---numpy 布尔运算
如何使得两个矩阵的乘积得到的是一个布尔矩阵, 如:[[False True] [True True]]代码如下:import numpy as npclass NumpyStudy: @staticmethod def boolResult(): matrix_a = np.matrix([[0, 1, 1], [1, 0, 1]], dtype=bool) matrix_b = np.matrix([[1, 0], [0, 0], [0, 1