public class PartialDerivatives
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static PartialDerivatives |
OF_CONSTANT |
Constructor and Description |
---|
PartialDerivatives(long id,
DoubleTensor derivativeWithRespectTo) |
PartialDerivatives(java.util.Map<java.lang.Long,DoubleTensor> derivativeWithRespectTo) |
Modifier and Type | Method and Description |
---|---|
PartialDerivatives |
add(PartialDerivatives toAdd) |
java.util.Map<java.lang.Long,DoubleTensor> |
asMap() |
PartialDerivatives |
clone() |
PartialDerivatives |
divideBy(double divisor) |
PartialDerivatives |
divideBy(DoubleTensor divisor) |
boolean |
isEmpty() |
PartialDerivatives |
multiplyBy(double multiplier) |
PartialDerivatives |
multiplyBy(DoubleTensor multiplier) |
PartialDerivatives |
powerTo(double power) |
void |
putWithRespectTo(long id,
DoubleTensor value) |
PartialDerivatives |
subtract(PartialDerivatives toSubtract) |
DoubleTensor |
withRespectTo(long id) |
DoubleTensor |
withRespectTo(Vertex vertex) |
static PartialDerivatives |
withRespectToSelf(long withRespectTo,
int[] shape) |
public static PartialDerivatives OF_CONSTANT
public PartialDerivatives(long id, DoubleTensor derivativeWithRespectTo)
public PartialDerivatives(java.util.Map<java.lang.Long,DoubleTensor> derivativeWithRespectTo)
public static PartialDerivatives withRespectToSelf(long withRespectTo, int[] shape)
public DoubleTensor withRespectTo(Vertex vertex)
public DoubleTensor withRespectTo(long id)
public boolean isEmpty()
public java.util.Map<java.lang.Long,DoubleTensor> asMap()
public void putWithRespectTo(long id, DoubleTensor value)
public PartialDerivatives add(PartialDerivatives toAdd)
public PartialDerivatives subtract(PartialDerivatives toSubtract)
public PartialDerivatives multiplyBy(DoubleTensor multiplier)
public PartialDerivatives multiplyBy(double multiplier)
public PartialDerivatives divideBy(DoubleTensor divisor)
public PartialDerivatives divideBy(double divisor)
public PartialDerivatives powerTo(double power)
public PartialDerivatives clone()
clone
in class java.lang.Object