gsModeling
The methods in gsModeling
contain methods for geometric modelling, such as fitting.
Function Documentation
Gismo.compute!
— Functioncompute!(fit::Fitting, lambda::Cdouble=0.0) Computes the least squares fit
Arguments
fit::Fitting
: a fitting structurelambda::Cdouble
: the value to assign to the lambda ridge parameter
Gismo.computeErrors!
— MethodcomputeErrors!(fit::Fitting) Computes the error for each point
Arguments
fit::Fitting
: a fitting structure
Gismo.maxPointError
— MethodmaxPointError(fit::Fitting)::Cdouble Returns the maximum error obtained
Arguments
fit::Fitting
: a fitting structure
Return
max_error::Cdouble
: The maximum error obtained
Gismo.minPointError
— MethodminPointError(fit::Fitting)::Cdouble Returns the smallest error obtained between all the points
Arguments
fit::Fitting
: a fitting structure
Return
min_error::Cdouble
: The minimum error obtained
Gismo.numPointsBelow
— MethodnumPointsBelow(fit::Fitting, threshold::Cdouble)::Int Returns the number of points where the error is below the threshold
Arguments
fit::Fitting
: a fitting structurethreshold::Cdouble
: The desired threshold
Return
number_pts_blw::Int
: number of points where the error is below the given threshold
Gismo.parameterCorrection!
— FunctionparameterCorrection!(fit::Fitting, accuracy::Cdouble, maxIter::Int, tol0rth::Cdouble) Performs the parameters corrections step
Arguments
fit::Fitting
: a fitting structureaccuracy::Cdouble
: The desired accuracymaxIter::Int
: The desired number of iterationstol0rth::Cdouble
: The desired value of the tolleance
Gismo.pointWiseErrors
— MethodpointWiseErrors(fit::Fitting)::Ptr{Cdouble} Returns the error obtained for each point
Arguments
fit::Fitting
: a fitting structure
Return
errors::Ptr{Cdouble}
: Pointer pointing to an array containing the error value for each point
Gismo.result
— Methodresult(fit::Fitting)::Geometry Returns a geometry from the fitting structure
Arguments
fit::Fitting
: a fitting structure
Return
geom::Geometry
: the desired geometry
Gismo.Fitting
— TypeCreates a fitting structure