kyonifer/koma

Eliminate boxing from get/set methods

Closed this issue · 1 comments

Currently on the JVM target, val a =zeros(3,3); a[1,1] will yield a boxed number because .get(...) has return type T, which forces Matrix<Double> to return java.lang.Double instead of double. This is inconvenient for performance reasons if calling get or set in a loop.

Closed by a4e1609.