public class JCublasNDArray extends BaseNDArray
attemptedToFindElementWiseStride, cleanedUp, columns, data, isMatrix, isScalar, isVector, isWrapAround, length, linearStride, log, numLeadingOnes, numTrailingOnes, rank, rows, shapeInformation
Constructor and Description |
---|
JCublasNDArray() |
JCublasNDArray(DataBuffer buffer) |
JCublasNDArray(DataBuffer data,
int[] shape) |
JCublasNDArray(DataBuffer buffer,
int[] shape,
int offset) |
JCublasNDArray(DataBuffer buffer,
int[] shape,
int[] strides) |
JCublasNDArray(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
JCublasNDArray(DataBuffer buffer,
int[] shape,
int[] stride,
int offset,
char ordering) |
JCublasNDArray(DataBuffer buffer,
int[] shape,
int offset,
char ordering) |
JCublasNDArray(double[][] data) |
JCublasNDArray(double[][] data,
char ordering) |
JCublasNDArray(double[] data,
int[] shape,
char ordering) |
JCublasNDArray(double[] data,
int[] shape,
int[] stride,
int offset) |
JCublasNDArray(double[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
JCublasNDArray(float[] data) |
JCublasNDArray(float[][] floats) |
JCublasNDArray(float[][] data,
char ordering) |
JCublasNDArray(float[] data,
char order) |
JCublasNDArray(float[] data,
int[] shape)
Create this JCublasNDArray with the given data and shape and 0 offset
|
JCublasNDArray(float[] data,
int[] shape,
char ordering)
Create this JCublasNDArray with the given data and shape and 0 offset
|
JCublasNDArray(float[] data,
int[] shape,
int offset) |
JCublasNDArray(float[] data,
int[] shape,
int[] stride) |
JCublasNDArray(float[] data,
int[] shape,
int[] stride,
char ordering) |
JCublasNDArray(float[] data,
int[] shape,
int[] stride,
int offset) |
JCublasNDArray(float[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
JCublasNDArray(float[] data,
int[] shape,
int offset,
char ordering) |
JCublasNDArray(FloatBuffer floatBuffer,
char order) |
JCublasNDArray(int[] shape) |
JCublasNDArray(int[] shape,
char ordering) |
JCublasNDArray(int[] shape,
DataBuffer buffer) |
JCublasNDArray(int[] shape,
int offset) |
JCublasNDArray(int[] shape,
int[] stride)
Create the JCublasNDArray with
the specified shape and stride and an offset of 0
|
JCublasNDArray(int[] shape,
int[] stride,
char ordering)
Create the JCublasNDArray with
the specified shape and stride and an offset of 0
|
JCublasNDArray(int[] shape,
int[] stride,
int offset)
Construct an JCublasNDArray of the specified shape
with an empty data array
|
JCublasNDArray(int[] data,
int[] shape,
int[] strides) |
JCublasNDArray(int[] shape,
int[] stride,
int offset,
char ordering)
Construct an JCublasNDArray of the specified shape
with an empty data array
|
JCublasNDArray(int[] shape,
int[] stride,
int offset,
char ordering,
boolean initialize)
Construct an JCublasNDArray of the specified shape, with optional initialization
|
JCublasNDArray(int[] shape,
int offset,
char ordering) |
JCublasNDArray(int newRows,
int newColumns)
Creates a new n times m DoubleMatrix.
|
JCublasNDArray(int newRows,
int newColumns,
char ordering)
Creates a new n times m DoubleMatrix.
|
JCublasNDArray(JCublasNDArray doubleMatrix) |
JCublasNDArray(List<INDArray> slices,
int[] shape)
Create an JCublasNDArray from the specified slices.
|
JCublasNDArray(List<INDArray> slices,
int[] shape,
char ordering)
Create an JCublasNDArray from the specified slices.
|
JCublasNDArray(List<INDArray> slices,
int[] shape,
int[] stride)
Create an JCublasNDArray from the specified slices.
|
JCublasNDArray(List<INDArray> slices,
int[] shape,
int[] stride,
char ordering)
Create an JCublasNDArray from the specified slices.
|
Modifier and Type | Method and Description |
---|---|
INDArray |
dup() |
INDArray |
dup(char order) |
boolean |
equals(Object o) |
String |
toString()
Generate string representation of the matrix.
|
add, add, add, add, add, add, addColumnVector, addi, addi, addi, addi, addi, addi, addiColumnVector, addiRowVector, addRowVector, assertColumnVector, assertRowVector, assertSlice, assign, assign, broadcast, checkArrangeArray, checkDimensions, cleanup, columns, cond, condi, copyRealTo, create, create, create, create, create, create, create, create, create, create, createScalar, createScalarForIndex, cumsum, cumsumi, data, dimShuffle, distance1, distance2, div, div, div, div, div, div, divColumnVector, divi, divi, divi, divi, divi, divi, diviColumnVector, diviRowVector, divRowVector, doColumnWise, doPermuteSwap, doPermuteSwap, doRowWise, element, elementStride, elementWiseStride, eps, eps, epsi, epsi, eq, eq, eqi, eqi, get, getColumn, getColumns, getDouble, getDouble, getDouble, getDoubleUnsafe, getFloat, getFloat, getFloat, getInt, getLeadingOnes, getRow, getRows, getScalar, getScalar, getScalar, getStrides, getTrailingOnes, gt, gt, gti, gti, index, init, innerMostStride, isCleanedUp, isColumnVector, isMatrix, isRowVector, isScalar, isSquare, isValid, isVector, isView, isWrapAround, iterator, length, lengthLong, linearIndex, linearView, linearViewColumnOrder, lt, lt, lti, lti, majorStride, max, maxComplex, maxNumber, mean, meanComplex, meanNumber, min, minComplex, minNumber, mmul, mmul, mmuli, mmuli, mul, mul, mul, mul, mul, mul, mulColumnVector, muli, muli, muli, muli, muli, muli, muliColumnVector, muliRowVector, mulRowVector, neg, negi, neq, neq, neqi, neqi, newShape, norm1, norm1Complex, norm1Number, norm2, norm2Complex, norm2Number, normmax, normmaxComplex, normmaxNumber, offset, ordering, originalOffset, permute, permutei, prod, prodComplex, prodNumber, put, put, put, put, put, put, putColumn, putRow, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalar, putScalarUnsafe, putSlice, rank, ravel, ravel, rdiv, rdiv, rdiv, rdiv, rdiv, rdiv, rdivColumnVector, rdivi, rdivi, rdivi, rdivi, rdivi, rdivi, rdiviColumnVector, rdiviRowVector, rdivRowVector, read, repeat, repeat, repmat, resetLinearView, reshape, reshape, reshape, reshape, rows, rsub, rsub, rsub, rsub, rsub, rsub, rsubColumnVector, rsubi, rsubi, rsubi, rsubi, rsubi, rsubi, rsubiColumnVector, rsubiRowVector, rsubRowVector, secondaryStride, setData, setOrder, setShape, setStride, setWrapAround, shape, shapeInfo, shapeInfoDataBuffer, shapeInfoToString, size, slice, slice, slices, sliceVectors, squaredDistance, std, std, stdComplex, stdNumber, stdNumber, stride, stride, sub, sub, sub, sub, sub, sub, subArray, subArray, subColumnVector, subi, subi, subi, subi, subi, subi, subiColumnVector, subiRowVector, subRowVector, sum, sumComplex, sumNumber, swapAxes, tensorAlongDimension, tensorssAlongDimension, transpose, transposei, var, var, varComplex, varNumber, vectorAlongDimension, vectorsAlongDimension, write
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public JCublasNDArray(double[][] data)
public JCublasNDArray(double[][] data, char ordering)
public JCublasNDArray(int[] shape, DataBuffer buffer)
public JCublasNDArray(float[] data, int[] shape, char ordering)
data
- the data to useshape
- the shape of the JCublasNDArrayordering
- public JCublasNDArray(float[] data, int[] shape, int offset, char ordering)
data
- the data to useshape
- the shape of the JCublasNDArrayoffset
- the desired offsetordering
- the ordering of the JCublasNDArraypublic JCublasNDArray(int[] shape, int[] stride, int offset, char ordering)
shape
- the shape of the JCublasNDArraystride
- the stride of the JCublasNDArrayoffset
- the desired offsetordering
- the ordering of the JCublasNDArraypublic JCublasNDArray(int[] shape, int[] stride, int offset, char ordering, boolean initialize)
shape
- the shape of the JCublasNDArraystride
- the stride of the JCublasNDArrayoffset
- the desired offsetordering
- the ordering of the JCublasNDArrayinitialize
- Whether to initialize the INDArray. If true: initialize. If false: don't.public JCublasNDArray(int[] shape, int[] stride, char ordering)
shape
- the shape of the JCublasNDArraystride
- the stride of the JCublasNDArrayordering
- the ordering of the JCublasNDArraypublic JCublasNDArray(int[] shape, int offset, char ordering)
public JCublasNDArray(int[] shape)
public JCublasNDArray(int newRows, int newColumns, char ordering)
newRows
- the number of rows (n) of the new matrix.newColumns
- the number of columns (m) of the new matrix.ordering
- public JCublasNDArray(List<INDArray> slices, int[] shape, char ordering)
slices
- the slices to mergeshape
- the shape of the JCublasNDArrayordering
- public JCublasNDArray(List<INDArray> slices, int[] shape, int[] stride, char ordering)
slices
- the slices to mergeshape
- the shape of the JCublasNDArraystride
- ordering
- public JCublasNDArray(float[] data, int[] shape, int[] stride, char ordering)
public JCublasNDArray(float[] data, int[] shape, int[] stride, int offset, char ordering)
public JCublasNDArray(DataBuffer data, int[] shape, int[] stride, int offset)
public JCublasNDArray(int[] data, int[] shape, int[] strides)
public JCublasNDArray(DataBuffer data, int[] shape)
public JCublasNDArray(DataBuffer buffer, int[] shape, int offset)
public JCublasNDArray(float[] data, int[] shape)
data
- the data to useshape
- the shape of the JCublasNDArraypublic JCublasNDArray(float[] data, int[] shape, int offset)
public JCublasNDArray(int[] shape, int[] stride, int offset)
shape
- the shape of the JCublasNDArraystride
- the stride of the JCublasNDArrayoffset
- the desired offsetpublic JCublasNDArray(int[] shape, int[] stride)
shape
- the shape of the JCublasNDArraystride
- the stride of the JCublasNDArraypublic JCublasNDArray(int[] shape, int offset)
public JCublasNDArray(int[] shape, char ordering)
public JCublasNDArray(int newRows, int newColumns)
newRows
- the number of rows (n) of the new matrix.newColumns
- the number of columns (m) of the new matrix.public JCublasNDArray(List<INDArray> slices, int[] shape)
slices
- the slices to mergeshape
- the shape of the JCublasNDArraypublic JCublasNDArray(List<INDArray> slices, int[] shape, int[] stride)
slices
- the slices to mergeshape
- the shape of the JCublasNDArraystride
- public JCublasNDArray(float[] data, int[] shape, int[] stride)
public JCublasNDArray(float[] data, int[] shape, int[] stride, int offset)
public JCublasNDArray(float[] data)
public JCublasNDArray(JCublasNDArray doubleMatrix)
public JCublasNDArray(double[] data, int[] shape, int[] stride, int offset)
public JCublasNDArray(float[][] floats)
public JCublasNDArray(float[][] data, char ordering)
public JCublasNDArray(DataBuffer buffer, int[] shape, int offset, char ordering)
public JCublasNDArray()
public JCublasNDArray(DataBuffer buffer)
public JCublasNDArray(DataBuffer buffer, int[] shape, int[] stride, int offset, char ordering)
public JCublasNDArray(float[] data, char order)
public JCublasNDArray(FloatBuffer floatBuffer, char order)
public JCublasNDArray(DataBuffer buffer, int[] shape, int[] strides)
public JCublasNDArray(double[] data, int[] shape, char ordering)
public JCublasNDArray(double[] data, int[] shape, int[] stride, int offset, char ordering)
public INDArray dup()
dup
in interface INDArray
dup
in class BaseNDArray
public INDArray dup(char order)
dup
in interface INDArray
dup
in class BaseNDArray
public boolean equals(Object o)
equals
in class BaseNDArray
public String toString()
toString
in class BaseNDArray
Copyright © 2016. All Rights Reserved.