<commit_before># cs101-matrices

This is a calculator for operations on 2x2 and 3x3 matrices. It calculates the **determinant**, **transpose**, **inverse** and **square** of these matrices, and displays them on the relevant webpage.

This calculator has been developed by [<NAME>](https://github.com/dhruvsinha) and [<NAME>](https://github.com/agdhruv) as a `Flask` webapp as part of our CS101 end-term project under the MIT License.


## Technologies Used

* Python (version 2.7)
* Flask (web development framework built on Python)
* HTML, CSS, JavaScript (jQuery)
* AJAX for asynchronous communication with the server


## How to Run

This project uses a `virtual environment` to make it easier to be replicated to new environments.

The following commands (in this order) need to be executed to make this run:

1. Run `$ git clone https://github.com/agdhruv/cs101-matrices.git`.
2. Create a virtual environment using `$ virtualenv <name of environment>` with **python 2.7**.
3. Run `$ pip install -r requirements.txt` to install all required packages.
4. Run the virtual environment using `$ source <name of environment>/bin/activate`.
5. Run `$ python app.py`.<commit_msg>Change step ordering in README.<commit_after># cs101-matrices

This is a calculator for operations on 2x2 and 3x3 matrices. It calculates the **determinant**, **transpose**, **inverse** and **square** of these matrices, and displays them on the relevant webpage.

This calculator has been developed by [<NAME>](https://github.com/dhruvsinha) and [<NAME>](https://github.com/agdhruv) as a `Flask` webapp as part of our CS101 end-term project under the MIT License.


## Technologies Used

* Python (version 2.7)
* Flask (web development framework built on Python)
* HTML, CSS, JavaScript (jQuery)
* AJAX for asynchronous communication with the server


## How to Run

This project uses a `virtual environment` to make it easier to be replicated to new environments.

The following commands (in this order) need to be executed to make this run:

1. Run `$ git clone https://github.com/agdhruv/cs101-matrices.git`.
2. Create a virtual environment using `$ virtualenv <name of environment>` with **python 2.7**.
3. Run the virtual environment using `$ source <name of environment>/bin/activate`.
4. Run `$ pip install -r requirements.txt` to install all required packages.
5. Run `$ python app.py`.
{'fraction_non_alphanumeric': 0.10337552742616034, 'fraction_numerical': 0.018565400843881856, 'mean_word_length': 4.513953488372093, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '585926', 'n_tokens_mistral': 702, 'n_tokens_neox': 649, 'n_words': 311}