pow: Raise a vector to the nth power

Description Usage Arguments Details Value Examples

Description

That's it – this function simply raises a vector to the nth power.

Usage

1
pow(x, a)

Arguments

x

The vector to be raised to the nth power.

a

The vector x is to be raised to.

Details

This function isn't complicated so there is no need to make this "details" section lengthy

A list in this section may be excessive, but it is possible:

Value

A vector that is the output of x.

Examples

1
2
pow(1:10,4)
pow(-5,4)

emwest/stat547HW09 documentation built on May 8, 2019, 6:52 p.m.