Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian.jauslin@roma1.infn.it>2015-07-22 13:55:29 +0000
committerIan Jauslin <ian.jauslin@roma1.infn.it>2015-07-22 13:55:29 +0000
commitf13eacbc8e5ab714dd3544adab8189c313382c77 (patch)
treeefd35fca778e6e343206f48918898a8b4cda9977 /src/fields.h
parent3b591888b5dad7cef02170743a92e2bf9c5831db (diff)
Support for non-commuting fieldsv1.3
Diffstat (limited to 'src/fields.h')
-rw-r--r--src/fields.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fields.h b/src/fields.h
index 3795d92..b6f05c2 100644
--- a/src/fields.h
+++ b/src/fields.h
@@ -29,6 +29,8 @@ int free_Fields_Table(Fields_Table fields);
int field_type(int index, Fields_Table fields);
// check whether a field anticommutes
int is_fermion(int index, Fields_Table fields);
+// check whether a field is non-commuting
+int is_noncommuting(int index, Fields_Table fields);
// init
@@ -51,6 +53,8 @@ int identities_concat(Identities input, Identities* output);
// resolve the identities
int resolve_ids(Polynomial* polynomial, Fields_Table fields);
+// check whether an array is a sub-array of another, support for noncommuting elements
+int int_array_is_subarray_noncommuting(Int_Array input, Int_Array test_array, Fields_Table fields);
// init