|
|
|
|
|
by V1ndaar
941 days ago
|
|
Gaussian elimination in what context even? If your LA library supports generic types, it might work. But generally generic math operations are tricky to get right, because math often does things that from a pure physical perspective don't make a whole lot of sense / you run into trouble with too many competing types due to temporary multiplication / divisions etc (which is a big issue in any statically typed language, because your container (vector, matrix, tensor whatever) type is typically a single unit type! |
|
if your static type system can't handle that, it can't handle unit types for basic linear algebra subroutines