Table of Contents


NAME

latinhypercube - latin hypercube design (Decida Procedure)

USAGE

          latinhypercube ndiv nind Experiments

ARGUMENTS

ndiv number of divisions of range of independent variable
nind number of independent variables
Experiments two-dimensional array to be populated with normalized parameter settings for each experiment. First index is experiment index, second is parameter index

RESULTS

Populates Experiments with parameter settings.
Returns number of experiments, or zero if ndiv or nind < 1.

EXAMPLE-CALL

             randomize
             set NIND 2
             set NEXP [latinhypercube 100 $NIND EXPT]
             for {set i 1} {$i<=$NEXP} {incr i} {
               set line {}
               for {set j 1} {$j<=$NIND} {incr j} {
                 lappend line $EXPT($i,$j)
               }
               echo [join $line]
             }

AUTHOR

Richard Booth

Table of Contents