|
|
|
|
|
by TimorousBestie
267 days ago
|
|
Numerical linear algebra is intrinsically strongly typed. The same algorithms that work in double or extended double precision may not work at single or half precision. Pure python has a tendency to silently widen every floating point type to double. Numpy overlays a C ABI on top of python’s oversimplified type system, which complicates matters further. I wouldn’t teach numerical linear algebra in any weakly typed language. |
|