You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: stdlib/LinearAlgebra/src/dense.jl
+9-9
Original file line number
Diff line number
Diff line change
@@ -478,7 +478,7 @@ Compute the matrix exponential of `A`, defined by
478
478
e^A = \\sum_{n=0}^{\\infty} \\frac{A^n}{n!}.
479
479
```
480
480
481
-
For symmetric or Hermitian `A`, an eigendecomposition ([`eigfact`](@ref)) is
481
+
For symmetric or Hermitian `A`, an eigendecomposition ([`eig`](@ref)) is
482
482
used, otherwise the scaling and squaring algorithm (see [^H05]) is chosen.
483
483
484
484
[^H05]: Nicholas J. Higham, "The squaring and scaling method for the matrix exponential revisited", SIAM Journal on Matrix Analysis and Applications, 26(4), 2005, 1179-1193. [doi:10.1137/090768539](https://doi.org/10.1137/090768539)
@@ -602,7 +602,7 @@ the unique matrix ``X`` such that ``e^X = A`` and ``-\\pi < Im(\\lambda) < \\pi`
602
602
the eigenvalues ``\\lambda`` of ``X``. If `A` has nonpositive eigenvalues, a nonprincipal
603
603
matrix function is returned whenever possible.
604
604
605
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is
605
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is
606
606
used, if `A` is triangular an improved version of the inverse scaling and squaring method is
607
607
employed (see [^AH12] and [^AHR13]). For general matrices, the complex Schur form
608
608
([`schur`](@ref)) is computed and the triangular algorithm is used on the
@@ -660,7 +660,7 @@ If `A` has no negative real eigenvalues, compute the principal matrix square roo
660
660
that is the unique matrix ``X`` with eigenvalues having positive real part such that
661
661
``X^2 = A``. Otherwise, a nonprincipal square root is returned.
662
662
663
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is
663
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is
664
664
used to compute the square root. Otherwise, the square root is determined by means of the
665
665
Björck-Hammarling method [^BH83], which computes the complex Schur form ([`schur`](@ref))
666
666
and then the complex square root of the triangular factor.
@@ -732,7 +732,7 @@ end
732
732
733
733
Compute the matrix cosine of a square matrix `A`.
734
734
735
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is used to
735
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is used to
736
736
compute the cosine. Otherwise, the cosine is determined by calling [`exp`](@ref).
737
737
738
738
# Examples
@@ -765,7 +765,7 @@ end
765
765
766
766
Compute the matrix sine of a square matrix `A`.
767
767
768
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is used to
768
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is used to
769
769
compute the sine. Otherwise, the sine is determined by calling [`exp`](@ref).
770
770
771
771
# Examples
@@ -851,7 +851,7 @@ end
851
851
852
852
Compute the matrix tangent of a square matrix `A`.
853
853
854
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is used to
854
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is used to
855
855
compute the tangent. Otherwise, the tangent is determined by calling [`exp`](@ref).
856
856
857
857
# Examples
@@ -924,7 +924,7 @@ end
924
924
925
925
Compute the inverse matrix cosine of a square matrix `A`.
926
926
927
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is used to
927
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is used to
928
928
compute the inverse cosine. Otherwise, the inverse cosine is determined by using
929
929
[`log`](@ref) and [`sqrt`](@ref). For the theory and logarithmic formulas used to compute
930
930
this function, see [^AH16_1].
@@ -955,7 +955,7 @@ end
955
955
956
956
Compute the inverse matrix sine of a square matrix `A`.
957
957
958
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is used to
958
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is used to
959
959
compute the inverse sine. Otherwise, the inverse sine is determined by using [`log`](@ref)
960
960
and [`sqrt`](@ref). For the theory and logarithmic formulas used to compute this function,
961
961
see [^AH16_2].
@@ -986,7 +986,7 @@ end
986
986
987
987
Compute the inverse matrix tangent of a square matrix `A`.
988
988
989
-
If `A` is symmetric or Hermitian, its eigendecomposition ([`eigfact`](@ref)) is used to
989
+
If `A` is symmetric or Hermitian, its eigendecomposition ([`eig`](@ref)) is used to
990
990
compute the inverse tangent. Otherwise, the inverse tangent is determined by using
991
991
[`log`](@ref). For the theory and logarithmic formulas used to compute this function, see
0 commit comments