Changeset 15144
- Timestamp:
- 07/06/17 11:16:29 (7 years ago)
- Location:
- stable
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/HeuristicLab.Common/3.3/EnumerableExtensions.cs
r15142 r15144 88 88 } 89 89 90 public static IEnumerable<T> TakeEvery<T>(this IEnumerable<T> xs, int nth) {91 int i = 0;92 foreach (var x in xs) {93 if (i % nth == 0) yield return x;94 i++;95 }96 }97 98 90 /// <summary> 99 91 /// Compute the n-ary cartesian product of arbitrarily many sequences: http://blogs.msdn.com/b/ericlippert/archive/2010/06/28/computing-a-cartesian-product-with-linq.aspx -
stable/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj
r15142 r15144 137 137 <SubType>Code</SubType> 138 138 </Compile> 139 <Compile Include="Converters\Convert.cs" />140 139 <Compile Include="Converters\LinearModelToTreeConverter.cs" /> 141 140 <Compile Include="Converters\TreeSimplifier.cs" />
Note: See TracChangeset
for help on using the changeset viewer.