Eigen_cosh: Matrix hyperbolic cosine

View source: R/EigenR.R

Eigen_coshR Documentation

Matrix hyperbolic cosine

Description

Matrix hyperbolic cosine of a real or complex square matrix.

Usage

Eigen_cosh(M)

Arguments

M

a square matrix, real or complex

Value

The matrix hyperbolic cosine of M.

Examples

library(EigenR)
M <- toeplitz(c(1,2,3))
Eigen_cosh(M)
(Eigen_exp(M) + Eigen_exp(-M)) / 2 # identical

EigenR documentation built on May 18, 2022, 9:05 a.m.