DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Square

Declaration: TMatrix.Square (MatRes: TMatrix; Norm: double): boolean;
The method Square calculates the square of the matrix and stores the results in the matrix MatRes which is automatically resized. The parameter Norm determines the normalisation factor which is used to divide the elements of the result matrix. The function returns a TRUE value if the result is valid, a FALSE value indicates that the calculation has been aborted by the user (by means of setting AbortMathProc to TRUE).

Square increments the global variable ProcStat and calls the feedback routine MathFeedBackProc in order to allow feedback to the user during time consuming calculations.