fields.mixins.base.DFieldCoreMixin.full_like#
- classmethod DFieldCoreMixin.full_like(other: Type[_SupDFieldCore], *args, **kwargs) _SupDFieldCore [source]#
Create a full-valued component with the same grid, axes, and element shape as another.
- Parameters:
other (
DenseField
) – The reference component whose layout is used.*args – Forwarded to the
full()
constructor.**kwargs – Forwarded to the
full()
constructor.
- Returns:
A new component with the same layout as other and filled with a constant value.
- Return type: