ProjectOntoChebyshevPolynomialsWithTolerance
Project a profile onto Chebyshev coefficients to a requested tolerance.
Developer documentation: this item describes internal implementation details.
Declaration
[zLobatto,rho_zCheb] = ProjectOntoChebyshevPolynomialsWithTolerance(zIn,rhoFunc,tol)
Parameters
zInsource depth gridrhoFuncfunction to sample on candidate Lobatto gridstolcoefficient-chopping tolerance
Returns
zLobattoselected Lobatto gridrho_zChebChebyshev coefficients on that grid