feat: modules
This commit is contained in:
1 parent
4cd545c788
commit
a123071fec
8 files changed
+244
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#include <print>
|
||||
|
||||
#include "vecutils.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
void print3DMatrixSlice(const arr3d<double> &arr, int t) {
|
||||
for (int x = 0; x < arr.extent(1); x++) {
|
||||
for (int y = 0; y < arr.extent(2); y++) {
|
||||
print("{:>10.4f} ", arr[t,x,y]);
|
||||
}
|
||||
println("");
|
||||
}
|
||||
}
|
||||