source:
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/SVMExtensions.cs
@
6829
Last change on this file since 6829 was 4068, checked in by swagner, 14 years ago | |
---|---|
File size: 218 bytes |
Rev | Line | |
---|---|---|
[4068] | 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; | |
[2645] | 8 | } |
[4068] | 9 | } |
[2645] | 10 | } |
Note: See TracBrowser
for help on using the repository browser.