ARTS built-in documentation server
Workspace Method MatrixSetConstant
Description
Creates a matrix and sets all elements to the specified value. The size is determined by ncols and nrows.
Authors: Patrick Eriksson
Synopsis
MatrixSetConstant( | out, nrows, ncols, value ) |
Variables
GOUT | out | (Matrix) | Variable to initialize. |
IN | nrows | (Index) | Number of rows (elements in 2nd lowest dimension) of a Matrix or Tensor. |
IN | ncols | (Index) | Number of columns (elements in lowest dimension) of a Matrix or Tensor. |
GIN | value | (Numeric) | Matrix value. |