TypeError: only size-1 arrays can be converted to Python scalars
报错原因:在一个公式中用了math和numpy
TypeError: unsupported operand type(s) for ^: 'int' and 'float'
指数形式改为pow,非^的格式
TypeError: only size-1 arrays can be converted to Python scalars
报错原因:在一个公式中用了math和numpy
TypeError: unsupported operand type(s) for ^: 'int' and 'float'
指数形式改为pow,非^的格式