Overview:
-
A Helmert matrix is a square matrix of order n which is of the form
-
The SciPy function helmert() constructs and returns a Helmert matrix of order n.
-
A Helmet matrix is an orthogonal matrix. For an orthogonal matrix,its inverse is equal to its transpose.
Example:
# Example Python program that creates a Helmert import scipy.linalg as sclg order = 5 |
Output:
[[ 0.70710678 -0.70710678 0. 0. 0. ] [ 0.40824829 0.40824829 -0.81649658 0. 0. ] [ 0.28867513 0.28867513 0.28867513 -0.8660254 0. ] [ 0.2236068 0.2236068 0.2236068 0.2236068 -0.89442719]] |