bundles / scipy 1.17.1 / scipy / linalg / _special_matrices / helmert
function
scipy.linalg._special_matrices:helmert
Signature
def helmert ( n , full = False ) Summary
Create an Helmert matrix of order n.
Extended Summary
This has applications in statistics, compositional or simplicial analysis, and in Aitchison geometry.
Parameters
n: intThe size of the array to create.
full: bool, optionalIf True the (n, n) ndarray will be returned. Otherwise the submatrix that does not include the first row will be returned. Default: False.
Returns
M: ndarrayThe Helmert matrix. The shape is (n, n) or (n-1, n) depending on the
fullargument.
Examples
from scipy.linalg import helmert
✓helmert(5, full=True)
✗Aliases
-
scipy.linalg.helmert