cosh

From DavinciWiki
Jump to: navigation, search

Description

Computes the hyperbolic cosine of the input value.

Arguments and Return Values

Parameters: An array of numeric data

Return Value: A float (or double) array of the same dimensions as the input containing the hyperbolic cosine of the input

Usage

Syntax: cosh(x)

'x' is any numeric array

cosh(x) = (exp(x) + exp(-x))/2

Return format is double if input is double, float otherwise

When cosh() is entered without any arguments, it prints its description, as shown below.

Examples

dv> cosh()

Hyperbolic cosine
cosh(x) = (exp(x) + exp(-x))/2
Works for arrays
S.Marshall 01-25-2008

0
dv> cosh(-1//0//1)
3x1x1 array of float, bsq format [12 bytes]
1.54308 1.00000 1.54308

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-19-2008
Modified On: 02-19-2008

Personal tools