Exemple #1
0
 public bool Equals(UniformPMF <T>?other) => other is not null && items.Equals(other.items);
Exemple #2
0
 /// <summary> Create a <see cref="UniformPMF{T}"/> from two equally typed <see cref="UniformPMF{T}"/>s </summary>
 /// <param name="left">The left <see cref="UniformPMF{T}"/></param>
 /// <param name="right">The right <see cref="UniformPMF{T}"/></param>
 public UniformPMF(UniformPMF <T> left, UniformPMF <T> right)
 {
     items = left.items.Concat(right.items).ToArray();
 }