dehankelVector2
Computes a list of 2D vectors from the given matrix by averaging values in paired rows. The matrix must have an even number of rows, positive dimensions, and follows a Hankel-like structure for computation.
Return
A list of Vector2 instances, where each vector is computed from the averaged values of paired rows in the matrix, considering the specified wrapping behavior.
Parameters
closed
Determines whether the computation should wrap around circularly. If set to true, the computation treats the ends of the row pairs as connected for averaging. Defaults to false.
Throws
If the number of rows is not even, or if the matrix dimensions are not positive.