You are here: Symbol Reference > Statistics Namespace > Functions > Statistics.FullFactDesign Function
Stats Master VCL
ContentsIndex
PreviousUpNext
Statistics.FullFactDesign Function

Performs Mixed-Level Full Factorial Design.

Pascal
procedure FullFactDesign(const UniqueLevels: TVec; const aResult: TMtx); overload;

The UniqueLevels vector stores the number of unique settings for each column. UniqueLevels values must be integers, greater than 1. The results (factors) are stored in Result matrix. Size and Complex properties of Result matrix are adjusted automatically.

var tmpVec: Vector;
  ResMtx: Matrix;
begin
  tmpVec.SetIt(false,[2,3,2]);
  FullFactDesign(tmpVec,ResMtx);
end;
#include "MtxExpr.hpp"
#include "Statistics.hpp"
void __fastcall Example()
{
  sMatrix m;
  sVector tmpVec;
  tmpVec.SetIt(false,OPENARRAY(double,(2,3,2)));
  FullFactDesign(tmpVec,m);
}
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!