LINQ Extensions Library
A library of LINQ extensions for statistical analysis, sequence generation and manipulation, pattern detection, pivot transformation and more.
New to release 1.0.4.2:
Custom Sort:New OrderBy/ThenBy extensions designed to sort on demand when multiple sort levels are requested.
In addition, the new sort extensions allow for using custom sort algorithms that can take advantage of particular scenarios: if the source array is somewhat ordered Merge sort might be more efficient. Overall speed improvements measure of up to 50% gain!
Supported sort algorithms:
- Quick
- Heap
- Merge
- Bubble
- Insert
- Shell
- Select
New to release 1.0.3.0:
- Combinatronics:
- Combinations (unique)
- Combinations (with repetition)
- Permutations (unique)
- Permutations (with repetition)
- Convert jagged arrays to fixed multidimensional arrays
- Convert fixed multidimensional arrays to jagged arrays
- ElementAtMax
- ElementAtMin
- ElementAtAverage
- Rotate
- Flip
- Resize (while maintaing and scaling the original content)
- Split
- Slice
- Fuse
- Replace
- Enumerate any array
- Convert enumerable to multi-dimensional arrays
The align functionality can be used as the base for utilities such as file compare or any other type of sequence analysis.
The
pivot (cross tab) functionality transforms collections of objects with a collection property (sub collection) into a new collection of objects with a field per instance of the sub collection.
The LINQ extension library is a collection of extensions written in C# that help in common programming tasks related to arrays, collections and any other type of enumerable.
The library is organized in the following sections:
Other Operators:
Extensive unit testing is included for all functionality.
You can
download LinqLib right from codeplex or for easy setup and VS integration, use NuGet:

The truth table feture was recently moved to the
.Net Assist Project.
New to release 1.0.2.6:
Align and Match extension