Test whether the columns of a matrix are linearly independent
Source:R/utils.R
is_linearly_independent.RdReturns TRUE when the QR-decomposition rank of V equals
the number of columns, signalling that the columns of V are
linearly independent and so define a non-degenerate simplicial cone.
Arguments
- V
A numeric matrix whose columns are vectors in \(\mathbb{R}^n\).
- tol
Numeric. Reserved for future tolerance control; the current implementation delegates the rank test to
qr, whose default tolerance is used.
Details
Linear independence of the generators is a precondition for every
solid-angle backend in the package. The dispatcher
compute_solid_angle issues a warning when this test
fails because the spanned cone is then lower-dimensional and has
solid-angle measure zero.
References
Strang, G. (2016). Introduction to Linear Algebra, 5th edition. Wellesley-Cambridge Press. ISBN 978-0980232776.
See also
compute_solid_angle, diagnose_cone for
downstream consumers; is_positive_definite,
is_tridiagonal for sibling tests.