SciEx.Complex32.Array1 (sci_ex v0.2.0)

1D Array of 32-bit floating point numbers

Summary

Functions

Creates an array of ones (1.0) with the given dimensions.

Creates an array of zeros (0.0) with the given dimensions.

Types

t()

@type t() :: %SciEx.Complex32.Array1{n_dims: term(), resource: term()}

Functions

ones(n1)

@spec ones(pos_integer()) :: t()

Creates an array of ones (1.0) with the given dimensions.

zeros(n1)

@spec zeros(pos_integer()) :: t()

Creates an array of zeros (0.0) with the given dimensions.