Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@file Fibonacci_fast.c | |
@author: Krishna Vedala | |
@date 2 October, 2019 | |
@brief Compute \f$m^{mth}\f$ Fibonacci number using the formulae: | |
\f{eqnarray*}{ | |
F_{2n-1} &=& F_n^2 + F_{n-1}^2 \\ | |
F_{2n} &=& F_n\left(2F_{n-1} + F_n\right) | |
\f} | |
*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from matplotlib import pyplot as plt | |
from mpl_toolkits.axes_grid.axislines import SubplotZero | |
from matplotlib.transforms import BlendedGenericTransform | |
plt.rcParams['svg.fonttype'] = 'none' | |
A = complex(.5,.75) | |
pows = [0]*11 | |
real = [0]*11 | |
imag = [0]*11 |
NewerOlder