-
Notifications
You must be signed in to change notification settings - Fork 0
Math FrameWork Usage
wenqinYe edited this page Oct 13, 2013
·
7 revisions
To get started all you have to do is instantiate an object of the MathFrameWork class, so you can use the MathFrameWork class' methods.
Example: MathFrameWork *instanceOfMathFrameWork = [MathFrameWork alloc]init];
You can now use the instance methods and class methods in the MathFrameWork class.
Simply invoke the Fibonacci method (0 based, so to find first Fibonacci number, you would type index 0):
[mathFrameWorkInstance calculateFibNumberAtIndex:<index you wish to calculate fib number to>];
Invoke the factoral method:
[mathInstance factoral:<factoral number to calculate>];