Page 1 of 1

GaussJordanElimination()

Posted: 2018-04-02T14:04:53-07:00
by snibgo
I use GaussJordanElimination() in matrix.c in my process module col2mat, which finds the colour matrix to make one image look like another.

However, this doesn't compile under v7.0.7-28 because GaussJordanElimination() has been made a private function.

Can it be made public again?

Re: GaussJordanElimination()

Posted: 2018-04-03T05:37:35-07:00
by magick
IMv7 has a vast amount of optimizations over IMv6. One was reducing namespace pollution by eliminating one-off methods by making them private or static. Our preference would be to leave GaussJordanElimination() private and instead instruct you to clone the method to your col2mat module and conditionally compile if you detect you are using IMv7.