func MultiHypothesis(x *mat64.Dense, theta *mat64.Vector) *mat64.Vector { var res mat64.Dense res.Mul(theta.T(), x) return res.RowView(0) }