SciEx.Complex32.Array2 (sci_ex v0.2.0)

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

Functions

ones(n1, n2)

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

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

zeros(n1, n2)

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

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