Macaulay2 Engine
Loading...
Searching...
No Matches

◆ elem()

int tableau::elem ( int x,
int y ) const
private

Definition at line 31 of file schur.cpp.

32{
33 // slow: only used for debugging
34 for (int i = 1; i <= wt; i++)
35 if (xloc[i] == x && yloc[i] == y) return i;
36
37 // otherwise perhaps throw an error
38 fprintf(stderr, "tableau: location (%d,%d) out of range\n", x, y);
39 return 0;
40}
int wt
Definition schur.hpp:49
int * yloc
Definition schur.hpp:54
int * xloc
Definition schur.hpp:52
volatile int x

References wt, x, xloc, and yloc.

Referenced by display().