https://github.com/henryzhao2020/linearalgebra
This project explores linear algebra computationally, translating vector and matrix operations into precise computer instructions.
https://github.com/henryzhao2020/linearalgebra
c linearalgebra waterloo
Last synced: 11 months ago
JSON representation
This project explores linear algebra computationally, translating vector and matrix operations into precise computer instructions.
- Host: GitHub
- URL: https://github.com/henryzhao2020/linearalgebra
- Owner: HenryZhao2020
- Created: 2025-02-28T23:37:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-21T16:15:46.000Z (about 1 year ago)
- Last Synced: 2025-05-31T10:08:23.160Z (about 1 year ago)
- Topics: c, linearalgebra, waterloo
- Language: C
- Homepage:
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project explores linear algebra computationally, translating vector and matrix operations into precise computer instructions.
Reference: D. Wolczuk, MATH 136 Course Notes Edition 2024.1
| **Category** | **Command** | **Description** |
|-------------------------|------------|------------------------------------------------------|
| **Program Controls** | `exit` | Terminate the program |
| | `help` | View program manual |
| **Vector Operations** | `vadd` | Perform addition of two vectors |
| | `vsmult` | Perform scalar multiplication of a vector |
| | `dot` | Evaluate the dot product of two vectors |
| | `cross` | Evaluate the cross product of two vectors in R³ |
| | `vlen` | Determine the length (norm) of a vector |
| | `vang` | Determine the angle between two vectors in radians |
| | `veq` | Determine if two vectors are equal |
| **Projections** | `projv` | Find the projection of a vector onto another vector |
| | `perpv` | Find the perpendicular of a vector onto another vector |
| | `projp` | Find the projection of a vector in R³ onto a plane |
| | `perpp` | Find the perpendicular of a vector in R³ onto a plane |
| **Matrix Operations** | `madd` | Perform addition of two matrices |
| | `msmult` | Perform scalar multiplication of a matrix |
| | `mvmult` | Perform matrix-vector multiplication |
| | `mmmult` | Perform multiplication of two matrices |
| | `mtran` | Determine the transpose of a matrix |
| | `miden` | Determine the identity matrix of a square matrix |
| | `meq` | Determine if two matrices are equal |