Skip to content

Instantly share code, notes, and snippets.

View kvedala's full-sized avatar

Krishna Vedala kvedala

View GitHub Profile
@kvedala
kvedala / complex exponentials.py
Created August 23, 2017 16:04
Complex exponentials
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
@kvedala
kvedala / Madelbrot optimization.ipynb
Last active April 29, 2020 03:13
Mandelbrot optimization
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kvedala
kvedala / LU Decomposition.ipynb
Last active June 8, 2020 18:19
LU Decomposition
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kvedala
kvedala / notebook.ipynb
Last active May 15, 2020 00:51
Hill Cypher - Python and Cython
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kvedala
kvedala / fibonacci_fast.c
Last active November 17, 2019 23:37
Fast Fibonacci number
/**
@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}
*/
@kvedala
kvedala / fast polynomial roots.ipynb
Last active April 29, 2020 03:02
Durand-Kerner Roots - Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kvedala
kvedala / Weight tracking.ipynb
Created March 1, 2020 15:08
Weight tracking.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kvedala
kvedala / Jacobian to solve linear system.ipynb
Last active June 25, 2020 19:28
Jacobian to solve linear system.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kvedala
kvedala / Wiki plots in simple SVG.ipynb
Last active July 29, 2023 12:38
Generate SVG graphs using linear, quadratic and cubic Bezier curve interpolation.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.