Gauss

From SCAR Divi Manual
Revision as of 11:32, 23 September 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function Gauss(const x, Mean, Variance: Extended): Extended; </source> ==Availability== SCAR Divi 3.28 > Current ==Description...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function Gauss(const x, Mean, Variance: Extended): Extended;

Availability

SCAR Divi 3.28 > Current

Description

Returns the corresponding y value for the given x value with a given Mean and Variance from the Gauss function.

Example

begin
  WriteLn(Gauss(0, 0, 0.2));
  WriteLn(Gauss(0, 0, 0.5));
  WriteLn(Gauss(0, 0, 2));
  WriteLn(Gauss(0, 0, 5));
end.

Output:

0,892062058076386
0,564189583547756
0,282094791773878
0,178412411615277

See Also