3 ms·
It's basically duck-typing. If you can do arithmetic on it, it's a number. If you can do matrix operations, it's a matrix. If it satisfies the axioms of X, it's
by Retra 11y ago
It's basically duck-typing. If you can do arithmetic on it, it's a number. If you can do matrix operations, it's a matrix. If it satisfies the axioms of X, it's an X.
- AstralStorm 11y agoNot true. You can do arithmetic on many things that are not a number. This is why objects such as "rings" exist. Matrix is not defined just by operations like a ring is, but also by structure - you have N independent axes in a specified space.
- verbin217 11y agoThat's a bit pedantic but sure. Here it is fixed: > If you can do numeric arithmetic on it, it's a number.
- tomadi 11y agoThat is begging the question. What does "numeric" mean?
- Retra 11y agoDo you have a definition of number that addresses this? >you have N independent axes in a specified space. Only if you have an operation that maps the matrices to that space.