最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Why does ⎕DIV not affect Matrix divide (⌹)? - Stack Overflow

programmeradmin3浏览0评论

With ⎕DIV←1, dividing by 0 does not give an error but gives a 0 every time.

When dividing by 0, (quad divide) seems to always throw a domain error even with ⎕DIV←1.

Is there a reason why the value of ⎕DIV does not affect ?

With ⎕DIV←1, dividing by 0 does not give an error but gives a 0 every time.

When dividing by 0, (quad divide) seems to always throw a domain error even with ⎕DIV←1.

Is there a reason why the value of ⎕DIV does not affect ?

Share Improve this question edited Mar 10 at 11:54 Adám 7,72623 silver badges38 bronze badges asked Mar 10 at 10:14 sloorushsloorush 756 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

⎕DIV solves a very practical/pragmatic problem that occurs in applications, where there are 0 values scattered around in data because you have missing values, and you don't want to write code to remove them and then put them back in after division. This doesn't make sense for matrix inversion.

发布评论

评论列表(0)

  1. 暂无评论