-
public class F64Array.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static F64Array.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final F64Arrayinvoke(Integer shape)Creates a zero-filled flat array of a given shape. final F64Arrayinvoke(Integer size, Function1<Integer, Double> block)Creates a flat array of a given size and fills it using block. final F64Arrayinvoke(Integer numRows, Integer numColumns, Function2<Integer, Integer, Double> block)Creates a matrix with a given number of rows and columns and fills it using block. final F64Arrayinvoke(Integer depth, Integer numRows, Integer numColumns, Function3<Integer, Integer, Integer, Double> block)Creates a 3D array with given dimensions and fills it using block. final F64FlatArrayof(Double first, Double rest)Creates a vector from given elements. final F64Arrayfull(Integer size, Double init)Creates a vector filled with a given init element. final F64Arrayfull(Integer shape, Double init)Creates an array filled with a given init element. final F64Arrayconcatenate(F64Array first, F64Array rest, Integer axis)Joins a sequence of arrays into a single array. -
-
Method Detail
-
invoke
final F64Array invoke(Integer size, Function1<Integer, Double> block)
Creates a flat array of a given size and fills it using block.
-
invoke
final F64Array invoke(Integer numRows, Integer numColumns, Function2<Integer, Integer, Double> block)
Creates a matrix with a given number of rows and columns and fills it using block.
-
invoke
final F64Array invoke(Integer depth, Integer numRows, Integer numColumns, Function3<Integer, Integer, Integer, Double> block)
Creates a 3D array with given dimensions and fills it using block.
-
of
final F64FlatArray of(Double first, Double rest)
Creates a vector from given elements.
-
full
final F64Array full(Integer size, Double init)
Creates a vector filled with a given init element.
-
full
final F64Array full(Integer shape, Double init)
Creates an array filled with a given init element.
Note that init must be a named argument.
-
concatenate
final F64Array concatenate(F64Array first, F64Array rest, Integer axis)
Joins a sequence of arrays into a single array.
-
-
-
-