summaryrefslogtreecommitdiff
path: root/lib/vector.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-26 19:32:34 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-26 19:32:34 -0400
commit3223b527890e3090184384374f45a964cffa254a (patch)
tree0310f6673bf9f1260938fd877d8ed11c1b0134d6 /lib/vector.h
parent577fbfe6a312900e5467e30aa2b7ad1ac7264e61 (diff)
downloadc++-3223b527890e3090184384374f45a964cffa254a.tar.gz
c++-3223b527890e3090184384374f45a964cffa254a.tar.bz2
c++-3223b527890e3090184384374f45a964cffa254a.zip
fixed several bugs
Diffstat (limited to 'lib/vector.h')
-rw-r--r--lib/vector.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/vector.h b/lib/vector.h
index 2f4077a..72633a8 100644
--- a/lib/vector.h
+++ b/lib/vector.h
@@ -7,23 +7,6 @@
#include "types.h"
-/* The following is the minimum definition of a spin class.
- *
- * The class must contain an M_t and an F_t for holding the sum of an
- * integer number of spins and a double-weighted number of spins,
- * respectively.
- *
- * void init(X_t *p);
- * void free_spin(X_t p);
- * X_t copy(X_t x);
- * void add(M_t *x1, int factor, X_t x2);
- * void add(F_t *x1, double factor, X_t x2);
- * M_t scalar_multiple(int factor, X_t x);
- * double norm_squared(F_t x);
- * void write_magnetization(M_t M, FILE *outfile);
- *
- */
-
template <q_t q, class T>
class vector_t : public std::array<T, q> {
public: