Public Types | |
enum | TYPE { SOURCE_PARAMETER, NATURAL_PARAMETER, EXPECTATION_PARAMETER } |
Type of the parameters: source parameters, natural parameters, or expectation parameters. More... | |
Public Member Functions | |
Parameter () | |
Class constructor. | |
abstract Parameter | Plus (Parameter q) |
Adds (not in place) the current parameter p to the parameter q. | |
abstract Parameter | Minus (Parameter q) |
Subtracts (not in place) the parameter q to the current parameter p. | |
abstract Parameter | Times (double lambda) |
Multiplies (not in place) the current parameter p by a real number . | |
abstract double | InnerProduct (Parameter q) |
Computes the inner product (real number) between the current parameter p and the parameter q. | |
abstract Parameter | clone () |
Creates and returns a copy of the instance. | |
abstract int | getDimension () |
Returns the dimension of the parameters. | |
Public Attributes | |
TYPE | type |
Type of the parameters. |
jMEF.Parameter.Parameter | ( | ) |
Class constructor.
By default, a parameter object corresponds to source parameters.
abstract Parameter jMEF.Parameter.clone | ( | ) | [pure virtual] |
Creates and returns a copy of the instance.
Implemented in jMEF.PMatrix, jMEF.PVector, and jMEF.PVectorMatrix.
abstract int jMEF.Parameter.getDimension | ( | ) | [pure virtual] |
Returns the dimension of the parameters.
Implemented in jMEF.PMatrix, jMEF.PVector, and jMEF.PVectorMatrix.
abstract double jMEF.Parameter.InnerProduct | ( | Parameter | q | ) | [pure virtual] |
Computes the inner product (real number) between the current parameter p and the parameter q.
q | parameter |
Implemented in jMEF.PMatrix, jMEF.PVector, and jMEF.PVectorMatrix.
Subtracts (not in place) the parameter q to the current parameter p.
q | parameter |
Implemented in jMEF.PMatrix, jMEF.PVector, and jMEF.PVectorMatrix.
Adds (not in place) the current parameter p to the parameter q.
q | parameter |
Implemented in jMEF.PMatrix, jMEF.PVector, and jMEF.PVectorMatrix.
abstract Parameter jMEF.Parameter.Times | ( | double | lambda | ) | [pure virtual] |
Multiplies (not in place) the current parameter p by a real number .
lambda | value |
Implemented in jMEF.PMatrix, jMEF.PVector, and jMEF.PVectorMatrix.
Type of the parameters.