Essential Data Analytics Tools: Numerical Computation
Some useful Python codes by me to visualize things in the module.
See this README.md for more information.
Computes a number to its base 2 with certain digits of mantissa. For example,
>>> dec_to_bin(7.3, 31)
'111.0100110011001100110011001100110'
Just a function to print the square matrix as shown below. Can handle various sizes.
A simple plot for comparing a function with its Chebyshev interpolating polynomial.
Observe the Runge phenomenon as we query various number of nodes to interpolate a certain function. Compare the even-spaced interpolating function with the Chebyshev interpolating function.
More pictures can be found here, but I will show one of the plots below.
Displays the Romberg integration table in a nice manner.