I think dot is more readable as well. Creating a new DoubleMatrix from an array is relatively cheap, so we should do that here