/// <inheritdoc/> public new RealVector preMultiply(RealVector v) { double[] vectorData; if (v is ArrayRealVector) { vectorData = ((ArrayRealVector)v).getDataRef(); } else { vectorData = v.toArray(); } return(MatrixUtils.createRealVector(preMultiply(vectorData))); }