NLA-lib Explorer

NLAlib.matrixPerspective

Library ยท def

The matrix perspective \psi_f(\mathbf{A}, \mathbf{H}) = \mathbf{A}^{1/2} f(\mathbf{A}^{-1/2}\mathbf{H}\mathbf{A}^{-1/2}) \mathbf{A}^{1/2} of a function f at a positive definite \mathbf{A} and a Hermitian \mathbf{H}; the square root and the inverse give junk values when \mathbf{A} is not positive definite. [Tropp2015, Definition 8.6.1].

NLAlib.matrixPerspective.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] (f : โ„ โ†’ โ„) (A H : Matrix n n ๐•œ) : Matrix n n ๐•œ

Full source on GitHub

Import NLAlib.Matrix.Functions.Perspective.