R: Power functions

Powint {gsl} | R Documentation

## Power functions

### Description

Power functions as per the Gnu Scientific Library reference manual section 7.27. These functions are declared in the header file `gsl_sf_pow_int.h`

### 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

### Author(s)

Robin K. S. Hankin

### References

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

### Examples

    pow_int(pi/2,1:10)

[Package gsl version 1.9-10.3 Index]