Hi Eike, hi Daniel,

Eike Rathke schrieb:
Hi Regina,

On Tuesday, 2008-08-05 22:36:56 +0200, Regina Henschel wrote:

Non of the functions that do mathematical calculation is static and they call one another across the files. But as you might have noticed I'm a very beginner and cannot decide yet. I'll come back, when I have learned about "Static method".

Do you need some supporting advice?

Thanks for your care. But I think, it is clear to me now.

Daniel Rentz schrieb:

Are ScInterpreter::GetUpRegIGamma() and ScInterpreter::GetLogBeta() static (A), can they be static (B), or do they actually use members or other non-static functions of ScInterpreter (C)?

(A) remove them from ScInterpreter and make them local functions.
(B) same as (A)
(C) it does not help, BASYM has to be a private member of ScInterpreter.


ScInterpreter::GetUpRegIGamma() cannot become a local function because it needs a private method from ScInterpreter, which is inside interpr3, but GetUpRegIGamma() itself is in interpr6. And the other way round GetUpRegIGamma() is needed for ScInterpreter::GetChiDist which is in interpr3.

I have written BASYM as private member know and technically it works.

kind regards
Regina

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to