@Deprecated public class LinearViewNDArray extends BaseNDArray
attemptedToFindElementWiseStride, cleanedUp, columns, data, elementWiseStride, firstNonOneStride, isScalar, isVector, isWrapAround, length, linearStride, linearView, log, majorStride, numLeadingOnes, numTrailingOnes, offset, ordering, ref, rows, shape, stride| Constructor and Description |
|---|
LinearViewNDArray(INDArray wrapped)
Deprecated.
Create the linear view
from the given array
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Deprecated.
Cleanup resources
|
protected void |
collectRows(INDArray slice)
Deprecated.
|
DataBuffer |
data()
Deprecated.
Returns a linear double array representation of this ndarray
|
double |
getDouble(int i)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isCleanedUp()
Deprecated.
Returns true if the ndarray has already been freed
|
int |
length()
Deprecated.
Returns the total number of elements in the ndarray
|
INDArray |
linearView()
Deprecated.
Returns a linear view reference of shape
1,length(ndarray)
|
INDArray |
linearViewColumnOrder()
Deprecated.
Returns a linear view reference of shape
1,length(ndarray)
|
int |
majorStride()
Deprecated.
Return the major stride for an ndarray
|
INDArray |
putScalar(int i,
double value)
Deprecated.
Insert the number linearly in to the ndarray
|
void |
resetLinearView()
Deprecated.
Resets the linear view
|
int |
secondaryStride()
Deprecated.
Return the second stride for an ndarray.
|
String |
toString()
Deprecated.
Generate string representation of the matrix.
|
INDArray |
vectorAlongDimension(int index,
int dimension)
Deprecated.
Get the vector along a particular dimension
|
int |
vectorsAlongDimension(int dimension)
Deprecated.
Returns the number of possible vectors for a given dimension
|
add, add, add, add, add, add, addColumnVector, addi, addi, addi, addi, addi, addi, addiColumnVector, addiRowVector, addRowVector, assertColumnVector, assertRowVector, assertSlice, assign, assign, broadcast, checkArrangeArray, checkDimensions, columns, cond, condi, copyRealTo, create, create, create, create, create, create, create, create, create, create, createScalar, createScalarForIndex, cumsum, cumsumi, dimShuffle, distance1, distance2, div, div, div, div, div, div, divColumnVector, divi, divi, divi, divi, divi, divi, diviColumnVector, diviRowVector, divRowVector, doColumnWise, doPermuteSwap, doRowWise, dup, dup, element, elementStride, elementWiseStride, eps, eps, epsi, epsi, eq, eq, eqi, eqi, equals, get, getColumn, getColumns, getDouble, getDouble, getDoubleUnsafe, getFloat, getFloat, getFloat, getInt, getLeadingOnes, getRow, getRows, getScalar, getScalar, getScalar, getStrides, getTrailingOnes, gt, gt, gti, gti, index, init, innerMostStride, isColumnVector, isMatrix, isRowVector, isScalar, isSquare, isValid, isVector, isView, isWrapAround, iterator, linearIndex, lt, lt, lti, lti, 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, permute, prod, prodComplex, prodNumber, put, put, put, put, put, put, putColumn, putRow, 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, repeat, repeat, repmat, reshape, reshape, reshape, reshape, rows, rsub, rsub, rsub, rsub, rsub, rsub, rsubColumnVector, rsubi, rsubi, rsubi, rsubi, rsubi, rsubi, rsubiColumnVector, rsubiRowVector, rsubRowVector, setData, setOrder, setShape, setStride, setWrapAround, shape, size, slice, slice, slices, sliceVectors, squaredDistance, std, stdComplex, 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, varComplex, varNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic LinearViewNDArray(INDArray wrapped)
wrapped - the array to wrapprotected void collectRows(INDArray slice)
public boolean isCleanedUp()
INDArrayisCleanedUp in interface INDArrayisCleanedUp in class BaseNDArraypublic void cleanup()
INDArraycleanup in interface INDArraycleanup in class BaseNDArraypublic void resetLinearView()
INDArrayresetLinearView in interface INDArrayresetLinearView in class BaseNDArraypublic int secondaryStride()
INDArraysecondaryStride in interface INDArraysecondaryStride in class BaseNDArraypublic int majorStride()
INDArraymajorStride in interface INDArraymajorStride in class BaseNDArraypublic INDArray linearView()
BaseNDArraylinearView in interface INDArraylinearView in class BaseNDArraypublic INDArray linearViewColumnOrder()
INDArraylinearViewColumnOrder in interface INDArraylinearViewColumnOrder in class BaseNDArraypublic int vectorsAlongDimension(int dimension)
BaseNDArrayvectorsAlongDimension in interface INDArrayvectorsAlongDimension in class BaseNDArraydimension - the dimension to calculate the number of vectors forpublic INDArray vectorAlongDimension(int index, int dimension)
BaseNDArrayvectorAlongDimension in interface INDArrayvectorAlongDimension in class BaseNDArrayindex - the index of the vector to getdimension - the dimension to get the vector frompublic INDArray putScalar(int i, double value)
INDArrayputScalar in interface INDArrayputScalar in class BaseNDArrayi - the index to insert intovalue - the value to insertpublic DataBuffer data()
INDArraydata in interface INDArraydata in class BaseNDArraypublic int length()
BaseNDArraylength in interface INDArraylength in class BaseNDArraypublic double getDouble(int i)
getDouble in interface INDArraygetDouble in class BaseNDArraypublic String toString()
BaseNDArraytoString in class BaseNDArrayCopyright © 2016. All Rights Reserved.