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

GOUTout(Matrix)Variable to initialize.
INnrows(Index)Number of rows (elements in 2nd lowest dimension) of a Matrix or Tensor.
INncols(Index)Number of columns (elements in lowest dimension) of a Matrix or Tensor.
GINvalue(Numeric)Matrix value.