Function linearDependencies

  • Creates a matrix which represents the dependencies between rows. If a row is a linear combination of others rows, the result will be a row with the coefficients of this combination. For example : for A = [[2, 0, 0, 1], [0, 1, 6, 0], [0, 3, 0, 1], [0, 0, 1, 0], [0, 1, 2, 0]], the result will be [[0, 0, 0, 0, 0], [0, 0, 0, 4, 1], [0, 0, 0, 0, 0], [0, 0.25, 0, 0, -0.25], [0, 1, 0, -4, 0]]

    Parameters

    Returns Matrix

    • The matrix which represents the dependencies between rows.