Write value
at (layer
, row
, col
) in a 3D scalar field.
Write value
at (row
, col
) in a 2D scalar field.
Write value
at (col
) in a 1D scalar field.
Write value
to a 0D scalar field.
Set the shape to layers
x rows
x columns
.
Set the shape to rows
x columns
.
Set the shape to columns
.
Set the shape to be 0D.
Set the shape of the scalar field for writing.
Set the shape of the scalar field for writing.
If the field already has a defined shape, this does nothing. Subclasses that allow field shape to be defined must override this method.
The desired shape of the scalar field for writing
The interface for writing a scalar field on the CPU.