@@ -804,7 +804,7 @@ def multiply4_add(a, b, c, d, e, **kwargs):
804
804
805
805
def eigh (A , UPLO = 'L' , ** kw_args ):
806
806
"""
807
- Computes the eigen values and eigenvectors for the square matrices
807
+ Computes the eigenvalues and eigenvectors for the square matrices
808
808
in the inner dimensions of A, being those matrices
809
809
symmetric/hermitian.
810
810
@@ -857,7 +857,42 @@ def eigh(A, UPLO='L', **kw_args):
857
857
858
858
def eigvalsh (A , UPLO = 'L' , ** kw_args ):
859
859
"""
860
- Computes the eigen values and eigenvectors for the square matrices in the inner dimensions of A, being those matrices symmetric/hermitian
860
+ Computes the eigenvalues for the square matrices in the inner
861
+ dimensions of A, being those matrices symmetric/hermitian.
862
+
863
+ Parameters
864
+ ----------
865
+ A : (<NDIMS>, M, M) array
866
+ Hermitian/Symmetric matrices whose eigenvalues and
867
+ eigenvectors are to be computed.
868
+ UPLO : {'L', 'U'}, optional
869
+ Specifies whether the calculation is done with the lower
870
+ triangular part of the elements in `A` ('L', default) or
871
+ the upper triangular part ('U').
872
+
873
+ Returns
874
+ -------
875
+ w : (<NDIMS>, M) array
876
+ The eigenvalues, not necessarily ordered.
877
+
878
+ Notes
879
+ -----
880
+ Numpy broadcasting rules apply.
881
+
882
+ The eigenvalues are computed using LAPACK routines _ssyevd, _heevd
883
+
884
+ Implemented for single, double, csingle and cdouble. Numpy conversion
885
+ rules apply.
886
+
887
+ See Also
888
+ --------
889
+ eigh : eigenvalues of symmetric/hermitian arrays.
890
+ eig : eigenvalues and right eigenvectors for general matrices.
891
+ eigvals : eigenvalues for general matrices.
892
+
893
+ Examples
894
+ --------
895
+ <Some example in doctest format>
861
896
"""
862
897
if ('L' == UPLO ):
863
898
gufunc = _impl .eigvalsh_lo
0 commit comments