find_independents_QR

compas_tno.algorithms.find_independents_QR(E, tol=None)[source]

Find independent edges of the matrix E based on a permuted QR factorization. The matrix E [m x n] (n > m) is factored in Q, R, P matrices, where Q [m x m] is a square matrix, R [m x n] an upper triangular matrix and P is the column permutation applied. This method is faster, but it does not preserve the numbering structure of the form diagram.

Parameters
  • E (array) – Equilibrium matrix.

  • tol (float) – Tolerance for small singular values. Default is None.

Returns

ind (list) – Independent columns.