cbrt

From DavinciWiki
Jump to: navigation, search

Citation

1.10

Description

Cube root.

Arguments and Return Values

Arguments: One numeric array

Return Value: A numeric array containing the cube roots of the values of the input array; returned array is double if input is double, float otherwise

If no arguments are input, cbrt() prints its description, as shown below.

Usage

Syntax: cbrt(x)

'x' - any numeric array

Examples

dv> cbrt()

Cube root
cbrt(x) returns x^(1/3.)
Works for arrays
S.Marshall 02-11-2008

0
dv> cbrt(-8//0//8)
3x1x1 array of float, bsq format [12 bytes]
-2.00000        0.00000 2.00000
dv> cbrt(pi)
1.46459

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: 12-07-2007
Modified On: 02-19-2008

Personal tools