The stiffness-matrix generator
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.