update_q_from_qind¶
-
compas_tna.utilities.
update_q_from_qind
(E, q, dep, ind)[source]¶ Update the full set of force densities using the values of the independent edges.
- Parameters
E (sparse csr matrix) – The equilibrium matrix.
q (array) – The force densities of the edges.
dep (list) – The indices of the dependent edges.
ind (list) – The indices of the independent edges.
- Returns
None – The force densities are modified in-place.
Examples
>>>