public abstract class BaseComplexNDArray extends BaseNDArray implements IComplexNDArray
columns, data, length, linearView, offset, ordering, rows, shape, stride
Constructor and Description |
---|
BaseComplexNDArray() |
BaseComplexNDArray(DataBuffer data) |
BaseComplexNDArray(DataBuffer data,
int[] shape) |
BaseComplexNDArray(DataBuffer buffer,
int[] shape,
int offset) |
BaseComplexNDArray(DataBuffer data,
int[] shape,
int[] stride) |
BaseComplexNDArray(DataBuffer data,
int[] shape,
int[] stride,
int offset) |
BaseComplexNDArray(DataBuffer buffer,
int[] shape,
int[] stride,
int offset,
char ordering) |
BaseComplexNDArray(DataBuffer buffer,
int[] shape,
int offset,
char ordering) |
BaseComplexNDArray(float[] data) |
BaseComplexNDArray(float[] data,
Character order) |
BaseComplexNDArray(float[] data,
int[] shape) |
BaseComplexNDArray(float[] data,
int[] shape,
char ordering)
Create this ndarray with the given data and shape and 0 offset
|
BaseComplexNDArray(float[] data,
int[] shape,
int offset) |
BaseComplexNDArray(float[] data,
int[] shape,
int[] stride)
Initialize with the given data,shape and stride
|
BaseComplexNDArray(float[] data,
int[] shape,
int[] stride,
char ordering) |
BaseComplexNDArray(float[] data,
int[] shape,
int[] stride,
int offset) |
BaseComplexNDArray(float[] data,
int[] shape,
int[] stride,
int offset,
Character order) |
BaseComplexNDArray(float[] data,
int[] shape,
int offset,
char ordering) |
BaseComplexNDArray(IComplexNumber[] newData,
int[] shape)
Create a complex ndarray with the given complex doubles.
|
BaseComplexNDArray(IComplexNumber[] newData,
int[] shape,
char ordering)
Create a complex ndarray with the given complex doubles.
|
BaseComplexNDArray(IComplexNumber[] newData,
int[] shape,
int[] stride)
Create a complex ndarray with the given complex doubles.
|
BaseComplexNDArray(IComplexNumber[] data,
int[] shape,
int[] stride,
int offset) |
BaseComplexNDArray(IComplexNumber[] data,
int[] shape,
int[] stride,
int offset,
char ordering) |
BaseComplexNDArray(IComplexNumber[] data,
int[] shape,
int offset,
char ordering) |
BaseComplexNDArray(INDArray m)
Construct a complex matrix from a realComponent matrix.
|
BaseComplexNDArray(INDArray m,
char ordering)
Construct a complex matrix from a realComponent matrix.
|
BaseComplexNDArray(INDArray m,
int[] stride)
Create with the specified ndarray as the real component
and the given stride
|
BaseComplexNDArray(INDArray m,
int[] stride,
char ordering)
Initialize the given ndarray as the real component
|
BaseComplexNDArray(int[] shape) |
BaseComplexNDArray(int[] shape,
char ordering) |
BaseComplexNDArray(int[] shape,
int offset) |
BaseComplexNDArray(int[] shape,
int[] stride)
Create the ndarray with
the specified shape and stride and an offset of 0
|
BaseComplexNDArray(int[] shape,
int[] stride,
char ordering)
Create the ndarray with
the specified shape and stride and an offset of 0
|
BaseComplexNDArray(int[] shape,
int[] stride,
int offset)
Construct an ndarray of the specified shape
with an empty data array
|
BaseComplexNDArray(int[] shape,
int[] stride,
int offset,
char ordering)
Construct an ndarray of the specified shape
with an empty data array
|
BaseComplexNDArray(int[] shape,
int offset,
char ordering) |
BaseComplexNDArray(int newRows,
int newColumns)
Creates a new n times m ComplexDoubleMatrix.
|
BaseComplexNDArray(int newRows,
int newColumns,
char ordering)
Creates a new n times m ComplexDoubleMatrix.
|
BaseComplexNDArray(List<IComplexNDArray> slices,
int[] shape)
Create an ndarray from the specified slices
and the given shape
|
BaseComplexNDArray(List<IComplexNDArray> slices,
int[] shape,
char ordering)
Create an ndarray from the specified slices
and the given shape
|
BaseComplexNDArray(List<IComplexNDArray> slices,
int[] shape,
int[] stride)
Create an ndarray from the specified slices
and the given shape
|
BaseComplexNDArray(List<IComplexNDArray> slices,
int[] shape,
int[] stride,
char ordering)
Create an ndarray from the specified slices
and the given shape
|
Modifier and Type | Method and Description |
---|---|
IComplexNDArray |
add(IComplexNumber n) |
IComplexNDArray |
add(IComplexNumber n,
INDArray result) |
IComplexNDArray |
add(INDArray other)
copy addition of two matrices
|
IComplexNDArray |
add(INDArray other,
INDArray result)
copy addition of two matrices
|
IComplexNDArray |
add(Number n)
Scalar addition (cloning)
|
IComplexNDArray |
add(Number n,
INDArray result) |
IComplexNDArray |
addColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
addi(IComplexNumber n) |
IComplexNDArray |
addi(IComplexNumber n,
IComplexNDArray result) |
IComplexNDArray |
addi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
addi(INDArray other)
in place addition of two matrices
|
IComplexNDArray |
addi(INDArray other,
INDArray result)
in place addition of two matrices
|
IComplexNDArray |
addi(Number n)
In place scalar addition
|
IComplexNDArray |
addi(Number n,
INDArray result)
In place addition
|
IComplexNDArray |
addiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
addiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
addRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
assign(IComplexNDArray arr)
Assign all of the elements in the given
ndarray to this ndarray
|
void |
assign(IComplexNumber aDouble) |
INDArray |
assign(INDArray arr)
Assign all of the elements in the given
ndarray to this nedarray
|
IComplexNDArray |
assign(Number value)
Set the value of the ndarray to the specified value
|
int |
blasOffset()
For blas operations, this is the offset / 2
when offset is > 0
|
IComplexNDArray |
broadcast(int[] shape)
Broadcasts this ndarray to be the specified shape
|
void |
checkDimensions(INDArray other)
Validate dimensions are equal
|
IComplexNDArray |
cond(Condition condition)
1 in the ndarray if the element matches
the condition 0 otherwise
|
IComplexNDArray |
condi(Condition condition)
1 in the ndarray if the element matches
the condition 0 otherwise
|
IComplexNDArray |
conj()
Compute complex conj.
|
IComplexNDArray |
conji()
Compute complex conj (in-place).
|
protected void |
copyFromReal(INDArray real) |
protected void |
copyRealTo(INDArray arr) |
IComplexNDArray |
cumsum(int dimension)
Cumulative sum along a dimension (in place)
|
IComplexNDArray |
cumsumi(int dimension)
Cumulative sum along a dimension
|
IComplexNDArray |
dimShuffle(Object[] rearrange,
int[] newOrder,
boolean[] broadCastable)
Dimshuffle: an extension of permute that adds the ability
to broadcast various dimensions.
|
double |
distance1(INDArray other)
Returns the (1-norm) distance.
|
double |
distance2(INDArray other)
Returns the (euclidean) distance.
|
IComplexNDArray |
div(IComplexNumber n) |
IComplexNDArray |
div(IComplexNumber n,
INDArray result) |
IComplexNDArray |
div(INDArray other)
in place (element wise) division of two matrices
|
IComplexNDArray |
div(INDArray other,
INDArray result)
copy (element wise) division of two matrices
|
IComplexNDArray |
div(Number n)
Division by a number
|
IComplexNDArray |
div(Number n,
INDArray result) |
IComplexNDArray |
divColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
divi(IComplexNumber n) |
IComplexNDArray |
divi(IComplexNumber n,
IComplexNDArray result) |
IComplexNDArray |
divi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
divi(INDArray other)
in place (element wise) division of two matrices
|
IComplexNDArray |
divi(INDArray other,
INDArray result)
in place (element wise) division of two matrices
|
IComplexNDArray |
divi(Number n)
In place scalar division
|
IComplexNDArray |
divi(Number n,
INDArray result)
In place division of this ndarray
|
IComplexNDArray |
diviColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
diviRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
divRowVector(INDArray rowVector)
In place addition of a column vector
|
protected IComplexNDArray |
doColumnWise(INDArray columnVector,
char operation)
Do a row wise op (a,s,m,d)
a : add
s : subtract
m : multiply
d : divide
h : reverse subtraction
t : reverse division
|
protected IComplexNDArray |
doRowWise(INDArray rowVector,
char operation)
Do a row wise op (a,s,m,d)
a : add
s : subtract
m : multiply
d : divide
h : reverse subtraction
t : reverse division
|
IComplexNDArray |
dup()
Return a copy of this ndarray
|
Object |
element()
Returns a scalar (individual element)
of a scalar ndarray
|
int[] |
endsForSlices()
Gives the indices for the ending of each slice
|
IComplexNDArray |
eps(IComplexNumber other)
Returns an ndarray with 1 if the element is epsilon equals
|
IComplexNDArray |
eps(INDArray other)
epsilon equals than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
eps(Number other)
Returns an ndarray with 1 if the element is epsilon equals
|
IComplexNDArray |
epsi(IComplexNumber other)
Returns an ndarray with 1 if the element is epsilon equals
|
IComplexNDArray |
epsi(INDArray other)
In place epsilon equals than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
epsi(Number other)
Returns an ndarray with 1 if the element is epsilon equals
|
IComplexNDArray |
eq(IComplexNumber other) |
IComplexNDArray |
eq(INDArray other)
equal than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
eq(Number other)
Returns an ndarray with 1 if the element is less than
the given element 0 other wise
|
IComplexNDArray |
eqi(IComplexNumber other) |
IComplexNDArray |
eqi(INDArray other)
In place equal than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
eqi(Number other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
boolean |
equals(Object o)
Compare two matrices.
|
IComplexNDArray |
get(NDArrayIndex... indexes)
Returns a subset of this array based on the specified
indexes
|
IComplexNDArray |
getColumn(int c)
Get the specified column
|
IComplexNDArray |
getColumns(int[] cindices)
Get whole columns from the passed indices.
|
IComplexNumber |
getComplex(int i) |
IComplexNumber |
getComplex(int i,
IComplexNumber result) |
IComplexNumber |
getComplex(int i,
int j) |
IComplexNumber |
getComplex(int i,
int j,
IComplexNumber result) |
double |
getImag(int i) |
INDArray |
getReal()
Gets the real portion of this complex ndarray
|
double |
getReal(int i) |
IComplexNDArray |
getRow(int r)
Get a copy of a row.
|
IComplexNDArray |
getRows(int[] rindices)
Get whole rows from the passed indices.
|
IComplexNDArray |
getScalar(int... indexes)
Fetch a particular number on a multi dimensional scale.
|
IComplexNDArray |
getScalar(int i)
Returns the element at the specified index
|
IComplexNDArray |
getScalar(int row,
int column)
Returns the element at the specified row/column
This will throw an exception if the
|
IComplexNDArray |
gt(IComplexNumber other) |
IComplexNDArray |
gt(INDArray other)
greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
gt(Number other)
Greater than boolean (copying)(
|
IComplexNDArray |
gti(IComplexNumber other) |
IComplexNDArray |
gti(INDArray other)
In place greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
gti(Number other)
In place greater than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
hermitian()
a Hermitian matrix is a square matrix with complex entries that is equal to its own conjugate transpose
|
INDArray |
imag()
Get imaginary part of the matrix.
|
protected void |
initShape(int[] shape) |
void |
iterateOverDimension(int dimension,
SliceOp op,
boolean modify)
Iterate along a dimension.
|
int |
linearIndex(int i)
Get the linear index of the data in to
the array
|
IComplexNDArray |
linearView()
Returns a linear view reference of shape
1,length(ndarray)
|
IComplexNDArray |
linearViewColumnOrder()
Returns a linear view reference of shape
1,length(ndarray)
|
IComplexNDArray |
lt(IComplexNumber other) |
IComplexNDArray |
lt(INDArray other)
less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
lt(Number other)
Returns an ndarray with 1 if the element is less than
the given element 0 other wise
|
IComplexNDArray |
lti(IComplexNumber other) |
IComplexNDArray |
lti(INDArray other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
IComplexNDArray |
lti(Number other)
In place less than comparison:
If the given number is less than the
comparison number the item is 0 otherwise 1
|
int |
majorStride()
Return the major stride for an ndarray
|
IComplexNumber |
max() |
IComplexNDArray |
max(int dimension)
Returns the overall max of this ndarray
|
IComplexNDArray |
mean(int dimension)
Returns the overall mean of this ndarray
|
IComplexNumber |
min() |
IComplexNDArray |
min(int dimension)
Returns the overall min of this ndarray
|
IComplexNDArray |
mmul(INDArray other)
Perform a copy matrix multiplication
|
IComplexNDArray |
mmul(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
IComplexNDArray |
mmuli(INDArray other)
Perform an copy matrix multiplication
|
IComplexNDArray |
mmuli(INDArray other,
INDArray result)
Perform an copy matrix multiplication
|
IComplexNDArray |
mul(IComplexNumber n) |
IComplexNDArray |
mul(IComplexNumber n,
INDArray result) |
IComplexNDArray |
mul(INDArray other)
copy (element wise) multiplication of two matrices
|
IComplexNDArray |
mul(INDArray other,
INDArray result)
copy (element wise) multiplication of two matrices
|
IComplexNDArray |
mul(Number n)
Scalar multiplication (copy)
|
IComplexNDArray |
mul(Number n,
INDArray result) |
IComplexNDArray |
mulColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
muli(IComplexNumber n) |
IComplexNDArray |
muli(IComplexNumber n,
IComplexNDArray result) |
IComplexNDArray |
muli(IComplexNumber n,
INDArray result) |
IComplexNDArray |
muli(INDArray other)
in place (element wise) multiplication of two matrices
|
IComplexNDArray |
muli(INDArray other,
INDArray result)
in place (element wise) multiplication of two matrices
|
IComplexNDArray |
muli(Number n)
In place scalar multiplication
|
IComplexNDArray |
muli(Number n,
INDArray result)
In place multiplication of this ndarray
|
IComplexNDArray |
muliColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
muliRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
mulRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
neg()
Negate each element.
|
IComplexNDArray |
negi()
Negate each element (in-place).
|
IComplexNDArray |
neq(IComplexNumber other) |
IComplexNDArray |
neq(INDArray other) |
IComplexNDArray |
neq(Number other) |
IComplexNDArray |
neqi(IComplexNumber other) |
IComplexNDArray |
neqi(INDArray other) |
IComplexNDArray |
neqi(Number other) |
protected INDArray |
newShape(int[] newShape,
char ordering) |
IComplexNDArray |
norm1(int dimension)
Returns the norm1 along the specified dimension
|
IComplexNDArray |
norm2(int dimension)
Returns the norm2 along the specified dimension
|
IComplexNDArray |
normmax(int dimension)
Returns the normmax along the specified dimension
|
IComplexNDArray |
permute(int[] rearrange)
See: http://www.mathworks.com/help/matlab/ref/permute.html
|
IComplexNDArray |
prod(int dimension)
Returns the product along a given dimension
|
IComplexNDArray |
put(int[] indexes,
double value) |
IComplexNDArray |
put(int[] indexes,
float value) |
IComplexNDArray |
put(int[] indices,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
put(int i,
IComplexNDArray element)
Inserts the element at the specified index
|
void |
put(int i,
IComplexNumber element) |
IComplexNDArray |
put(int i,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
put(int i,
int j,
INDArray element)
Inserts the element at the specified index
|
IComplexNDArray |
put(int i,
int j,
Number element)
Inserts the element at the specified index
|
IComplexNDArray |
put(NDArrayIndex[] indices,
IComplexNDArray element) |
IComplexNDArray |
put(NDArrayIndex[] indices,
IComplexNumber element) |
IComplexNDArray |
put(NDArrayIndex[] indices,
INDArray element)
Put the elements of the ndarray
in to the specified indices
|
IComplexNDArray |
put(NDArrayIndex[] indices,
Number element)
Put the elements of the ndarray
in to the specified indices
|
IComplexNDArray |
putColumn(int column,
INDArray toPut)
Insert a column in to this array
Will throw an exception if this
ndarray is not a matrix
|
IComplexNDArray |
putImag(int[] indices,
double value) |
IComplexNDArray |
putImag(int[] indices,
float value) |
IComplexNDArray |
putImag(int i,
float v) |
IComplexNDArray |
putImag(int rowIndex,
int columnIndex,
double value) |
IComplexNDArray |
putImag(int rowIndex,
int columnIndex,
float value) |
IComplexNDArray |
putReal(int[] indices,
double value) |
IComplexNDArray |
putReal(int[] indices,
float value) |
IComplexNDArray |
putReal(int i,
float v) |
IComplexNDArray |
putReal(int rowIndex,
int columnIndex,
double value) |
IComplexNDArray |
putReal(int rowIndex,
int columnIndex,
float value) |
IComplexNDArray |
putRow(int row,
INDArray toPut)
Insert a row in to this array
Will throw an exception if this
ndarray is not a matrix
|
INDArray |
putScalar(int[] i,
double value)
Insert the item at the specified indices
|
INDArray |
putScalar(int[] indexes,
IComplexNumber complexNumber) |
IComplexNDArray |
putScalar(int i,
double value)
Insert the number linearly in to the ndarray
|
IComplexNDArray |
putScalar(int i,
IComplexNumber value) |
IComplexNDArray |
putScalar(int j,
int i,
IComplexNumber conji) |
IComplexNDArray |
putSlice(int slice,
IComplexNDArray put)
Assigns the given matrix (put) to the specified slice
|
IComplexNDArray |
putSlice(int slice,
INDArray put)
Assigns the given matrix (put) to the specified slice
|
IComplexNDArray |
ravel()
Flattens the array for linear indexing
|
IComplexNDArray |
rdiv(IComplexNumber n) |
IComplexNDArray |
rdiv(IComplexNumber n,
INDArray result) |
IComplexNDArray |
rdiv(INDArray other)
Reverse division
|
IComplexNDArray |
rdiv(INDArray other,
INDArray result)
Reverse division
|
IComplexNDArray |
rdiv(Number n)
Reverse division
|
IComplexNDArray |
rdiv(Number n,
INDArray result)
Reverse division (number / ndarray)
|
IComplexNDArray |
rdivColumnVector(INDArray columnVector)
In place reverse division of a column vector
|
IComplexNDArray |
rdivi(IComplexNumber n) |
IComplexNDArray |
rdivi(IComplexNumber n,
IComplexNDArray result) |
IComplexNDArray |
rdivi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
rdivi(INDArray other)
Reverse divsion (in place)
|
IComplexNDArray |
rdivi(INDArray other,
INDArray result)
Reverse division (in-place)
|
IComplexNDArray |
rdivi(Number n)
In place reverse division
|
IComplexNDArray |
rdivi(Number n,
INDArray result)
Reverse in place division
|
IComplexNDArray |
rdiviColumnVector(INDArray columnVector)
In place reverse divison of a column vector
|
IComplexNDArray |
rdiviRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
rdivRowVector(INDArray rowVector)
In place addition of a column vector
|
INDArray |
real()
Get realComponent part of the matrix.
|
IComplexNDArray |
reduce(Ops.DimensionOp op,
int dimension)
http://docs.scipy.org/doc/numpy/reference/generated/numpy.ufunc.reduce.html
|
IComplexNDArray |
repmat(int[] shape)
Replicate and tile array to fill out to the given shape
|
IComplexNDArray |
reshape(int[] shape)
Reshape the ndarray in to the specified dimensions,
possible errors being thrown for invalid shapes
|
IComplexNDArray |
reshape(int newRows,
int newColumns)
Reshape the matrix.
|
IComplexNDArray |
rsub(IComplexNumber n) |
IComplexNDArray |
rsub(IComplexNumber n,
INDArray result) |
IComplexNDArray |
rsub(INDArray other) |
IComplexNDArray |
rsub(INDArray other,
INDArray result)
Reverse subtraction
|
IComplexNDArray |
rsub(Number n)
Reverse subtraction with duplicates
|
IComplexNDArray |
rsub(Number n,
INDArray result)
Reverse subtraction
|
IComplexNDArray |
rsubColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
rsubi(IComplexNumber n) |
IComplexNDArray |
rsubi(IComplexNumber n,
IComplexNDArray result) |
IComplexNDArray |
rsubi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
rsubi(INDArray other) |
IComplexNDArray |
rsubi(INDArray other,
INDArray result)
Reverse subtraction (in-place)
|
IComplexNDArray |
rsubi(Number n) |
IComplexNDArray |
rsubi(Number n,
INDArray result)
Reverse in place subtraction
|
IComplexNDArray |
rsubiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
rsubiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
rsubRowVector(INDArray rowVector)
In place addition of a column vector
|
int |
secondaryStride()
Return the second stride for an ndarray.
|
IComplexNDArray |
slice(int slice)
Returns the specified slice of this matrix.
|
IComplexNDArray |
slice(int slice,
int dimension)
Returns the slice of this from the specified dimension
|
double |
squaredDistance(INDArray other)
Returns the squared (Euclidean) distance.
|
IComplexNDArray |
std(int dimension)
Standard deviation of an ndarray along a dimension
|
IComplexNDArray |
sub(IComplexNumber n) |
IComplexNDArray |
sub(IComplexNumber n,
INDArray result) |
IComplexNDArray |
sub(INDArray other)
copy subtraction of two matrices
|
IComplexNDArray |
sub(INDArray other,
INDArray result)
copy subtraction of two matrices
|
IComplexNDArray |
sub(Number n)
Scalar subtraction (copied)
|
IComplexNDArray |
sub(Number n,
INDArray result) |
IComplexNDArray |
subArray(int[] offsets,
int[] shape,
int[] stride) |
IComplexNDArray |
subColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
subi(IComplexNumber n) |
IComplexNDArray |
subi(IComplexNumber n,
IComplexNDArray result) |
IComplexNDArray |
subi(IComplexNumber n,
INDArray result) |
IComplexNDArray |
subi(INDArray other)
in place subtraction of two matrices
|
IComplexNDArray |
subi(INDArray other,
INDArray result)
in place subtraction of two matrices
|
IComplexNDArray |
subi(Number n)
In place scalar subtraction
|
IComplexNDArray |
subi(Number n,
INDArray result)
In place subtraction of this ndarray
|
IComplexNDArray |
subiColumnVector(INDArray columnVector)
In place addition of a column vector
|
IComplexNDArray |
subiRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
subRowVector(INDArray rowVector)
In place addition of a column vector
|
IComplexNDArray |
sum(int dimension)
Returns the sum along the last dimension of this ndarray
|
IComplexNDArray |
swapAxes(int dimension,
int with)
Mainly here for people coming from numpy.
|
IComplexNumber[] |
toArray()
Converts the matrix to a one-dimensional array of doubles.
|
String |
toString()
Generate string representation of the matrix.
|
IComplexNDArray |
transpose()
Return transposed copy of this matrix.
|
IComplexNDArray |
var(int dimension)
Returns the overall variance of this ndarray
|
IComplexNDArray |
vectorAlongDimension(int index,
int dimension)
Get the vector along a particular dimension
|
DimensionSlice |
vectorForDimensionAndOffset(int dimension,
int offset) |
DimensionSlice |
vectorForDimensionAndOffsetPair(int dimension,
int offset,
int currOffsetForSlice) |
add, assertColumnVector, assertRowVector, assertSlice, checkArrangeArray, columns, data, div, doDimensionWise, doPermuteSwap, getDouble, getDouble, getDouble, getElement, getElement, getFloat, getFloat, getFloat, getIndex, getInt, index, isColumnVector, isMatrix, isRowVector, isScalar, isSquare, isVector, iterateOverAllColumns, iterateOverAllRows, length, mul, noCopyReshape, offset, ordering, putScalar, putScalar, putScalar, putScalar, rdiv, reduceVector, rows, rsub, setData, setData, setStride, shape, size, slices, sliceVectors, stride, sub, vectorsAlongDimension
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, div, mul, rdiv, rsub, sub
columns, data, getDouble, getDouble, getDouble, getElement, getElement, getFloat, getFloat, getFloat, getInt, index, isColumnVector, isMatrix, isRowVector, isScalar, isSquare, isVector, iterateOverAllColumns, iterateOverAllRows, length, offset, ordering, putScalar, putScalar, putScalar, putScalar, rows, setData, setData, setStride, shape, size, slices, sliceVectors, stride, vectorsAlongDimension
public BaseComplexNDArray()
public BaseComplexNDArray(DataBuffer data, int[] shape, int[] stride)
public BaseComplexNDArray(float[] data)
public BaseComplexNDArray(DataBuffer buffer, int[] shape, int[] stride, int offset, char ordering)
public BaseComplexNDArray(float[] data, int[] shape, char ordering)
data
- the data to useshape
- the shape of the ndarrayordering
- public BaseComplexNDArray(int[] shape, int offset, char ordering)
public BaseComplexNDArray(int[] shape)
public BaseComplexNDArray(float[] data, int[] shape, int[] stride, char ordering)
public BaseComplexNDArray(int[] shape, char ordering)
public BaseComplexNDArray(INDArray m, int[] stride, char ordering)
m
- the real componentstride
- the stride of the ndarrayordering
- the ordering for the ndarraypublic BaseComplexNDArray(INDArray m, char ordering)
public BaseComplexNDArray(INDArray m)
public BaseComplexNDArray(INDArray m, int[] stride)
m
- the ndarray to use as the stridestride
- the stride of the ndarraypublic BaseComplexNDArray(List<IComplexNDArray> slices, int[] shape, int[] stride)
slices
- the slices of the ndarrayshape
- the final shape of the ndarraystride
- the stride of the ndarraypublic BaseComplexNDArray(List<IComplexNDArray> slices, int[] shape, int[] stride, char ordering)
slices
- the slices of the ndarrayshape
- the final shape of the ndarraystride
- the stride of the ndarrayordering
- the ordering for the ndarraypublic BaseComplexNDArray(List<IComplexNDArray> slices, int[] shape, char ordering)
slices
- the slices of the ndarrayshape
- the final shape of the ndarrayordering
- the ordering of the ndarraypublic BaseComplexNDArray(float[] data, int[] shape, int[] stride, int offset, Character order)
public BaseComplexNDArray(DataBuffer data)
public BaseComplexNDArray(DataBuffer data, int[] shape, int[] stride, int offset)
public BaseComplexNDArray(IComplexNumber[] data, int[] shape, int[] stride, int offset, char ordering)
public BaseComplexNDArray(DataBuffer data, int[] shape)
public BaseComplexNDArray(IComplexNumber[] data, int[] shape, int[] stride, int offset)
public BaseComplexNDArray(IComplexNumber[] data, int[] shape, int offset, char ordering)
public BaseComplexNDArray(DataBuffer buffer, int[] shape, int offset, char ordering)
public BaseComplexNDArray(DataBuffer buffer, int[] shape, int offset)
public BaseComplexNDArray(float[] data, Character order)
public BaseComplexNDArray(List<IComplexNDArray> slices, int[] shape)
slices
- the slices of the ndarrayshape
- the final shape of the ndarraypublic BaseComplexNDArray(IComplexNumber[] newData, int[] shape)
newData
- the new data for this arrayshape
- the shape of the ndarraypublic BaseComplexNDArray(IComplexNumber[] newData, int[] shape, int[] stride)
newData
- the new data for this arrayshape
- the shape of the ndarraypublic BaseComplexNDArray(IComplexNumber[] newData, int[] shape, char ordering)
newData
- the new data for this arrayshape
- the shape of the ndarrayordering
- the ordering for the ndarraypublic BaseComplexNDArray(float[] data, int[] shape, int[] stride)
data
- the data to useshape
- the shape of the ndarraystride
- the stride of the ndarraypublic BaseComplexNDArray(float[] data, int[] shape)
public BaseComplexNDArray(float[] data, int[] shape, int offset, char ordering)
public BaseComplexNDArray(float[] data, int[] shape, int offset)
public BaseComplexNDArray(int[] shape, int[] stride, int offset)
shape
- the shape of the ndarraystride
- the stride of the ndarrayoffset
- the desired offsetpublic BaseComplexNDArray(int[] shape, int[] stride, int offset, char ordering)
shape
- the shape of the ndarraystride
- the stride of the ndarrayoffset
- the desired offsetordering
- the ordering for the ndarraypublic BaseComplexNDArray(int[] shape, int[] stride, char ordering)
shape
- the shape of the ndarraystride
- the stride of the ndarraypublic BaseComplexNDArray(int[] shape, int[] stride)
shape
- the shape of the ndarraystride
- the stride of the ndarraypublic BaseComplexNDArray(int[] shape, int offset)
shape
- offset
- public BaseComplexNDArray(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 BaseComplexNDArray(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
- the ordering of the ndarraypublic BaseComplexNDArray(float[] data, int[] shape, int[] stride, int offset)
protected void copyFromReal(INDArray real)
protected void copyRealTo(INDArray arr)
copyRealTo
in class BaseNDArray
public int blasOffset()
IComplexNDArray
blasOffset
in interface IComplexNDArray
public IComplexNDArray linearViewColumnOrder()
INDArray
linearViewColumnOrder
in interface IComplexNDArray
linearViewColumnOrder
in interface INDArray
linearViewColumnOrder
in class BaseNDArray
public IComplexNDArray linearView()
linearView
in interface IComplexNDArray
linearView
in interface INDArray
linearView
in class BaseNDArray
public IComplexNumber getComplex(int i, IComplexNumber result)
getComplex
in interface IComplexNDArray
public IComplexNumber getComplex(int i, int j, IComplexNumber result)
getComplex
in interface IComplexNDArray
public IComplexNDArray putScalar(int j, int i, IComplexNumber conji)
putScalar
in interface IComplexNDArray
public IComplexNDArray eps(Number other)
eps
in interface IComplexNDArray
eps
in interface INDArray
eps
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray eps(IComplexNumber other)
eps
in interface IComplexNDArray
other
- the number to comparepublic IComplexNDArray epsi(IComplexNumber other)
epsi
in interface IComplexNDArray
other
- the number to comparepublic IComplexNDArray epsi(Number other)
epsi
in interface IComplexNDArray
epsi
in interface INDArray
epsi
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray eps(INDArray other)
eps
in interface IComplexNDArray
eps
in interface INDArray
eps
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray epsi(INDArray other)
epsi
in interface IComplexNDArray
epsi
in interface INDArray
epsi
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray lt(Number other)
INDArray
lt
in interface IComplexNDArray
lt
in interface INDArray
lt
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray lti(Number other)
INDArray
lti
in interface IComplexNDArray
lti
in interface INDArray
lti
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray eq(Number other)
INDArray
eq
in interface IComplexNDArray
eq
in interface INDArray
eq
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray eqi(Number other)
INDArray
eqi
in interface IComplexNDArray
eqi
in interface INDArray
eqi
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray gt(Number other)
INDArray
gt
in interface IComplexNDArray
gt
in interface INDArray
gt
in class BaseNDArray
public IComplexNDArray gti(Number other)
INDArray
gti
in interface IComplexNDArray
gti
in interface INDArray
gti
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray lt(INDArray other)
INDArray
lt
in interface IComplexNDArray
lt
in interface INDArray
lt
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray lti(INDArray other)
INDArray
lti
in interface IComplexNDArray
lti
in interface INDArray
lti
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray eq(INDArray other)
INDArray
eq
in interface IComplexNDArray
eq
in interface INDArray
eq
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray eqi(INDArray other)
INDArray
eqi
in interface IComplexNDArray
eqi
in interface INDArray
eqi
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray neq(INDArray other)
neq
in interface IComplexNDArray
neq
in interface INDArray
neq
in class BaseNDArray
public IComplexNDArray neq(Number other)
neq
in interface IComplexNDArray
neq
in interface INDArray
neq
in class BaseNDArray
public IComplexNDArray neqi(Number other)
neqi
in interface IComplexNDArray
neqi
in interface INDArray
neqi
in class BaseNDArray
public IComplexNDArray neqi(INDArray other)
neqi
in interface IComplexNDArray
neqi
in interface INDArray
neqi
in class BaseNDArray
public IComplexNDArray gt(INDArray other)
INDArray
gt
in interface IComplexNDArray
gt
in interface INDArray
gt
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray gti(INDArray other)
INDArray
gti
in interface IComplexNDArray
gti
in interface INDArray
gti
in class BaseNDArray
other
- the number to comparepublic IComplexNDArray rdiv(Number n, INDArray result)
INDArray
rdiv
in interface IComplexNDArray
rdiv
in interface INDArray
rdiv
in class BaseNDArray
n
- the number to divide bypublic IComplexNDArray rdivi(Number n, INDArray result)
INDArray
rdivi
in interface IComplexNDArray
rdivi
in interface INDArray
rdivi
in class BaseNDArray
n
- the number to divide by byresult
- the result ndarraypublic IComplexNDArray rsub(Number n, INDArray result)
INDArray
rsub
in interface IComplexNDArray
rsub
in interface INDArray
rsub
in class BaseNDArray
n
- the number to subtract byresult
- the result ndarraypublic IComplexNDArray rsubi(Number n, INDArray result)
INDArray
rsubi
in interface IComplexNDArray
rsubi
in interface INDArray
rsubi
in class BaseNDArray
n
- the number to subtract byresult
- the result ndarraypublic IComplexNDArray div(Number n, INDArray result)
div
in interface IComplexNDArray
div
in interface INDArray
div
in class BaseNDArray
public IComplexNDArray divi(Number n, INDArray result)
INDArray
divi
in interface IComplexNDArray
divi
in interface INDArray
divi
in class BaseNDArray
n
- the number to divide byresult
- the result ndarraypublic IComplexNDArray mul(Number n, INDArray result)
mul
in interface IComplexNDArray
mul
in interface INDArray
mul
in class BaseNDArray
public IComplexNDArray muli(Number n, INDArray result)
INDArray
muli
in interface IComplexNDArray
muli
in interface INDArray
muli
in class BaseNDArray
n
- the number to divide byresult
- the result ndarraypublic IComplexNDArray sub(Number n, INDArray result)
sub
in interface IComplexNDArray
sub
in interface INDArray
sub
in class BaseNDArray
public IComplexNDArray subi(Number n, INDArray result)
INDArray
subi
in interface IComplexNDArray
subi
in interface INDArray
subi
in class BaseNDArray
n
- the number to subtract byresult
- the result ndarraypublic IComplexNDArray add(Number n, INDArray result)
add
in interface IComplexNDArray
add
in interface INDArray
add
in class BaseNDArray
public IComplexNDArray addi(Number n, INDArray result)
INDArray
addi
in interface IComplexNDArray
addi
in interface INDArray
addi
in class BaseNDArray
n
- the number to addresult
- the result ndarraypublic IComplexNDArray dup()
INDArray
dup
in interface IComplexNDArray
dup
in interface INDArray
dup
in class BaseNDArray
public IComplexNDArray rsubRowVector(INDArray rowVector)
INDArray
rsubRowVector
in interface IComplexNDArray
rsubRowVector
in interface INDArray
rsubRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray rsubiRowVector(INDArray rowVector)
INDArray
rsubiRowVector
in interface IComplexNDArray
rsubiRowVector
in interface INDArray
rsubiRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray rsubColumnVector(INDArray columnVector)
INDArray
rsubColumnVector
in interface IComplexNDArray
rsubColumnVector
in interface INDArray
rsubColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray rsubiColumnVector(INDArray columnVector)
INDArray
rsubiColumnVector
in interface IComplexNDArray
rsubiColumnVector
in interface INDArray
rsubiColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray rdivRowVector(INDArray rowVector)
INDArray
rdivRowVector
in interface IComplexNDArray
rdivRowVector
in interface INDArray
rdivRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray rdiviRowVector(INDArray rowVector)
INDArray
rdiviRowVector
in interface IComplexNDArray
rdiviRowVector
in interface INDArray
rdiviRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray rdivColumnVector(INDArray columnVector)
INDArray
rdivColumnVector
in interface IComplexNDArray
rdivColumnVector
in interface INDArray
rdivColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray rdiviColumnVector(INDArray columnVector)
INDArray
rdiviColumnVector
in interface IComplexNDArray
rdiviColumnVector
in interface INDArray
rdiviColumnVector
in class BaseNDArray
columnVector
- the column vector to addprotected IComplexNDArray doRowWise(INDArray rowVector, char operation)
BaseNDArray
doRowWise
in class BaseNDArray
rowVector
- the row vectoroperation
- the operationprotected IComplexNDArray doColumnWise(INDArray columnVector, char operation)
BaseNDArray
doColumnWise
in class BaseNDArray
columnVector
- the column vectoroperation
- the operationpublic double squaredDistance(INDArray other)
squaredDistance
in interface INDArray
squaredDistance
in class BaseNDArray
public double distance2(INDArray other)
distance2
in interface INDArray
distance2
in class BaseNDArray
public double distance1(INDArray other)
distance1
in interface INDArray
distance1
in class BaseNDArray
public IComplexNDArray put(NDArrayIndex[] indices, INDArray element)
INDArray
put
in interface INDArray
put
in class BaseNDArray
indices
- the indices to put the ndarray in toelement
- the ndarray to putpublic IComplexNDArray normmax(int dimension)
BaseNDArray
normmax
in interface IComplexNDArray
normmax
in interface INDArray
normmax
in class BaseNDArray
dimension
- the dimension to getScalar the norm1 alongpublic IComplexNDArray prod(int dimension)
BaseNDArray
prod
in interface IComplexNDArray
prod
in interface INDArray
prod
in class BaseNDArray
dimension
- the dimension to getScalar the product alongpublic IComplexNDArray mean(int dimension)
BaseNDArray
mean
in interface IComplexNDArray
mean
in interface INDArray
mean
in class BaseNDArray
dimension
- the dimension to getScalar the mean alongpublic IComplexNDArray var(int dimension)
BaseNDArray
var
in interface IComplexNDArray
var
in interface INDArray
var
in class BaseNDArray
dimension
- the dimension to getScalar the mean alongpublic IComplexNDArray max(int dimension)
BaseNDArray
max
in interface IComplexNDArray
max
in interface INDArray
max
in class BaseNDArray
dimension
- the dimension to getScalar the mean alongpublic IComplexNDArray sum(int dimension)
BaseNDArray
sum
in interface IComplexNDArray
sum
in interface INDArray
sum
in class BaseNDArray
dimension
- the dimension to getScalar the sum alongpublic IComplexNDArray min(int dimension)
BaseNDArray
min
in interface IComplexNDArray
min
in interface INDArray
min
in class BaseNDArray
dimension
- the dimension to getScalar the mean alongpublic IComplexNDArray norm1(int dimension)
BaseNDArray
norm1
in interface IComplexNDArray
norm1
in interface INDArray
norm1
in class BaseNDArray
dimension
- the dimension to getScalar the norm1 alongpublic IComplexNDArray std(int dimension)
BaseNDArray
std
in interface IComplexNDArray
std
in interface INDArray
std
in class BaseNDArray
dimension
- the dimension to getScalar the std alongpublic IComplexNDArray norm2(int dimension)
BaseNDArray
norm2
in interface IComplexNDArray
norm2
in interface INDArray
norm2
in class BaseNDArray
dimension
- the dimension to getScalar the norm2 alongpublic IComplexNDArray put(int i, int j, Number element)
put
in interface INDArray
put
in class BaseNDArray
i
- the row insert intoj
- the column to insert intoelement
- a scalar ndarraypublic IComplexNDArray put(int[] indexes, double value)
put
in interface IComplexNDArray
indexes
- value
- public IComplexNDArray putSlice(int slice, IComplexNDArray put)
putSlice
in interface IComplexNDArray
slice
- the slice to assignput
- the slice to applyTransformToDestinationpublic IComplexNDArray swapAxes(int dimension, int with)
swapAxes
in interface IComplexNDArray
swapAxes
in interface INDArray
swapAxes
in class BaseNDArray
dimension
- the dimension to swapwith
- the one to swap it withpublic IComplexNDArray conji()
conji
in interface IComplexNDArray
public IComplexNDArray hermitian()
IComplexNDArray
hermitian
in interface IComplexNDArray
public IComplexNDArray conj()
conj
in interface IComplexNDArray
public INDArray getReal()
IComplexNDArray
getReal
in interface IComplexNDArray
public double getImag(int i)
getImag
in interface IComplexNDArray
public double getReal(int i)
getReal
in interface IComplexNDArray
public IComplexNDArray putReal(int rowIndex, int columnIndex, double value)
putReal
in interface IComplexNDArray
public int linearIndex(int i)
INDArray
linearIndex
in interface INDArray
linearIndex
in class BaseNDArray
i
- the index to getScalarpublic IComplexNDArray putImag(int rowIndex, int columnIndex, double value)
putImag
in interface IComplexNDArray
public IComplexNDArray putReal(int i, float v)
putReal
in interface IComplexNDArray
public IComplexNDArray putImag(int i, float v)
putImag
in interface IComplexNDArray
public IComplexNumber getComplex(int i)
getComplex
in interface IComplexNDArray
public IComplexNumber getComplex(int i, int j)
getComplex
in interface IComplexNDArray
public INDArray real()
real
in interface IComplexNDArray
public INDArray imag()
imag
in interface IComplexNDArray
public void iterateOverDimension(int dimension, SliceOp op, boolean modify)
iterateOverDimension
in interface IComplexNDArray
iterateOverDimension
in interface INDArray
iterateOverDimension
in class BaseNDArray
dimension
- the dimension to iterate overop
- the operation to applymodify
- whether to modify this array or not based on the resultspublic DimensionSlice vectorForDimensionAndOffsetPair(int dimension, int offset, int currOffsetForSlice)
public DimensionSlice vectorForDimensionAndOffset(int dimension, int offset)
vectorForDimensionAndOffset
in class BaseNDArray
public IComplexNDArray put(int i, IComplexNDArray element)
put
in interface IComplexNDArray
i
- the index insert intoelement
- a scalar ndarraypublic IComplexNDArray getScalar(int... indexes)
getScalar
in interface IComplexNDArray
getScalar
in interface INDArray
getScalar
in class BaseNDArray
indexes
- the indexes to getFromOrigin a number frompublic void checkDimensions(INDArray other)
checkDimensions
in interface IComplexNDArray
checkDimensions
in interface INDArray
checkDimensions
in class BaseNDArray
other
- the other ndarray to comparepublic int[] endsForSlices()
endsForSlices
in interface IComplexNDArray
endsForSlices
in interface INDArray
endsForSlices
in class BaseNDArray
public IComplexNDArray reduce(Ops.DimensionOp op, int dimension)
reduce
in interface IComplexNDArray
reduce
in interface INDArray
reduce
in class BaseNDArray
op
- the operation to dodimension
- the dimension to return frompublic IComplexNDArray putSlice(int slice, INDArray put)
putSlice
in interface IComplexNDArray
putSlice
in interface INDArray
putSlice
in class BaseNDArray
slice
- the slice to assignput
- the slice to putpublic IComplexNDArray subArray(int[] offsets, int[] shape, int[] stride)
subArray
in interface INDArray
subArray
in class BaseNDArray
public int majorStride()
INDArray
majorStride
in interface INDArray
majorStride
in class BaseNDArray
public IComplexNDArray put(int[] indices, INDArray element)
put
in interface IComplexNDArray
put
in interface INDArray
put
in class BaseNDArray
indices
- the indices to insert intoelement
- a scalar ndarraypublic IComplexNDArray put(int i, int j, INDArray element)
put
in interface IComplexNDArray
put
in interface INDArray
put
in class BaseNDArray
i
- the row insert intoj
- the column to insert intoelement
- a scalar ndarraypublic IComplexNDArray slice(int slice)
slice
in interface IComplexNDArray
slice
in interface INDArray
slice
in class BaseNDArray
slice
- the slice to returnpublic IComplexNDArray slice(int slice, int dimension)
slice
in interface IComplexNDArray
slice
in interface INDArray
slice
in class BaseNDArray
slice
- the dimension to return fromdimension
- the dimension of the slice to returnprotected void initShape(int[] shape)
initShape
in class BaseNDArray
protected INDArray newShape(int[] newShape, char ordering)
newShape
in class BaseNDArray
public IComplexNDArray repmat(int[] shape)
repmat
in interface IComplexNDArray
repmat
in interface INDArray
repmat
in class BaseNDArray
shape
- the new shape of this ndarraypublic IComplexNDArray assign(IComplexNDArray arr)
assign
in interface IComplexNDArray
arr
- the elements to assignpublic void assign(IComplexNumber aDouble)
assign
in interface IComplexNDArray
public IComplexNDArray getRows(int[] rindices)
getRows
in interface IComplexNDArray
getRows
in interface INDArray
getRows
in class BaseNDArray
rindices
- public IComplexNDArray put(NDArrayIndex[] indices, IComplexNumber element)
put
in interface IComplexNDArray
public IComplexNDArray put(NDArrayIndex[] indices, IComplexNDArray element)
put
in interface IComplexNDArray
public IComplexNDArray put(NDArrayIndex[] indices, Number element)
INDArray
put
in interface IComplexNDArray
put
in interface INDArray
put
in class BaseNDArray
indices
- the indices to put the ndarray in toelement
- the ndarray to putpublic IComplexNDArray putScalar(int i, IComplexNumber value)
putScalar
in interface IComplexNDArray
public IComplexNDArray vectorAlongDimension(int index, int dimension)
vectorAlongDimension
in interface IComplexNDArray
vectorAlongDimension
in interface INDArray
vectorAlongDimension
in class BaseNDArray
index
- the index of the vector to getScalardimension
- the dimension to getScalar the vector frompublic IComplexNDArray cumsumi(int dimension)
cumsumi
in interface IComplexNDArray
cumsumi
in interface INDArray
cumsumi
in class BaseNDArray
dimension
- the dimension to perform cumulative sum alongpublic IComplexNDArray dimShuffle(Object[] rearrange, int[] newOrder, boolean[] broadCastable)
dimShuffle
in interface IComplexNDArray
dimShuffle
in interface INDArray
dimShuffle
in class BaseNDArray
rearrange
- the dimensions to swap tonewOrder
- the new order (think permute)broadCastable
- (whether the dimension is broadcastable) (must be same length as new order)public IComplexNDArray cumsum(int dimension)
cumsum
in interface IComplexNDArray
cumsum
in interface INDArray
cumsum
in class BaseNDArray
dimension
- the dimension to perform cumulative sum alongpublic INDArray assign(INDArray arr)
assign
in interface INDArray
assign
in class BaseNDArray
arr
- the elements to assignpublic IComplexNDArray putScalar(int i, double value)
INDArray
putScalar
in interface IComplexNDArray
putScalar
in interface INDArray
putScalar
in class BaseNDArray
i
- the index to insert intovalue
- the value to insertpublic INDArray putScalar(int[] i, double value)
INDArray
putScalar
in interface INDArray
putScalar
in class BaseNDArray
i
- the indices to insert atvalue
- the number to insertpublic INDArray putScalar(int[] indexes, IComplexNumber complexNumber)
putScalar
in interface IComplexNDArray
public IComplexNDArray neg()
neg
in interface IComplexNDArray
neg
in interface INDArray
neg
in class BaseNDArray
public IComplexNDArray negi()
negi
in interface IComplexNDArray
negi
in interface INDArray
negi
in class BaseNDArray
public IComplexNDArray rdiv(Number n)
INDArray
rdiv
in interface IComplexNDArray
rdiv
in interface INDArray
rdiv
in class BaseNDArray
public IComplexNDArray rdivi(Number n)
INDArray
rdivi
in interface IComplexNDArray
rdivi
in interface INDArray
rdivi
in class BaseNDArray
public IComplexNDArray rsub(Number n)
INDArray
rsub
in interface IComplexNDArray
rsub
in interface INDArray
rsub
in class BaseNDArray
public IComplexNDArray rsubi(Number n)
rsubi
in interface IComplexNDArray
rsubi
in interface INDArray
rsubi
in class BaseNDArray
public IComplexNDArray div(Number n)
INDArray
div
in interface IComplexNDArray
div
in interface INDArray
div
in class BaseNDArray
public IComplexNDArray divi(Number n)
INDArray
divi
in interface IComplexNDArray
divi
in interface INDArray
divi
in class BaseNDArray
public IComplexNDArray mul(Number n)
INDArray
mul
in interface IComplexNDArray
mul
in interface INDArray
mul
in class BaseNDArray
n
- the number to multiply bypublic IComplexNDArray muli(Number n)
INDArray
muli
in interface IComplexNDArray
muli
in interface INDArray
muli
in class BaseNDArray
public IComplexNDArray sub(Number n)
INDArray
sub
in interface IComplexNDArray
sub
in interface INDArray
sub
in class BaseNDArray
n
- the number to subtract bypublic IComplexNDArray subi(Number n)
INDArray
subi
in interface IComplexNDArray
subi
in interface INDArray
subi
in class BaseNDArray
public IComplexNDArray add(Number n)
INDArray
add
in interface IComplexNDArray
add
in interface INDArray
add
in class BaseNDArray
n
- the number to addpublic IComplexNDArray addi(Number n)
INDArray
addi
in interface IComplexNDArray
addi
in interface INDArray
addi
in class BaseNDArray
public IComplexNDArray get(NDArrayIndex... indexes)
get
in interface IComplexNDArray
get
in interface INDArray
get
in class BaseNDArray
indexes
- the indexes in to the arraypublic IComplexNDArray cond(Condition condition)
INDArray
cond
in interface IComplexNDArray
cond
in interface INDArray
cond
in class BaseNDArray
condition
- the condition to be fulfilledpublic IComplexNDArray condi(Condition condition)
INDArray
condi
in interface IComplexNDArray
condi
in interface INDArray
condi
in class BaseNDArray
condition
- the condition to be fulfilledpublic IComplexNDArray getColumns(int[] cindices)
getColumns
in interface IComplexNDArray
getColumns
in interface INDArray
getColumns
in class BaseNDArray
cindices
- public IComplexNDArray putRow(int row, INDArray toPut)
putRow
in interface IComplexNDArray
putRow
in interface INDArray
putRow
in class BaseNDArray
row
- the row insert intotoPut
- the row to insertpublic IComplexNDArray putColumn(int column, INDArray toPut)
putColumn
in interface IComplexNDArray
putColumn
in interface INDArray
putColumn
in class BaseNDArray
column
- the column to inserttoPut
- the array to putpublic IComplexNDArray getScalar(int row, int column)
getScalar
in interface IComplexNDArray
getScalar
in interface INDArray
getScalar
in class BaseNDArray
row
- the row of the element to returncolumn
- the row of the element to returnpublic IComplexNDArray getScalar(int i)
getScalar
in interface IComplexNDArray
getScalar
in interface INDArray
getScalar
in class BaseNDArray
i
- the index of the element to returnpublic IComplexNDArray put(int i, INDArray element)
put
in interface IComplexNDArray
put
in interface INDArray
put
in class BaseNDArray
i
- the index insert intoelement
- a scalar ndarraypublic void put(int i, IComplexNumber element)
public IComplexNDArray diviColumnVector(INDArray columnVector)
diviColumnVector
in interface IComplexNDArray
diviColumnVector
in interface INDArray
diviColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray divColumnVector(INDArray columnVector)
divColumnVector
in interface IComplexNDArray
divColumnVector
in interface INDArray
divColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray diviRowVector(INDArray rowVector)
diviRowVector
in interface IComplexNDArray
diviRowVector
in interface INDArray
diviRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray divRowVector(INDArray rowVector)
divRowVector
in interface IComplexNDArray
divRowVector
in interface INDArray
divRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray muliColumnVector(INDArray columnVector)
muliColumnVector
in interface IComplexNDArray
muliColumnVector
in interface INDArray
muliColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray mulColumnVector(INDArray columnVector)
mulColumnVector
in interface IComplexNDArray
mulColumnVector
in interface INDArray
mulColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray muliRowVector(INDArray rowVector)
muliRowVector
in interface IComplexNDArray
muliRowVector
in interface INDArray
muliRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray mulRowVector(INDArray rowVector)
mulRowVector
in interface IComplexNDArray
mulRowVector
in interface INDArray
mulRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray subiColumnVector(INDArray columnVector)
subiColumnVector
in interface IComplexNDArray
subiColumnVector
in interface INDArray
subiColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray subColumnVector(INDArray columnVector)
subColumnVector
in interface IComplexNDArray
subColumnVector
in interface INDArray
subColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray subiRowVector(INDArray rowVector)
subiRowVector
in interface IComplexNDArray
subiRowVector
in interface INDArray
subiRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray subRowVector(INDArray rowVector)
subRowVector
in interface IComplexNDArray
subRowVector
in interface INDArray
subRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray addiColumnVector(INDArray columnVector)
addiColumnVector
in interface IComplexNDArray
addiColumnVector
in interface INDArray
addiColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray addColumnVector(INDArray columnVector)
addColumnVector
in interface IComplexNDArray
addColumnVector
in interface INDArray
addColumnVector
in class BaseNDArray
columnVector
- the column vector to addpublic IComplexNDArray addiRowVector(INDArray rowVector)
addiRowVector
in interface IComplexNDArray
addiRowVector
in interface INDArray
addiRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray addRowVector(INDArray rowVector)
addRowVector
in interface IComplexNDArray
addRowVector
in interface INDArray
addRowVector
in class BaseNDArray
rowVector
- the column vector to addpublic IComplexNDArray mmul(INDArray other)
mmul
in interface IComplexNDArray
mmul
in interface INDArray
mmul
in class BaseNDArray
other
- the other matrix to perform matrix multiply withpublic IComplexNDArray mmul(INDArray other, INDArray result)
mmul
in interface IComplexNDArray
mmul
in interface INDArray
mmul
in class BaseNDArray
other
- the other matrix to perform matrix multiply withresult
- the result ndarraypublic IComplexNDArray div(INDArray other)
div
in interface IComplexNDArray
div
in interface INDArray
div
in class BaseNDArray
other
- the second ndarray to dividepublic IComplexNDArray div(INDArray other, INDArray result)
div
in interface IComplexNDArray
div
in interface INDArray
div
in class BaseNDArray
other
- the second ndarray to divideresult
- the result ndarraypublic IComplexNDArray mul(INDArray other)
mul
in interface IComplexNDArray
mul
in interface INDArray
mul
in class BaseNDArray
other
- the second ndarray to multiplypublic IComplexNDArray mul(INDArray other, INDArray result)
mul
in interface IComplexNDArray
mul
in interface INDArray
mul
in class BaseNDArray
other
- the second ndarray to multiplyresult
- the result ndarraypublic IComplexNDArray sub(INDArray other)
sub
in interface IComplexNDArray
sub
in interface INDArray
sub
in class BaseNDArray
other
- the second ndarray to subtractpublic IComplexNDArray sub(INDArray other, INDArray result)
sub
in interface IComplexNDArray
sub
in interface INDArray
sub
in class BaseNDArray
other
- the second ndarray to subtractresult
- the result ndarraypublic IComplexNDArray add(INDArray other)
add
in interface IComplexNDArray
add
in interface INDArray
add
in class BaseNDArray
other
- the second ndarray to addpublic IComplexNDArray add(INDArray other, INDArray result)
add
in interface IComplexNDArray
add
in interface INDArray
add
in class BaseNDArray
other
- the second ndarray to addresult
- the result ndarraypublic IComplexNDArray mmuli(INDArray other)
mmuli
in interface IComplexNDArray
mmuli
in interface INDArray
mmuli
in class BaseNDArray
other
- the other matrix to perform matrix multiply withpublic IComplexNDArray mmuli(INDArray other, INDArray result)
mmuli
in interface IComplexNDArray
mmuli
in interface INDArray
mmuli
in class BaseNDArray
other
- the other matrix to perform matrix multiply withresult
- the result ndarraypublic int secondaryStride()
INDArray
secondaryStride
in interface INDArray
secondaryStride
in class BaseNDArray
public IComplexNDArray divi(INDArray other)
divi
in interface IComplexNDArray
divi
in interface INDArray
divi
in class BaseNDArray
other
- the second ndarray to dividepublic IComplexNDArray divi(INDArray other, INDArray result)
divi
in interface IComplexNDArray
divi
in interface INDArray
divi
in class BaseNDArray
other
- the second ndarray to divideresult
- the result ndarraypublic IComplexNDArray muli(INDArray other)
muli
in interface IComplexNDArray
muli
in interface INDArray
muli
in class BaseNDArray
other
- the second ndarray to multiplypublic IComplexNDArray muli(INDArray other, INDArray result)
muli
in interface IComplexNDArray
muli
in interface INDArray
muli
in class BaseNDArray
other
- the second ndarray to multiplyresult
- the result ndarraypublic IComplexNDArray subi(INDArray other)
subi
in interface IComplexNDArray
subi
in interface INDArray
subi
in class BaseNDArray
other
- the second ndarray to subtractpublic IComplexNDArray subi(INDArray other, INDArray result)
subi
in interface IComplexNDArray
subi
in interface INDArray
subi
in class BaseNDArray
other
- the second ndarray to subtractresult
- the result ndarraypublic IComplexNDArray addi(INDArray other)
addi
in interface IComplexNDArray
addi
in interface INDArray
addi
in class BaseNDArray
other
- the second ndarray to addpublic IComplexNDArray addi(INDArray other, INDArray result)
addi
in interface IComplexNDArray
addi
in interface INDArray
addi
in class BaseNDArray
other
- the second ndarray to addresult
- the result ndarraypublic IComplexNDArray rdiv(IComplexNumber n, INDArray result)
rdiv
in interface IComplexNDArray
public IComplexNDArray rdivi(IComplexNumber n, INDArray result)
rdivi
in interface IComplexNDArray
public IComplexNDArray rsub(IComplexNumber n, INDArray result)
rsub
in interface IComplexNDArray
public IComplexNDArray rsubi(IComplexNumber n, INDArray result)
rsubi
in interface IComplexNDArray
public IComplexNDArray div(IComplexNumber n, INDArray result)
div
in interface IComplexNDArray
public IComplexNDArray divi(IComplexNumber n, INDArray result)
divi
in interface IComplexNDArray
public IComplexNDArray mul(IComplexNumber n, INDArray result)
mul
in interface IComplexNDArray
public IComplexNDArray muli(IComplexNumber n, INDArray result)
muli
in interface IComplexNDArray
public IComplexNDArray sub(IComplexNumber n, INDArray result)
sub
in interface IComplexNDArray
public IComplexNDArray subi(IComplexNumber n, INDArray result)
subi
in interface IComplexNDArray
public IComplexNDArray add(IComplexNumber n, INDArray result)
add
in interface IComplexNDArray
public IComplexNDArray addi(IComplexNumber n, INDArray result)
addi
in interface IComplexNDArray
public IComplexNDArray rdiv(IComplexNumber n)
rdiv
in interface IComplexNDArray
rdiv
in interface INDArray
rdiv
in class BaseNDArray
public IComplexNDArray rdivi(IComplexNumber n)
rdivi
in interface IComplexNDArray
rdivi
in interface INDArray
rdivi
in class BaseNDArray
public IComplexNDArray rsub(IComplexNumber n)
rsub
in interface IComplexNDArray
rsub
in interface INDArray
rsub
in class BaseNDArray
public IComplexNDArray rsubi(IComplexNumber n)
rsubi
in interface IComplexNDArray
rsubi
in interface INDArray
rsubi
in class BaseNDArray
public IComplexNDArray div(IComplexNumber n)
div
in interface IComplexNDArray
div
in interface INDArray
div
in class BaseNDArray
public IComplexNDArray divi(IComplexNumber n)
divi
in interface IComplexNDArray
divi
in interface INDArray
divi
in class BaseNDArray
public IComplexNDArray mul(IComplexNumber n)
mul
in interface IComplexNDArray
mul
in interface INDArray
mul
in class BaseNDArray
public IComplexNDArray muli(IComplexNumber n)
muli
in interface IComplexNDArray
muli
in interface INDArray
muli
in class BaseNDArray
public IComplexNDArray sub(IComplexNumber n)
sub
in interface IComplexNDArray
sub
in interface INDArray
sub
in class BaseNDArray
public IComplexNDArray subi(IComplexNumber n)
subi
in interface IComplexNDArray
subi
in interface INDArray
subi
in class BaseNDArray
public IComplexNDArray add(IComplexNumber n)
add
in interface IComplexNDArray
add
in interface INDArray
add
in class BaseNDArray
public IComplexNDArray addi(IComplexNumber n)
addi
in interface IComplexNDArray
addi
in interface INDArray
addi
in class BaseNDArray
public IComplexNDArray putReal(int rowIndex, int columnIndex, float value)
putReal
in interface IComplexNDArray
public IComplexNDArray putReal(int[] indices, float value)
putReal
in interface IComplexNDArray
public IComplexNDArray putImag(int[] indices, float value)
putImag
in interface IComplexNDArray
public IComplexNDArray putReal(int[] indices, double value)
putReal
in interface IComplexNDArray
public IComplexNDArray putImag(int[] indices, double value)
putImag
in interface IComplexNDArray
public IComplexNDArray putImag(int rowIndex, int columnIndex, float value)
putImag
in interface IComplexNDArray
public IComplexNDArray put(int[] indexes, float value)
put
in interface IComplexNDArray
public IComplexNDArray neqi(IComplexNumber other)
neqi
in interface IComplexNDArray
public IComplexNDArray neq(IComplexNumber other)
neq
in interface IComplexNDArray
public IComplexNDArray lt(IComplexNumber other)
lt
in interface IComplexNDArray
public IComplexNDArray lti(IComplexNumber other)
lti
in interface IComplexNDArray
public IComplexNDArray eq(IComplexNumber other)
eq
in interface IComplexNDArray
public IComplexNDArray eqi(IComplexNumber other)
eqi
in interface IComplexNDArray
public IComplexNDArray gt(IComplexNumber other)
gt
in interface IComplexNDArray
public IComplexNDArray gti(IComplexNumber other)
gti
in interface IComplexNDArray
public IComplexNDArray transpose()
transpose
in interface IComplexNDArray
transpose
in interface INDArray
transpose
in class BaseNDArray
public IComplexNDArray addi(IComplexNumber n, IComplexNDArray result)
addi
in interface IComplexNDArray
addi
in interface INDArray
addi
in class BaseNDArray
public IComplexNDArray subi(IComplexNumber n, IComplexNDArray result)
subi
in interface IComplexNDArray
subi
in interface INDArray
subi
in class BaseNDArray
public IComplexNDArray muli(IComplexNumber n, IComplexNDArray result)
muli
in interface IComplexNDArray
muli
in interface INDArray
muli
in class BaseNDArray
public IComplexNDArray divi(IComplexNumber n, IComplexNDArray result)
divi
in interface IComplexNDArray
divi
in interface INDArray
divi
in class BaseNDArray
public IComplexNDArray rsubi(IComplexNumber n, IComplexNDArray result)
rsubi
in interface IComplexNDArray
rsubi
in interface INDArray
rsubi
in class BaseNDArray
public IComplexNDArray rdivi(IComplexNumber n, IComplexNDArray result)
rdivi
in interface IComplexNDArray
rdivi
in interface INDArray
rdivi
in class BaseNDArray
public IComplexNDArray reshape(int[] shape)
reshape
in interface IComplexNDArray
reshape
in interface INDArray
reshape
in class BaseNDArray
shape
- public IComplexNDArray assign(Number value)
assign
in interface IComplexNDArray
assign
in interface INDArray
assign
in class BaseNDArray
value
- the value to assignpublic IComplexNDArray rdiv(INDArray other)
rdiv
in interface IComplexNDArray
rdiv
in interface INDArray
rdiv
in class BaseNDArray
other
- the matrix to divide frompublic IComplexNDArray rdivi(INDArray other)
rdivi
in interface IComplexNDArray
rdivi
in interface INDArray
rdivi
in class BaseNDArray
other
- public IComplexNDArray rdiv(INDArray other, INDArray result)
rdiv
in interface IComplexNDArray
rdiv
in interface INDArray
rdiv
in class BaseNDArray
other
- the matrix to subtract fromresult
- the result ndarraypublic IComplexNDArray rdivi(INDArray other, INDArray result)
rdivi
in interface IComplexNDArray
rdivi
in interface INDArray
rdivi
in class BaseNDArray
other
- the other ndarray to subtractresult
- the result ndarraypublic IComplexNDArray rsub(INDArray other, INDArray result)
rsub
in interface IComplexNDArray
rsub
in interface INDArray
rsub
in class BaseNDArray
other
- the matrix to subtract fromresult
- the result ndarraypublic IComplexNDArray rsub(INDArray other)
rsub
in interface IComplexNDArray
rsub
in interface INDArray
rsub
in class BaseNDArray
other
- public IComplexNDArray rsubi(INDArray other)
rsubi
in interface IComplexNDArray
rsubi
in interface INDArray
rsubi
in class BaseNDArray
other
- public IComplexNDArray rsubi(INDArray other, INDArray result)
rsubi
in interface IComplexNDArray
rsubi
in interface INDArray
rsubi
in class BaseNDArray
other
- the other ndarray to subtractresult
- the result ndarraypublic IComplexNumber max()
public IComplexNumber min()
public IComplexNumber[] toArray()
toArray
in interface IComplexNDArray
public IComplexNDArray reshape(int newRows, int newColumns)
reshape
in interface IComplexNDArray
reshape
in interface INDArray
reshape
in class BaseNDArray
newRows
- newColumns
- public IComplexNDArray getColumn(int c)
getColumn
in interface IComplexNDArray
getColumn
in interface INDArray
getColumn
in class BaseNDArray
c
- public IComplexNDArray getRow(int r)
getRow
in interface IComplexNDArray
getRow
in interface INDArray
getRow
in class BaseNDArray
r
- public boolean equals(Object o)
equals
in class BaseNDArray
o
- public IComplexNDArray broadcast(int[] shape)
broadcast
in interface IComplexNDArray
broadcast
in interface INDArray
broadcast
in class BaseNDArray
shape
- the new shape of this ndarraypublic Object element()
element
in interface INDArray
element
in class BaseNDArray
public IComplexNDArray permute(int[] rearrange)
permute
in interface IComplexNDArray
permute
in interface INDArray
permute
in class BaseNDArray
rearrange
- the dimensions to swap topublic IComplexNDArray ravel()
ravel
in interface IComplexNDArray
ravel
in interface INDArray
ravel
in class BaseNDArray
public String toString()
toString
in class BaseNDArray
Copyright © 2014. All Rights Reserved.