Type: lib.numpy.conversion.ScalarToArray
Namespace: lib.numpy.conversion
Description
Convert a scalar value to a single-element array. scalar, array, conversion, type
Use cases:
- Prepare scalar inputs for array operations
- Create constant arrays for computations
- Initialize array values in workflows
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| value | (float | int) |
Scalar value to convert to array | 0 |
Outputs
| Output | Type | Description |
|---|---|---|
| output | np_array |
Metadata
Related Nodes
Browse other nodes in the lib.numpy.conversion namespace.