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
""" | |
Gaussian Elimination with Partial Pivoting. | |
This module contains 5 functions which procedurally solve | |
the linear system Ax = b, A is an nxn matrix and b is a | |
column vector with n rows. | |
""" | |
import numpy | |
import math |
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
""" | |
Written by Yusuf Ozenci. | |
This program simulates a graphics editor. A 2d list is created, wich represents a matrix of colours (i.e. the image). | |
Text commands can be input into the console to edit the image. | |
7 Commands can be used, these are: | |
I M N. Create a new M x N image with all pixels coloured white (O). | |
C. Clears the table, setting all pixels to white (O). |