How to make matrix of numeric values have rowSums of exactly 0? Not e-15 but 0

前端 未结 0 1574
名媛妹妹
名媛妹妹 2021-01-24 05:23

I have a matrix of values and the sums of each row must equal 0 but at the moment they are close but not exactly zero (e.g. -3.12...e-15). I\'d like to force the values in the r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题