ChebyshevApprox.chebyshev_derivative
— MethodComputes the first derivative of a complete Chebyshev polynomial with respect to the i'th variable, 'pos', evaluated at 'x', given the polynomial weights, 'weights', the polynomial's order, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containinbg the polynomial weights.
x –- a vector containing the point at which to evaluate the derivative.
pos –- an integer specifying the variable that the function is being differentiated with respect to.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_derivative
— MethodComputes the first derivative of a tensor-product Chebyshev polynomial with respect to the i'th variable, 'pos', evaluated at 'x', given the polynomial weights, 'weights', the polynomial's order, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containinbg the polynomial weights.
x –- a vector containing the point at which to evaluate the derivative.
pos –- an integer specifying the variable that the function is being differentiated with respect to.
order –- a tuple or vector specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_evaluate
— MethodEvaluate a complete Chebyshev polynomial at point, 'x', given the polynomial weights, 'weights', the order of the polynomial, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containing the polynomial weights.
x –- a vector of Numbers representing the evaluation point.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_evaluate
— MethodEvaluate a tensor-product Chebyshev polynomial at point, 'x', given the polynomial weights, 'weights', the order of the polynomial, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containing the polynomial weights.
x –- a vector of Numbers representing the evaluation point.
order –- a tuple or vector specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_extended
— MethodCompute 'N' extended Chebyshev points and scale the points to the interval given in 'domain'.
N –- an integer specifying the number of extended Chebyshev points.
domain –- (with with default [1.0,-1.0]) is a 2-element vector specifying the upper and lower bounds on the domain.
ChebyshevApprox.chebyshev_extrema
— MethodCompute 'N' extrema of the Chebyshev polynomial and scale the roots to the interval given in 'domain'.
N –- an integer specifying the number of Chebyshev extrema.
domain –- (with with default [1.0,-1.0]) is a 2-element vector specifying the upper and lower bounds on the domain.
ChebyshevApprox.chebyshev_gradient
— MethodCreates a function that evaluates the gradient of a Chebyshev polynomial evaluated at 'x', given an approximation plan, 'plan'.
y –- an N-dimensional array containing function evaluated on the approximation grid.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_gradient
— MethodComputes the gradient of a complete Chebyshev polynomial evaluated at 'x', given the polynomial weights, 'weights', the polynomial's order, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containinbg the polynomial weights.
x –- a vector containing the point at which to evaluate the derivative.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_gradient
— MethodComputes the gradient of a tensor-product Chebyshev polynomial evaluated at 'x', given the polynomial weights, 'weights', the polynomial's order, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containinbg the polynomial weights.
x –- a vector containing the point at which to evaluate the derivative.
order –- a tuple or vector specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_gradient_threaded
— MethodCreates a function that evaluates using multi-threading the gradient of a Chebyshev polynomial evaluated at 'x', given an approximation plan, 'plan'.
y –- an N-dimensional array containing function evaluated on the approximation grid.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_hessian
— MethodCreates a function that evaluates the hessian of a Chebyshev polynomial evaluated at 'x', given an approximation plan, 'plan'.
y –- an N-dimensional array containing function evaluated on the approximation grid.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_hessian
— MethodComputes the hessian of a complete Chebyshev polynomial evaluated at 'x', given the polynomial weights, 'weights', the polynomial's order, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containinbg the polynomial weights.
x –- a vector containing the point at which to evaluate the derivative.
order –- a tuple or vector specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_hessian
— MethodComputes the hessian of a tensor-product Chebyshev polynomial evaluated at 'x', given the polynomial weights, 'weights', the polynomial's order, 'order', and the domain, 'domain'.
weights –- an N-dimensional array containinbg the polynomial weights.
x –- a vector containing the point at which to evaluate the derivative.
order –- a tuple or vector specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_hessian_threaded
— MethodCreates a function that uses multi-threading to evaluate the hessian of a Chebyshev polynomial evaluated at 'x', given an approximation plan, 'plan'.
y –- an N-dimensional array containing function evaluated on the approximation grid.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_interp
— MethodCreates an interpolating function given an approximation plan, 'plan', that can evaluate the Chebyshev polynomial at any point in the state-space.
y –- an N-dimensional array containing the function evaluated at each point of the approximation grid.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_interp_threaded
— MethodCreates an interpolating function given an approximation plan, 'plan', that can evaluate using multi-threading the Chebyshev polynomial at any point in the state-space.
y –- an N-dimensional array containing the function evaluated at each point of the approximation grid.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_nodes
— MethodCompute 'N' roots of the Chebyshev polynomial and scale the roots to the interval given in 'domain'.
N –- an integer specifying the number of Chebyshev roots.
domain –- (with with default [1.0,-1.0]) is a 2-element vector specifying the upper and lower bounds on the domain.
ChebyshevApprox.chebyshev_polynomial
— MethodCompute a Chebyshev polynomial of order 'order' from the structure, 'g'.
order –- an integer specifying the order of the polynomial.
g –- a Nodes structure.
ChebyshevApprox.chebyshev_polynomial
— MethodCompute a Chebyshev polynomial of order 'order' at points, 'x'.
order –- an integer specifying the order of the polynomial.
x –- a vector of numbers.
ChebyshevApprox.chebyshev_polynomial
— MethodCompute a Chebyshev polynomial of order 'order' at point, 'x'.
order –- an integer specifying the order of the polynomial.
x –- a number.
ChebyshevApprox.chebyshev_polynomial_deriv
— MethodCompute the derivatives of a Chebyshev polynomial of order 'order' from the structure, 'g'.
order –- an integer specifying the order of the polynomial.
g –- a Nodes structure.
ChebyshevApprox.chebyshev_polynomial_deriv
— MethodCompute the derivatives of a Chebyshev polynomial of order 'order' at points, 'x'.
order –- an integer specifying the order of the polynomial.
x –- a vector of numbers.
ChebyshevApprox.chebyshev_polynomial_deriv
— MethodCompute the derivatives of a Chebyshev polynomial of order 'order' at point, 'x'.
order –- an integer specifying the order of the polynomial.
x –- a number.
ChebyshevApprox.chebyshev_polynomial_sec_deriv
— MethodCompute the second derivatives of a Chebyshev polynomial of order 'order' from the structure, 'g'.
order –- an integer specifying the order of the polynomial.
g –- a Nodes structure.
ChebyshevApprox.chebyshev_polynomial_sec_deriv
— MethodCompute the second derivatives of a Chebyshev polynomial of order 'order' at point, 'x'.
order –- an integer specifying the order of the polynomial.
x –- a number.
ChebyshevApprox.chebyshev_polynomial_sec_deriv
— MethodCompute the second derivatives of a Chebyshev polynomial of order 'order' at points, 'x'.
order –- an integer specifying the order of the polynomial.
x –- a vector of numbers.
ChebyshevApprox.chebyshev_weights
— MethodComputes the Chebyshev weights given the approximation sample, 'y', and the approximation plan, 'plan'.
y –- a N-dimensional array of data evaluated at the approximation points.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_weights
— MethodComputes the Chebyshev weights in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev roots, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev roots.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights
— MethodComputes the Chebyshev weights in a tensor-product polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev roots, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev roots.
order –- a tuple of a vector specifying the polynomial's order for each spacial dimension.
ChebyshevApprox.chebyshev_weights
— MethodComputes the Chebyshev weights in a complete polynomial given the data sample, 'f', the Chebyshev roots, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the Chebyshev nodes used for approximation along each spacial dimension.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights
— MethodComputes the Chebyshev weights in a tensor-product polynomial given the data sample, 'f', the Chebyshev roots, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the Chebyshev nodes used for approximation along each spacial dimension.
order –- a tuple of a vector specifying the polynomial's order for each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended
— MethodComputes the Chebyshev weights in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the extended Chebyshev points, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the extended Chebyshev points.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended
— MethodComputes the Chebyshev weights in a tensor-product polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the extended Chebyshev points, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the extended Chebyshev points.
order –- a tuple of a vector specifying the polynomial's order for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended
— MethodComputes the Chebyshev weights in a complete polynomial given the data sample, 'f', the extended Chebyshev points, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the extended Chebyshev points used for approximation along each spacial dimension.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended
— MethodComputes the Chebyshev weights in a tensor-product polynomial given the data sample, 'f', the extended Chebyshev points, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the extended Chebyshev points used for approximation along each spacial dimension.
order –- a tuple of a vector specifying the polynomial's order for each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended_threaded
— MethodComputes the Chebyshev weights using multi-threading in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the extended Chebyshev points, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the extended Chebyshev points.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended_threaded
— MethodComputes the Chebyshev weights using multi-threading in a tensor-product polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the extended Chebyshev points, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev roots.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended_threaded
— MethodComputes the Chebyshev weights using multi-threading in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the extended Chebyshev points, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the extended Chebyshev points.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extended_threaded
— MethodComputes the Chebyshev weights using mutli-threading in a complete polynomial given the data sample, 'f', the extended Chebyshev points, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the extended Chebyshev points used for approximation along each spacial dimension.
order –- a vector of integers specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema
— MethodComputes the Chebyshev weights in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev extrema, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev extrema.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema
— MethodComputes the Chebyshev weights in a tensor-product polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev extrema, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev extrema.
order –- a tuple of a vector specifying the polynomial's order for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema
— MethodComputes the Chebyshev weights in a complete polynomial given the data sample, 'f', the Chebyshev extrema, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the Chebyshev extrema used for approximation along each spacial dimension.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema
— MethodComputes the Chebyshev weights in a tensor-product polynomial given the data sample, 'f', the Chebyshev extrema, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the Chebyshev extrema used for approximation along each spacial dimension.
order –- a tuple of a vector specifying the polynomial's order for each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema_threaded
— MethodComputes the Chebyshev weights using multi-threading in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev extrema, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev extrema.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema_threaded
— MethodComputes the Chebyshev weights using multi-threading in a tensor-product polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev extrema, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev extrema.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema_threaded
— MethodComputes the Chebyshev weights using multi-threading in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev extrema, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev extrema.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_extrema_threaded
— MethodComputes the Chebyshev weights using mutli-threading in a complete polynomial given the data sample, 'f', the Chebyshev extrema, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the Chebyshev extrema used for approximation along each spacial dimension.
order –- a vector of integers specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.chebyshev_weights_threaded
— MethodComputes the Chebyshev weights using multi-threading given the approximation sample, 'y', and the approximation plan, 'plan'.
y –- a N-dimensional array of data evaluated at the approximation points.
plan –- a structure specifying how the approximation should be undertaken.
ChebyshevApprox.chebyshev_weights_threaded
— MethodComputes the Chebyshev weights using multi-threading in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev roots, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev roots.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_threaded
— MethodComputes the Chebyshev weights using multi-threading in a tensor-product polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev roots, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev roots.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_threaded
— MethodComputes the Chebyshev weights using multi-threading in a complete polynomial given the data sample, 'f', the Chebyshev polynomials evaluated at the Chebyshev roots, 'poly', and the order of the polynomial, 'order'.
f –- an array containing the function evaluated on the approximation grid.
poly –- a tuple of matrices containing the Chebyshev polynomials evaluated at the Chebyshev roots.
order –- an integer specifying the polynomial's maximal order along each spacial dimension.
ChebyshevApprox.chebyshev_weights_threaded
— MethodComputes the Chebyshev weights using mutli-threading in a complete polynomial given the data sample, 'f', the Chebyshev roots, 'nodes', the order of the polynomial, 'order', and the domain for the sampling points, 'domain'.
f –- an array containing the function evaluated on the approximation grid.
nodes –- a tuple of vectors containing the Chebyshev roots used for approximation along each spacial dimension.
order –- a vector of integers specifying the polynomial's order along each spacial dimension.
domain –- a matrix containing the upper and lower bounds on the domain for each spacial dimension.
ChebyshevApprox.nodes
— MethodComputes 'N' points according to 'node_generator' and scales those points to the interval given in 'domain'.
N –- an integer specifying the number of points.
node_generator –- a function that computes the desired points.
domain –- (with with default [1.0,-1.0]) is a 2-element vector specifying the upper and lower bounds on the domain.
ChebyshevApprox.normalize_node
— MethodNormalizes the points in 'node' to reside on the [1.0,-1.0] interval.
node –- A Nodes type.
ChebyshevApprox.normalize_node
— MethodNormalizes a point, 'node', in 'domain' to the [1.0,-1.0] interval.
node –- a number.
domain –- (with with default [1.0,-1.0]) is a 2-element vector specifying the upper and lower bounds on the domain.
ChebyshevApprox.normalize_node
— MethodNormalizes a vector of points, 'node', with in element in 'domain' to the [1.0,-1.0] interval.
node –- a vector of numbers.
domain –- (with with default [1.0,-1.0]) is a 2-element vector specifying the upper and lower bounds on the domain.