source: git/libpolys/polys/nc/nc.h @ cf3743

spielwiese
Last change on this file since cf3743 was cf3743, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Starting to move in the non-commutative stuff
  • Property mode set to 100644
File size: 531 bytes
Line 
1#ifndef POLYS_NC_H
2#define POLYS_NC_H
3
4/*
5
6// TODO: the following is a part of ring.h... would be nice to have a
7// clear public NC interface defined here!
8#ifdef HAVE_PLURAL
9struct nc_struct;
10typedef struct nc_struct   nc_struct;
11#endif
12
13#inculde <polys/monomials/ring.h>
14
15/// we must always have this test!
16static inline bool rIsPluralRing(const ring r)
17{
18#ifdef HAVE_PLURAL
19  nc_struct *n;
20  return (r != NULL) && ((n=r->GetNC()) != NULL) /*&& (n->type != nc_error)*/;
21#else
22  return false;
23#endif
24}
25
26*/
27#endif /* POLYS_NC_H */
Note: See TracBrowser for help on using the repository browser.