python built-in function to do matrix reduction

前端 未结 5 607
温柔的废话
温柔的废话 2020-12-14 01:41

Does python have a built-in function that converts a matrix into row echelon form (also known as upper triangular)?

5条回答
  •  再見小時候
    2020-12-14 02:17

    see http://mail.scipy.org/pipermail/numpy-discussion/2008-November/038705.html

    Basically: don't do it.

    The rref algorithm produces too much inaccuracy when implemented on a computer. So you either want to solve the problem in another way, or use symbolics like @aix suggested.

提交回复
热议问题