Example #1
0
func DoFit(t *multifit.GslMultifitRobustType, x *matrix.GslMatrix, y *vector.GslVector,
	c *vector.GslVector, cov *matrix.GslMatrix) {
	dim := x.Dim()
	work := multifit.RobustAlloc(t, dim[0], dim[1])
	multifit.Robust(x, y, c, cov, work)
}