detRep f
detRep(f, Tolerance => 1e-6)
This page demonstrates how the method detRep computes a monic symmetric determinantal representation of a real quadric $f$ (in any number of variables), or returns false if no such representation exists.
If a quadratic determinantal representation of size $2$ exists, then it is returned. Otherwise, the method will find a determinantal representation of size $n+1$, where $n$ is the number of variables (if it exists). If no monic symmetric determinantal representation exists, then null is returned.
When working over an InexactFieldFamily like RR or CC, the option Tolerance can be used to specify the internal threshold for checking equality (any floating point number below the tolerance is treated as numerically zero).
|
|
|
|
|
|
|
The source of this document is in DeterminantalRepresentations.m2:605:0.