linalg(deprecated)/fibonacci - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/fibonacci

linalg(deprecated)

  

fibonacci

  

fibonacci matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

fibonacci(n)

Parameters

n

-

non-negative integer

Description

• 

Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The fibonacci(n) calling sequence returns the nth fibonacci matrix, F⁡n, defined as follows:

F⁡0=matrix⁡1,1,1

F⁡1=matrix⁡1,1,1

F⁡2=matrix⁡2,2,1,1,1,0

F⁡n=[⁢[F⁡n−1,F⁡n−1],[F⁡n−1,0]⁢],where⁢⁢⁢dim⁢F⁡n=dim⁢F⁡n−1+dim⁢F⁡n−2

  

Note: Only the first dim⁡F⁡n−1+dim⁡F⁡n−2 rows and columns are retained.

• 

The command with(linalg,fibonacci) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.

> 

with⁡linalg:

> 

fibonacci⁡3

111101110

(1)

See Also

combinat[fibonacci]

LinearAlgebra