fibonacci {cmna}R Documentation

Fibonacci numbers

Description

Return the n-th Fibonacci number

Usage

fibonacci(n)

Arguments

n

n

Details

This function is recursively implements the famous Fibonacci sequence. The function returns the nth member of the sequence.

Value

the sequence element

See Also

Other algebra: bilinear(), cubicspline(), division, horner(), isPrime(), linterp(), nthroot(), polyinterp(), pwiselinterp(), quadratic()

Examples

fibonacci(10)


[Package cmna version 1.0.5 Index]