DataArrayOperator.java fails on multiplication of vector arguments
In DataArrayOperator.MULT with vector arguments of same veclen and same nElements evaluate() allocates output of the length veclennElements and (supposedly) fills only nElements with some exotic "generalized scalar product" p=sum(v0...*vk). I think the proper solution here is:
- Allow the arguments to be of different arithmetic type via getFloat()/getDouble()
- Introduce the whole set of pointwise operations (by component product, scalar product, vector product, matrix multiplication with appropriate arguments check
A minimal solution would be proper dimensioning of the product array, relabelling by SCALAR_PRODUCT for clarity and add argument number check