Compare commits
4 Commits
8b6f1de822
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 48b016d8b7 | |||
| 8e4595f2ef | |||
| 99c0d3ed70 | |||
| 80c4ebfece |
@@ -41,7 +41,7 @@ jobs:
|
|||||||
mkdir -p unit-tests/timing-results
|
mkdir -p unit-tests/timing-results
|
||||||
if [ -x build/unit-tests/matrix-timing-tests ]; then
|
if [ -x build/unit-tests/matrix-timing-tests ]; then
|
||||||
echo "Running matrix-timing-tests with timing"
|
echo "Running matrix-timing-tests with timing"
|
||||||
./build/unit-tests/matrix-timing-tests -d yes &> unit-tests/timing-results/matrix-timing-tests.txt
|
/usr/bin/time -v build/unit-tests/matrix-timing-tests -d yes &> unit-tests/timing-results/matrix-timing-tests.txt
|
||||||
cat unit-tests/timing-results/matrix-timing-tests.txt
|
cat unit-tests/timing-results/matrix-timing-tests.txt
|
||||||
else
|
else
|
||||||
echo "matrix-timing-tests executable not found or not executable"
|
echo "matrix-timing-tests executable not found or not executable"
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -2,8 +2,11 @@
|
|||||||
This matrix math library is focused on embedded development and avoids any heap memory allocation unless you explicitly ask for it.
|
This matrix math library is focused on embedded development and avoids any heap memory allocation unless you explicitly ask for it.
|
||||||
It uses templates to pre-allocate matrices on the stack.
|
It uses templates to pre-allocate matrices on the stack.
|
||||||
|
|
||||||
There are still several operations that are works in progress such as:
|
# Building
|
||||||
- Add a function to calculate eigenvalues/vectors
|
1. Initialize the repositiory with the command:
|
||||||
- Add a function to compute RREF
|
```bash
|
||||||
- Add a function for SVD decomposition
|
cmake -S . -B build -G Ninja
|
||||||
- Add a function for LQ decomposition
|
```
|
||||||
|
|
||||||
|
2. Go into the build folder and run `ninja`
|
||||||
|
3. That's it. You can test out the build by running `./unit-tests/matrix-tests`
|
||||||
Reference in New Issue
Block a user