Tensor7SetConstant
- Workspace.Tensor7SetConstant(self: pyarts.arts._Workspace, output: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Tensor7], nlibraries: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.nlibraries, nvitrines: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.nvitrines, nshelves: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.nshelves, nbooks: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.nbooks, npages: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.npages, nrows: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.nrows, ncols: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = self.ncols, value: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Creates a tensor and sets all elements to the specified value.
The size is determined by
ncols
,nrows
etc.Author(s): Claudia Emde
- Parameters:
output (Tensor7) – Variable to initialize. [OUT]
nlibraries (Index, optional) – Number of elements in 7th lowest dimension of a Tensor. See
nlibraries
, defaults toself.nlibraries
[IN]nvitrines (Index, optional) – Number of elements in 6th lowest dimension of a Tensor. See
nvitrines
, defaults toself.nvitrines
[IN]nshelves (Index, optional) – Number of elements in 5th lowest dimension of a Tensor. See
nshelves
, defaults toself.nshelves
[IN]nbooks (Index, optional) – Number of elements in 4th lowest dimension of a Tensor. See
nbooks
, defaults toself.nbooks
[IN]npages (Index, optional) – Number of elements in 3rd lowest dimension of a Tensor. See
npages
, defaults toself.npages
[IN]nrows (Index, optional) – Number of rows (elements in 2nd lowest dimension) of a Matrix or Tensor. See
nrows
, defaults toself.nrows
[IN]ncols (Index, optional) – Number of columns (elements in lowest dimension) of a Matrix or Tensor. See
ncols
, defaults toself.ncols
[IN]value (Numeric) – Tensor value. [IN]
verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]