Matrix function ( CategoricalDistribution arg0 ) { double [ ] loc0 = arg0 . getValues ( ) ; return new Matrix ( loc0 , loc0 . length ) ; }
convert a categorical distribution into a column vector in matrix form . concode_field_sep Map<Object,Matrix> sensorModel concode_elem_sep FiniteDomain stateVariableDomain concode_elem_sep Matrix prior concode_elem_sep RandomVariable stateVariable concode_elem_sep Matrix transitionModel concode_field_sep Matrix getEvidence concode_elem_sep Matrix getTransitionModel concode_elem_sep Map<Object,Matrix> getSensorModel concode_elem_sep Matrix createUnitMessage concode_elem_sep Matrix normalize concode_elem_sep Matrix getPrior concode_elem_sep RandomVariable getStateVariable