Generator

The stiffness-matrix generator

Rendered here at the parameters it defaults to, with every essay that calls it — which is the same list as the blast radius of changing it.
Almost all of it is exactly zeroThe stiffness matrix of a 2-bay, 3-storey plane frame: 36 freedoms, of which 16.2 per cent of the 36² entries are non-zero. The zeros are not small numbers; they are absences. A member reaches only the two nodes at its ends, so it can contribute nothing to any row belonging to a node it does not touch, and every such entry is zero exactly rather than nearly. The non-zeros therefore sit in a band of width 13 about the diagonal. Before the supports are applied the matrix is singular, and its null space has exactly three dimensions — the three rigid-body motions a plane frame has with respect to the ground, which is the same statement `nullVector` makes about a truss that is a mechanism, arrived at from the other end.36 × 36210 non-zerosof 1296 entriesbandwidth 13nullity 3before the supports go indense solve 16kbanded 6ka member reaches only its own two nodes

Almost all of it is exactly zero. The stiffness matrix of a 2-bay, 3-storey plane frame: 36 freedoms, of which 16.2 per cent of the 36² entries are non-zero. The zeros are not small numbers; they are absences. A member reaches only the two nodes at its ends, so it can contribute nothing to any row belonging to a node it does not touch, and every such entry is zero exactly rather than nearly. The non-zeros therefore sit in a band of width 13 about the diagonal. Before the supports are applied the matrix is singular, and its null space has exactly three dimensions — the three rigid-body motions a plane frame has with respect to the ground, which is the same statement `nullVector` makes about a truss that is a mechanism, arrived at from the other end.

1 essay calls stiffness-matrix. The drawing above is what it returns with no arguments at all; every call below passes it something, because a placement that passes nothing draws whichever member of the family the generator happens to default to rather than the one its essay argues about.

Where it is called

Changing this generator changes every one of these figures.

The library, page 5 of 7 — where stiffness-matrix sits