In class Threshold :
in Main Class:
Note: only part of the code which is neccessary for my problem is given above
Now the problem is when i call one.getPolynomialCoefficents i got one 2d array of elements 0.
What i want to take is the content of 2d array which is generated in this part of the code :
Should anyone tell me what i need to do to get back the content of 2D array after i call method getPolynomialCoefficents
barlet south wrote: This solution does not solve my problem . I still got one 2d array with all its elements zero. The problem is i think to the variable scope but on the other hand i use keyword this . I choose byte because i am working on GF(256) from -128 to 127 thats why
This is the only place where you assign to any array element, otherwise, they're initialized to zero.
Suitable for rectangular arrays only.
Knute Snortum wrote:Without the full code it's hard to debug.
I also think what you have shown us is pretty messy. I suggest putting this code aside temporarily and work on a program that initializes an array, prints it, passes it, and prints it again. Maybe that would give you some insights in to how to clean up your code.