AnantLabs / morelinq

Automatically exported from code.google.com/p/morelinq
Apache License 2.0
0 stars 0 forks source link

converting IEnumerable<TSource> into IEnumerable<IEnumerable<TSource>>? #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi,
How can i convert my Source as IEnumerable<IEnumerable<TSource>>
from IEnumerable<TSource> and pass it to the  

IEnumerable<IEnumerable<T>> Transpose<T>(this IEnumerable<IEnumerable<T>> 
source){}

How to do this.please any help will be appriciated..

Thanks,

Original issue reported on code.google.com by sampath....@gmail.com on 11 Dec 2013 at 10:04

GoogleCodeExporter commented 9 years ago
You have something like a flat sequence of elements that you would like to 
treat as a matrix (sequence of rows, each row is a sequence of columns)? Take a 
look at Batch and Partition, maybe they suit your need.

Original comment by jclud...@gmail.com on 9 Oct 2014 at 7:45