project_trace: Project diagonal elements to have trace of zero
Description
Projects the diagonal elements of symmetric matrices onto the plane through the origin and orthogonal to the vector \((1,1,1,....,1)^\top\).
The trace of the resulting symmetric matrices is zero.
Usage
project_trace(x)
Value
A set of flattened symmetric matrices (i.e. TFORGE_fsm class)