This documentation is compiled for the latest release of Mathos Core Library
SystemObject
Mathos.PreCalculusFibonacci
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Top
Top
Top
Top
Fibonacci numbers
Enclidean algorithm (greatest common divisor)
In nature: Botany, DNA, The bee ancestry code
NOTE: This class contains both static and non-static functions. You have to declare a new object of the Fibonacci class in order to access the non-static memebers.
Inheritance Hierarchy
Mathos.PreCalculusFibonacci
Namespace: Mathos.PreCalculus
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax
The Fibonacci type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Fibonacci | Initializes a new instance of the Fibonacci class |
Methods
| Name | Description | |
|---|---|---|
| BinetFormula |
Binet's Formula, Gets N-th Fibonacci number
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GoldenRatio |
Golden Ratio
| |
| Index |
If we know F is a Fibonacci number we can find its index
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| NTerm |
Gets N-th Fibonacci number
| |
| Sum |
Sum of Fibonacci numbers from "n" to "m"
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| From(Enum) | Overloaded. (Defined by Converter.) | |
| From(Base) | Overloaded. (Defined by Converter.) |
Properties
| Name | Description | |
|---|---|---|
| FirstTerm |
Gets or sets the the "_firstTerm"
| |
| InitialTerm |
Gets or sets the the "_initialTerm"
|
See Also