cosh

Hyperbolic cosine function.

Syntax

cosh(expr)

Argument

expr
A valid scalar, vector, or matrix expression.

Example

Templex Expression Result
{cosh(PI/2)} 2.50918
{cosh( {0, 1, 2} * PI)} 1, 11.592, 267.747
{cosh( { {0, 1}, {1, 0} } )} {1, 1.54308}, {1.54308, 1}
Curve Math Vectors Result
x = c1.x

y = cosh(c1.x)

Comments

If expr is a scalar, the result is a scalar which is the hyperbolic cosine of expr.

If expr is a vector, the result is a vector of the same dimensions containing a hyperbolic cosine for each element of expr.

If expr is a matrix, the result is a matrix of the same dimensions containing a hyperbolic cosine for each element of expr.