Description Usage Arguments Details Value Side Effects See Also Examples
Calculate the dimension of the tangent space
1 2 3 4 5 6 7 |
func |
a function which returns the residual vector for a given parameter vector. |
x |
parameter vector first argument to function func indicating the point with respect to which the derivative is calculated. |
show.details |
logical indicating if detailed calculations should be shown. |
method |
string indicating the numerical approximation method. |
method.args |
list with arguments to |
... |
additional arguments passed to |
The first argument of a function must be a vector. span performs a svd of the tangent vectors at the point x. This can be used to calculate the dimension of the tangent space (ie. by over specifying the model and counting the number of significant singular values). This function uses Richardson extrapolation (for more details see the functions grad and genD) to get a numerical approximation of the tangent vectors to the parameter manifold. SVD is then used to calculate their span.
The singular values of the matrix of tangent vectors are returned.
If show.details is T then intermediate calculations are printed.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.