source:
branches/ParameterBinding/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/SVMExtensions.cs
@
9282
Last change on this file since 9282 was 4068, checked in by swagner, 14 years ago | |
---|---|
File size: 218 bytes |
Line | |
---|---|
1 | |
2 | namespace SVM { |
3 | internal static class SVMExtensions { |
4 | public static void SwapIndex<T>(this T[] list, int i, int j) { |
5 | T tmp = list[i]; |
6 | list[i] = list[j]; |
7 | list[j] = tmp; |
8 | } |
9 | } |
10 | } |
Note: See TracBrowser
for help on using the repository browser.