@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, varNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public LinearViewNDArray(INDArray wrapped)
wrapped
- the array to wrapprotected void collectRows(INDArray slice)
public boolean isCleanedUp()
INDArray
isCleanedUp
in interface INDArray
isCleanedUp
in class BaseNDArray
public void cleanup()
INDArray
cleanup
in interface INDArray
cleanup
in class BaseNDArray
public void resetLinearView()
INDArray
resetLinearView
in interface INDArray
resetLinearView
in class BaseNDArray
public int secondaryStride()
INDArray
secondaryStride
in interface INDArray
secondaryStride
in class BaseNDArray
public int majorStride()
INDArray
majorStride
in interface INDArray
majorStride
in class BaseNDArray
public INDArray linearView()
BaseNDArray
linearView
in interface INDArray
linearView
in class BaseNDArray
public INDArray linearViewColumnOrder()
INDArray
linearViewColumnOrder
in interface INDArray
linearViewColumnOrder
in class BaseNDArray
public int vectorsAlongDimension(int dimension)
BaseNDArray
vectorsAlongDimension
in interface INDArray
vectorsAlongDimension
in class BaseNDArray
dimension
- the dimension to calculate the number of vectors forpublic INDArray vectorAlongDimension(int index, int dimension)
BaseNDArray
vectorAlongDimension
in interface INDArray
vectorAlongDimension
in class BaseNDArray
index
- the index of the vector to getdimension
- the dimension to get the vector frompublic INDArray putScalar(int i, double value)
INDArray
putScalar
in interface INDArray
putScalar
in class BaseNDArray
i
- the index to insert intovalue
- the value to insertpublic DataBuffer data()
INDArray
data
in interface INDArray
data
in class BaseNDArray
public int length()
BaseNDArray
length
in interface INDArray
length
in class BaseNDArray
public double getDouble(int i)
getDouble
in interface INDArray
getDouble
in class BaseNDArray
public String toString()
BaseNDArray
toString
in class BaseNDArray
Copyright © 2016. All Rights Reserved.