I have an algorithm where the bulk of the computation time is spent calculating an operation of the form
Matrix .^ transpose(Vector) I was able to get a 33% speed up by re-writing this as exp(transpose(Vector) .* log(Matrix)) however this is something of a hack and I don't really approve of it, is there a more elegant way to speed up this operation?
