Eigen_cosh {EigenR}R 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

[Package EigenR version 1.2.3 Index]