ARTS built-in documentation server

Workspace Method Tensor4SetConstant

Description

Creates a tensor and sets all elements to the specified value.

The size is determined by ncols, nrows etc.

Authors: Claudia Emde

Synopsis

Tensor4SetConstant( out, nbooks, npages, nrows, ncols, value )

Variables

GOUTout(Tensor4)Variable to initialize.
INnbooks(Index)Number of elements in 4th lowest dimension of a Tensor.
INnpages(Index)Number of elements in 3rd lowest dimension of a Tensor.
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)Tensor value.