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

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, Fn, defined as follows:

F0=matrix1,1,1

F1=matrix1,1,1

F2=matrix2,2,1,1,1,0

Fn=[[Fn1,Fn1],[Fn1,0]],wheredimFn=dimFn1+dimFn2

  

Note: Only the first dimFn1+dimFn2 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.

withlinalg:

fibonacci3

111101110

(1)

See Also

combinat[fibonacci]

LinearAlgebra