SciEx.Complex64.Array5 (sci_ex v0.2.0)

5D 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.Array5{n_dims: term(), resource: term()}

Functions

ones(n1, n2, n3, n4, n5)

@spec ones(pos_integer(), 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, n5)

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

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