向量关联归约

(数据来自 pyomo.contrib.pynumero.sparse.base_block

pyomo.contrib.pynumero.sparse.base_block.vec_associative_reductions = {<ufunc 'add'>, <ufunc 'bitwise_and'>, <ufunc 'bitwise_or'>, <ufunc 'bitwise_xor'>, <ufunc 'fmax'>, <ufunc 'fmin'>, <ufunc 'maximum'>, <ufunc 'minimum'>, <ufunc 'multiply'>}

NumPy ufuncs 可以用作 pyNumero 向量的归约操作