I have the following code:
uses
Classes, SysUtils, f, numericalutilities, math;
[...]
type
TSCAM = class(TObject)
protected
firstAs, firstThetas : Array[0..1000] of Array [1..100] of Real;
[...]
Procedure TSCAM.CalculateFirstMeanAndVariance();
var
parameterCounter : Integer;
begin
for parameterCounter := 0 to ParametersHighestIndex do
begin
AVariance[parameterCounter] := Variance(@firstAs[parameterCounter][1],100);
// ThetaVariance[parameterCounter] := Variance(@firstThetas[parameterCounter][1],BurntInNumber);
end;
end;
and I get the message from the compiler "Error: Can't determine which overloaded function to call" referring to the function Variance, from the math unit.
But I do everything on the same only computer I installed Lazarus 1.8.2 on. Why These Problems ?
In "About Lazarus" it reads :
Version :1.8.2
[...]
x86_64-win64-win32/win64
I have Windows 7.