hyperdeterminantMatrix f
This constructs a matrix whose determinant equals the hyperdeterminant of a tensor of boundary format, where we say that a $a\times b_1\times \dots \times b_n$ has boundary format if $$ a-\sum_{i=1}^n (b_i-1)=1. $$ The entries of the output matrix correspond to entries of the input tensor.
|
|
|
|
There is bug involving the graded structure of the output. Namely, the code assumes that all entries of f have degree 1, and gives the wrong graded structure if this is not the case. If ring f is not graded, then the code gives an error.
The object hyperdeterminantMatrix is a method function.