cupyx.scipy.linalg.helmert#

cupyx.scipy.linalg.helmert(n, full=False)[source]#

Create an Helmert matrix of order n.

This has applications in statistics, compositional or simplicial analysis, and in Aitchison geometry.

Parameters
  • n (int) – The size of the array to create.

  • full (bool, optional) – If True the (n, n) ndarray will be returned. Otherwise, the default, the submatrix that does not include the first row will be returned.

Returns

The Helmert matrix. The shape is (n, n) or (n-1, n) depending on the full argument.

Return type

cupy.ndarray