Closed zoddicus closed 3 months ago
This would probably require F32Matrix
& F32Vector
to be a real class instead of just an alias over arrays and 2D arrays.
This would require adding significant code complexity by turning simple containers into classes.
Functions like
makeMatrixToMatrixCase
need to do filtering based on if any of elements in the result are non-finite. This is currently done by iterating over every element in the container. Checking for finite-ness is done a number of places in the numeric framework, so there is potential for improving this by having something likeisFinite
on the type, that they can cache the result, instead of calculating it on demand all over the place.