[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
1.1 Functions of one Variable | ||
1.2 Orthogonal Collocation |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
quad
[v, ier, nfun] = quad ("f", a, b) [v, ier, nfun] = quad ("f", a, b, tol) [v, ier, nfun] = quad ("f", a, b, tol, sing)
Integrate a nonlinear function of one variable using Quadpack.
Where the first argument is the name of the function to call to compute the value of the integrand. It must have the form
y = f (x)
where y and x are scalars.
The second and third arguments are limits of integration. Either or both may be infinite. The optional argument tol specifies the desired accuracy of the result. The optional argument sing is a vector of values at which the integrand is singular.
Tolerances and other options for quad
may be specified using the
function quad_options
.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
colloc
[r, A, B, q] = colloc (n) [r, A, B, q] = colloc (n, "left") [r, A, B, q] = colloc (n, "left", "right")
Compute derivative and integral weight matrices for orthogonal collocation using the subroutines given in J. Michelsen and M. L. Villadsen, Solution of Differential Equation Models by Polynomial Approximation.
[Top] | [Contents] | [Index] | [ ? ] |
This document was generated on January 15, 2023 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
Button | Name | Go to | From 1.2.3 go to |
---|---|---|---|
[ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
[ < ] | Back | Previous section in reading order | 1.2.2 |
[ Up ] | Up | Up section | 1.2 |
[ > ] | Forward | Next section in reading order | 1.2.4 |
[ >> ] | FastForward | Next chapter | 2 |
[Top] | Top | Cover (top) of document | |
[Contents] | Contents | Table of contents | |
[Index] | Index | Index | |
[ ? ] | About | About (help) |
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
This document was generated on January 15, 2023 using texi2html 5.0.