Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/SVMExtensions.cs @ 2645

Last change on this file since 2645 was 2645, checked in by mkommend, 14 years ago

extracted external libraries and adapted dependent plugins (ticket #837)

File size: 353 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace 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.