Statistica Visual Basic Library of Matrix Functions - MatrixFill (Scalar, DestMatrix, DestRow, DestCol, ?NoOfRows, ?NoOfCols)

Parameter

Description

Scalar

value with which to fill matrix

DestMatrix

name of data matrix to be filled (see Arrays in functions)

DestRow

number of first row into which values will be filled

DestCol

number of first column into which values will be filled

?NoOfRows

number of rows to be filled (0 = all remaining rows in matrix)

?NoOfCols

number of columns to be filled (0 = all remaining columns in matrix)

The MatrixFill function will fill the specified number of rows and columns in the specified destination DestMatrix with the specified Scalar value.

Related topics. MatrixSetToZero, MatrixExtract, MatrixSetColumn, MatrixSetDiagonal, MatrixSetRow. For more information on using arrays, see Arrays in functions. For a complete list of matrix functions, see Statistica Visual Basic library of matrix functions.