public static class EF_DynamicBayesianNetwork.DynamiceBNCompoundVector extends Object implements SufficientStatistics, MomentParameters, NaturalParameters
SufficientStatistics
, MomentParameters
, and NaturalParameters
,
and it handles some utility methods of compound parameter vector for EF_DynamicBayesianNetwork.Constructor and Description |
---|
DynamiceBNCompoundVector(int totalVectorSize1) |
DynamiceBNCompoundVector(Vector vectorTime0_1,
Vector vectorTimeT_1) |
Modifier and Type | Method and Description |
---|---|
void |
copy(EF_DynamicBayesianNetwork.DynamiceBNCompoundVector vector) |
void |
copy(Vector vector)
Copies the input source Vector to this Vector.
|
void |
divideBy(double val)
Updates the values of this Vector via dividing its initial values by an input
double value. |
double |
dotProduct(EF_DynamicBayesianNetwork.DynamiceBNCompoundVector vec) |
double |
dotProduct(Vector vec)
Returns the dot product of this Vector and an input vector, defined as
the sumNonStateless of the pairwise products of the values of the two vectors.
|
double |
get(int i)
Returns the value of the element in a given position i.
|
double |
getIndicatorTime0() |
double |
getIndicatorTimeT() |
Vector |
getVectorTime0() |
Vector |
getVectorTimeT() |
void |
set(int i,
double val)
Sets the value of the element in a given position i to the input
double value. |
void |
setIndicatorTime0(double indicatorTime0) |
void |
setIndicatorTimeT(double indicatorTimeT) |
void |
setVectorTime0(Vector vectorTime0) |
void |
setVectorTimeT(Vector vectorTimeT) |
int |
size()
Returns the size.
|
void |
sum(EF_DynamicBayesianNetwork.DynamiceBNCompoundVector vector) |
void |
sum(Vector vector)
Updates the values of this Vector as a sumNonStateless of its initial values and the input vector values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
sumVectorNonStateless
equalsVector, multiplyBy, output, substract, sum, sumConstant, sumVector
public double getIndicatorTime0()
public void setIndicatorTime0(double indicatorTime0)
public double getIndicatorTimeT()
public void setIndicatorTimeT(double indicatorTimeT)
public Vector getVectorTime0()
public void setVectorTime0(Vector vectorTime0)
public Vector getVectorTimeT()
public void setVectorTimeT(Vector vectorTimeT)
public double get(int i)
Vector
public void set(int i, double val)
Vector
double
value.public int size()
Vector
public void sum(Vector vector)
Vector
public void copy(Vector vector)
Vector
public void divideBy(double val)
Vector
double
value.public double dotProduct(Vector vec)
Vector
dotProduct
in interface Vector
vec
- an input vector.public double dotProduct(EF_DynamicBayesianNetwork.DynamiceBNCompoundVector vec)
public void copy(EF_DynamicBayesianNetwork.DynamiceBNCompoundVector vector)
public void sum(EF_DynamicBayesianNetwork.DynamiceBNCompoundVector vector)
Copyright © 2017. All rights reserved.