Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.2/sources/HeuristicLab.ExtLibs/HeuristicLab.LibSVM/1.6.3/LibSVM-1.6.3/SVMExtensions.cs @ 14498

Last change on this file since 14498 was 2645, checked in by mkommend, 15 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.