Been working on moving the jtensors codebase
over to source generation as I mentioned
previously. I've discovered some annoying inconsistencies in the API that are
making it harder to generate the sources from a single template. For example,
the VectorM4I
type has a method that takes a double
-typed parameter as a scaling
value, but has a scaleInPlace
method that takes an int
-typed parameter as a
scaling value.
The fact that this hasn't been noticed up until now is both evidence to the lack of utility of the latter method, and a testament to the fallibility of humans when it comes to performing repetitive tasks.
In any case, fixing the above would be a backwards-incompatible change and I'm really trying to avoid those until Java 9 appears. Likely going to deprecate the old methods and add new ones with the correct types.