Example #1
0
        public static Streamable <T> Min <T>(this Streamable <T> source)
            where T : IComparable <T>
        {
            var streamable = new MinImpl <T>();

            source.Subscribe(streamable);
            return(streamable);
        }
Example #2
0
 /// <summary>
 /// Minimum of two
 /// </summary>
 /// <param name="module1">First Module</param>
 /// <param name="module2">Second Module</param>
 /// <returns>Minimum Module</returns>
 public static NoiseModule Min(NoiseModule module1, NoiseModule module2)
 {
     return(MinImpl.ValueOf(module1, module2));
 }