You are here: Symbol Reference > StatRandom Namespace > Functions > StatRandom.RandomLogistic Function
Stats Master VCL
ContentsIndex
Example

Generate 2000 random numbers by using the logistic distribution with parameters m=3.0 and b=2.4.

Uses MtxExpr, StatRandom;
procedure Example;
  var Res: Vector;
begin
  Res.Size(2000);
  RandomLogistic(3.0, 2.4, Res);
end;
#include "MtxExpr.hpp"
#include "StatRandom.hpp"
void __fastcall Example()
{
  sVector Res;
  Res.Size(2000,false);
  RandomLogLogistic(3.0, 2.4, Res, -1);
}
Copyright (c) 1999-2025 by Dew Research. All rights reserved.