The exponential and logarithm based on the continuous functional calculus #
This file defines the logarithm via the continuous functional calculus (CFC) and builds its API. This allows one to take logs of matrices, operators, elements of a C⋆-algebra, etc.
It also shows that exponentials defined via the continuous functional calculus are equal to
NormedSpace.exp
(defined via power series) whenever the former are not junk values.
Main declarations #
CFC.log
: the real log function based on the CFC, i.e.cfc Real.log
CFC.exp_eq_normedSpace_exp
: exponentials based on the CFC are equal to exponentials based on power series.CFC.log_exp
andCFC.exp_log
:CFC.log
andNormedSpace.exp ℝ
are inverses of each other.
Implementation notes #
Since cfc Real.exp
and cfc Complex.exp
are strictly less general than NormedSpace.exp
(defined via power series), we only give minimal API for these here in order to relate
NormedSpace.exp
to functions defined via the CFC. In particular, we don't give separate
definitions for them.
TODO #
The real logarithm, defined via the continuous functional calculus. This can be used on matrices, operators on a Hilbert space, elements of a C⋆-algebra, etc.