gsl (version 1.6-2)

Powint: Power functions

Description

Power functons as per the Gnu Scientific Library

Usage

pow_int(x, n, give=FALSE, strict=TRUE)

Arguments

x
input: real values
n
input: integer values
give
Boolean with TRUE meaning to return a list of three items: the value, an estimate of the error, and a status number.
strict
Boolean, with TRUE meaning to return NaN if status is an error.

References

http://www.gnu.org/software/gsl

Examples

Run this code
pow_int(pi/2,1:10)

Run the code above in your browser using DataCamp Workspace