使用 4*4*4 的控制点
This commit is contained in:
@@ -21,7 +21,7 @@ func objectiveFunc(numerator, denominator, f, latVec, lonVec, heightVec *mat.Vec
|
||||
errorV := predictedV - f.AtVec(i)
|
||||
errorSquared += errorV * errorV
|
||||
}
|
||||
return errorSquared / float64(n)
|
||||
return errorSquared
|
||||
}
|
||||
|
||||
func solveNelderMead(num, den, f, latVec, lonVec, heightVec *mat.VecDense) (*mat.VecDense, *mat.VecDense, error) {
|
||||
|
||||
Reference in New Issue
Block a user