summaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-02-20 22:02:08 +0000
committerrodri <rgl@antares-labs.eu>2020-02-20 22:02:08 +0000
commit168a16b70a928ed64061bdac7fc9d52235c3f9fc (patch)
tree50ad23804ba927af802d42f2b7a450200fcbf2a7 /fns.h
downloadballistics-168a16b70a928ed64061bdac7fc9d52235c3f9fc.tar.gz
ballistics-168a16b70a928ed64061bdac7fc9d52235c3f9fc.tar.bz2
ballistics-168a16b70a928ed64061bdac7fc9d52235c3f9fc.zip
git release.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fns.h b/fns.h
new file mode 100644
index 0000000..2193516
--- /dev/null
+++ b/fns.h
@@ -0,0 +1,15 @@
+void addm(Matrix, Matrix);
+void subm(Matrix, Matrix);
+void mulm(Matrix, Matrix);
+void transm(Matrix);
+double detm(Matrix);
+Vector mulvecm(Vector, Matrix);
+Vector Vec(double, double, double);
+Vector addvec(Vector, Vector);
+Vector subvec(Vector, Vector);
+Vector mulvec(Vector, double);
+double dotvec(Vector, Vector);
+Vector normvec(Vector);
+double round(double);
+double hypot3(double, double, double);
+void *emalloc(ulong);