Merge branch 'main' of https://git.bausager.org/Bausager/panic
This commit is contained in:
@@ -50,72 +50,3 @@ LLM-generated suggestions are not treated as authoritative. Code, algorithms, nu
|
|||||||
|
|
||||||
The goal of PANIC is to build a readable and inspectable numerical codebase. Any use of LLM assistance should support that goal, not replace understanding, verification, or careful implementation.
|
The goal of PANIC is to build a readable and inspectable numerical codebase. Any use of LLM assistance should support that goal, not replace understanding, verification, or careful implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
main.cpp
|
|
||||||
cmake/makefile?
|
|
||||||
config.cpp/h?
|
|
||||||
modules/
|
|
||||||
math/
|
|
||||||
src/
|
|
||||||
sqrt.c
|
|
||||||
sqrt_serial.c
|
|
||||||
sqrt_omp.c
|
|
||||||
mul.c
|
|
||||||
mul_serial.c
|
|
||||||
mul_omp.c
|
|
||||||
include/
|
|
||||||
sqrt.h
|
|
||||||
sqrt_serial.h
|
|
||||||
sqrt_omp.h
|
|
||||||
mul.h
|
|
||||||
mul_serial.h
|
|
||||||
mul_omp.h
|
|
||||||
```
|
|
||||||
```text
|
|
||||||
main.cpp
|
|
||||||
cmake/makefile?
|
|
||||||
modules/
|
|
||||||
config/
|
|
||||||
src/
|
|
||||||
config_omp.c
|
|
||||||
include/
|
|
||||||
config_omp.h
|
|
||||||
math/
|
|
||||||
src/
|
|
||||||
serial/
|
|
||||||
sqrt_serial.c
|
|
||||||
mul_serial.c
|
|
||||||
omp/
|
|
||||||
sqrt_omp.c
|
|
||||||
mul_omp.c
|
|
||||||
sqrt.c
|
|
||||||
include/
|
|
||||||
serial/
|
|
||||||
sqrt_serial.h
|
|
||||||
mul_serial.h
|
|
||||||
omp/
|
|
||||||
sqrt_omp.h
|
|
||||||
mul_omp.h
|
|
||||||
sqrt.h
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```text
|
|
||||||
Matrix C = mul(A, B); // allocate/return result
|
|
||||||
Status s = mul_into(A, B, C); // write into existing matrix
|
|
||||||
Status s = add_inplace(A, B); // modify A itself
|
|
||||||
or overloading?
|
|
||||||
```
|
|
||||||
|
|
||||||
```text
|
|
||||||
Scalar, Vector and Matrix; All in one file or?
|
|
||||||
Matrix C = mul(A, B); // allocate/return result
|
|
||||||
Status s = mul_into(A, B, C); // write into existing matrix
|
|
||||||
Status s = add_inplace(A, B); // modify A itself
|
|
||||||
or overloading?
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user