From f13eacbc8e5ab714dd3544adab8189c313382c77 Mon Sep 17 00:00:00 2001 From: Ian Jauslin Date: Wed, 22 Jul 2015 13:55:29 +0000 Subject: Support for non-commuting fields --- src/fields.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/fields.h') 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 -- cgit v1.2.3-70-g09d2