public class Dot extends BaseAccumulation
currentComplexResult, currentResult, initial, initialComplex, otherAccum, otherAccumComplex
extraArgs, n, numProcessed, passThrough, x, y, z
Constructor and Description |
---|
Dot() |
Dot(INDArray x) |
Dot(INDArray x,
INDArray y) |
Dot(INDArray x,
INDArray y,
INDArray z,
int n) |
Dot(INDArray x,
INDArray y,
int n) |
Modifier and Type | Method and Description |
---|---|
String |
name()
The name of this operation
|
double |
op(double origin)
Transform an individual element
|
double |
op(double origin,
double other)
Pairwise op (applicable with an individual element in y)
|
float |
op(float origin)
Transform an individual element
|
float |
op(float origin,
float other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin)
Transform an individual element
|
IComplexNumber |
op(IComplexNumber origin,
double other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin,
float other)
Pairwise op (applicable with an individual element in y)
|
IComplexNumber |
op(IComplexNumber origin,
IComplexNumber other)
Pairwise op (applicable with an individual element in y)
|
Op |
opForDimension(int index,
int... dimension)
A copy of this operation for a particular dimension of the input
|
Op |
opForDimension(int index,
int dimension)
A copy of this operation for a particular dimension of the input
|
void |
update(IComplexNumber result)
Update the current result to be this result
|
void |
update(Number result)
Update the current result to be this result
|
currentResult, currentResultComplex, init, numProcessed, otherAccum, otherAccumComplex, setCurrentResult, setCurrentResultComplex, zero, zeroComplex
ensureProperVectors, exec, exec, extraArgs, isPassThrough, n, setX, setY, setZ, toString, x, y, z
public Dot()
public Dot(INDArray x)
public String name()
Op
public Op opForDimension(int index, int dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic Op opForDimension(int index, int... dimension)
Op
index
- the index of the op to iterate overdimension
- the dimension to ge the input forpublic IComplexNumber op(IComplexNumber origin, double other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic IComplexNumber op(IComplexNumber origin, float other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic IComplexNumber op(IComplexNumber origin, IComplexNumber other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic float op(float origin, float other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic double op(double origin, double other)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin numberother
- the other numberpublic double op(double origin)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin elementpublic float op(float origin)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin elementpublic IComplexNumber op(IComplexNumber origin)
Op
op
in interface Op
op
in class BaseAccumulation
origin
- the origin elementpublic void update(Number result)
Accumulation
result
- the resultpublic void update(IComplexNumber result)
Accumulation
result
- the resultCopyright © 2015. All Rights Reserved.