Creates a new factor containing the values of the product between this factor and a constant value.
Creates a new factor containing the values of the product between this factor and a constant value. This is: phi * c
The constant value to multiply, greater than zero.
The product of this factor and the constant.
Creates a new factor containing the values of the product between this factor and the given factor.
Creates a new factor containing the values of the product between this factor and the given factor. That is: phi * psi The scope of the returned factor is the union of scopes.
The product of this factor and the given.
Creates a new factor containing the values of the division between this factor and a constant value.
Creates a new factor containing the values of the division between this factor and a constant value. This is: phi / c that is computed as phi * (1 / c)
The constant value to multiply, greater than zero.
The division of this factor and the given constant.
Creates a new factor containing the values of the division between this factor and the given factor.
Creates a new factor containing the values of the division between this factor and the given factor. That is: phi / psi That is computed as phi * ( 1 / psi) The scope of the returned factor is the union of scopes.
The division of this factor and the given.
Creates a new factor that is contains the same values and scope that this.
Creates a new factor that is contains the same values and scope that this.
A copy of this factor.
Creates a new factor that has the values inverted.
Creates a new factor that has the values inverted. The rule 1/0 := 0 applies. This is: 1 / phi
The inverse of the factor
Creates a new factor with as scope the given variables.
Creates a new factor with as scope the given variables. The values of the new factor is the marginalization via summation, also called summed-out. This is sum_{variables}(phi)
Variables to get as marginal.
A factor marginalized over the given variables.
Creates a new factor with as scope the scope of the factor minus the given variables.
Creates a new factor with as scope the scope of the factor minus the given variables. The values of the new factor is the marginalization via summation. This is sum_{scope - variables}(phi)
Variables to be marginalized.
A factor with the given variables marginalized.
Creates a new factor with as scope the given variables.
Creates a new factor with as scope the given variables. The values of the new factor is the marginalization via maximization. This is max_{variables}(phi)
Variables to get as max marginal.
A factor max marginalized over the given variables.
Creates a new factor with as scope the scope of the factor minus the given variables.
Creates a new factor with as scope the scope of the factor minus the given variables. The values of the new factor is the marginalization via maximization. This is max{scope - variables}(phi)
Variables to be max marginalized.
A factor with the given variables max marginalized.
Creates a new factor with the values divided by z value.
Creates a new factor with the values divided by z value. This is: phi / z. The z value of the returned factor is 1.
The factor normalized.
The scope of the factor.
The scope of the factor.
The scope of the factor.
Returns the summation of all values.
Returns the summation of all values. Often named as z value or partition function. This is sum_{scope}(phi)
The summation of all values.