Last change
on this file since 3580 was
2645,
checked in by mkommend, 15 years ago
|
extracted external libraries and adapted dependent plugins (ticket #837)
|
File size:
353 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 |
|
---|
6 | namespace SVM
|
---|
7 | {
|
---|
8 | internal static class SVMExtensions
|
---|
9 | {
|
---|
10 | public static void SwapIndex<T>(this T[] list, int i, int j)
|
---|
11 | {
|
---|
12 | T tmp = list[i];
|
---|
13 | list[i] = list[j];
|
---|
14 | list[j] = tmp;
|
---|
15 | }
|
---|
16 | }
|
---|
17 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.