cbrt

Syntax

cbrt(X)

Arguments

X is a scalar/vector/matrix.

Details

Return the square root of X. The data type of the result is always DOUBLE.

Examples

$ cbrt(8);
2

$ cbrt(8 12 16);
[2,2.289428,2.519842]

$ cbrt(1..6$2:3);

0

1

2

1

1.44225

1.709976

1.259921

1.587401

1.817121