public final class NonBlockingMatrixUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Matrix1D<T> |
createNonBlockingSparseMatrix1D(long size,
int initialCapacity)
Create and return a new non-blocking sparse 1D matrix with the specified size
and initial capacity.
|
static <T> Matrix2D<T> |
createNonBlockingSparseMatrix2D(long rows,
long columns,
int initialCapacity)
Create and return a new non-blocking sparse 2D matrix with the specified number
of rows and columns and initial capacity.
|
static <T> Matrix3D<T> |
createNonBlockingSparseMatrix3D(long slices,
long rows,
long columns,
int initialCapacity)
Create and return a new non-blocking sparse 3D matrix with the specified number
of slices, rows, and columns, and initial capacity.
|
public static <T> Matrix1D<T> createNonBlockingSparseMatrix1D(long size, int initialCapacity)
T
- element typesize
- size, must be >= 0
initialCapacity
- initial capacity, must be >= 0
public static <T> Matrix2D<T> createNonBlockingSparseMatrix2D(long rows, long columns, int initialCapacity)
T
- element typerows
- rows, must be >= 0
columns
- columns, must be >= 0
initialCapacity
- initial capacity, must be >= 0
public static <T> Matrix3D<T> createNonBlockingSparseMatrix3D(long slices, long rows, long columns, int initialCapacity)
T
- element typeslices
- slices, must be >= 0
rows
- rows, must be >= 0
columns
- columns, must be >= 0
initialCapacity
- initial capacity, must be >= 0
Copyright (c) 2010-2013 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).