public FiniteDiscreteDistribution(
DoubleMatrix values,
DoubleMatrix masses
)
Public Sub New (
values As DoubleMatrix,
masses As DoubleMatrix
)
public:
FiniteDiscreteDistribution(
DoubleMatrix^ values,
DoubleMatrix^ masses
)
new :
values : DoubleMatrix *
masses : DoubleMatrix -> FiniteDiscreteDistribution
ArgumentNullException | values is null. -or- masses is null. |
ArgumentOutOfRangeException | values contains at least two identical entries. -or- masses contains at least an entry which does not belong to the interval [0, 1]. -or- The sum of the entries in masses is not equal to 1. |
ArgumentException | masses has not the same dimensions of Values. |