/// <summary>
 /// Creates a distribution over strings of length 1 induced by a given distribution over characters.
 /// This method is an alias for <see cref="SequenceDistribution{TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton, TWeightFunction, TWeightFunctionFactory, TThis}.SingleElement(TElementDistribution)"/>.
 /// </summary>
 /// <param name="characterDist">The distribution over characters.</param>
 /// <returns>The created distribution.</returns>
 /// <remarks>
 /// The distribution created by this method can differ from the result of
 /// <see cref="SequenceDistribution{TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton, TWeightFunction, TWeightFunctionFactory, TThis}.Repeat(TThis, int, int?)"/>
 /// with both min and max length set to 1 since the latter always creates a partial uniform distribution.
 /// </remarks>
 public static StringDistribution Char(DiscreteChar characterDist)
 {
     return(StringDistribution.SingleElement(characterDist));
 }
 /// <summary>
 /// Creates a distribution which puts all mass on a string containing only a given character.
 /// This method is an alias for <see cref="SequenceDistribution{TSequence, TElement, TElementDistribution, TSequenceManipulator, TAutomaton, TWeightFunction, TWeightFunctionFactory, TThis}.SingleElement(TElement)"/>.
 /// </summary>
 /// <param name="ch">The character.</param>
 /// <returns>The created distribution.</returns>
 public static StringDistribution Char(char ch)
 {
     return(StringDistribution.SingleElement(ch));
 }