Description Usage Arguments Value Author(s) References Examples
Checks whether column space of one matrix is a subset of the column space of another matrix.
1 | is.included(B, A, tol1=sqrt(.Machine$double.eps), tol2=sqrt(.Machine$double.eps))
|
B |
The matrix whose column space is to be checked for being a subset. |
A |
The matrix whose column space is to be checked for being a superset. |
tol1 |
A relative tolerance to detect zero singular values while computing generalized inverse, in case A is rank deficient (default = sqrt(.Machine$double.eps)). |
tol2 |
A relative tolerance to detect whether there is sufficient closeness between B and A.ginv(A).B (default = sqrt(.Machine$double.eps)). |
A logical value (TRUE if the column space of B is contained in the column space of A).
Debasis Sengupta <shairiksengupta@gmail.com>, Jinwen Qiu <qjwsnow_ctw@hotmail.com>
Sengupta and Jammalamadaka (2019), Linear Models and Regression with R: An Integrated Approach.
1 2 3 4 5 6 | A <- cbind(c(2,1,-2),c(3,1,-1))
I <- diag(1,3)
is.included(A, I, tol1=sqrt(.Machine$double.eps), tol2=1e-15)
is.included(I, A, tol1=1e-14, tol2=sqrt(.Machine$double.eps))
is.included(projector(A), A, tol1=1e-15, tol2=1e-14)
is.included(A, projector(A))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.