SciEx.Complex64.Array4 (sci_ex v0.2.0)

4D Array of 64-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.Complex64.Array4{n_dims: term(), resource: term()}

Functions

ones(n1, n2, n3, n4)

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

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

zeros(n1, n2, n3, n4)

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

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