BlackWaspTM

This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

<< Previous | 1 | 2 | 3 | 4 | 5 | Next >> |
A LINQ Style Cumulative Moving Average OperatorA LINQ Style Cumulative Moving Average Operator
When working with series of numeric data that include large fluctuations, it can be difficult to spot trends. One way of processing such a series to make it easier is to apply a cumulative moving average. This article describes a LINQ style extension method to calculate such an average.
A LINQ Style Simple Moving Average OperatorA LINQ Style Simple Moving Average Operator
Raw data series with extreme peaks and troughs can be difficult to interpret. One way to remove sudden spikes is by applying a simple moving average calculation. This article describes a simple moving average extension method with a LINQ style.
A LINQ Style Operator to Find Items with Distinct PropertiesA LINQ Style Operator to Find Items with Distinct Properties
Language-Integrated Query's (LINQ) Distinct operator removes duplicates from a sequence but does not allow a lambda expression to be used when determining if an item is unique. This article describes a custom extension method for this purpose.
Performing Cross Joins with LINQ to ObjectsPerforming Cross Joins with LINQ to Objects
A cross join, also known as a Cartesian product, joins two sequences of values to create a new collection where every possible combined pair is represented. When using Language-Integrated Query (LINQ), cross joins can replace nested loops.
LINQ Style Append and Prepend OperatorsLINQ Style Append and Prepend Operators
Integrated Query (LINQ) includes a standard query operator to concatenate two sequences of the same type, but nothing to append or prepend a single item to a collection. However, these useful methods are simple to create.
A LINQ Style Operator to Set the Length of a SequenceA LINQ Style Operator to Set the Length of a Sequence
Sometimes it is necessary to modify the length of a sequence of values to achieve a fixed length. This may require that values at the end of the sequence are omitted or that new elements are added to achieve the desired length.
LINQ Style Variance and Standard Deviation OperatorsLINQ Style Variance and Standard Deviation Operators
In statistics, the variance and standard deviation for a set of data indicate how spread out the individual values are. Small values indicate that the elements of a set are close to the average value, whereas larger values suggest a greater spread.
A LINQ Style Partition OperatorA LINQ Style Partition Operator
Sometimes a sequence of values needs to be split into partitions, batches or chunks. This article describes an extension method that performs such an operation, accepting a collection of any type and returning a set of sequences from its contents.
A LINQ Style Replace OperatorA LINQ Style Replace Operator
It can be useful to search a sequence of items for a specific value or object and replace all matching instances with a new value. Language-Integrated Query (LINQ) does not provide a standard query operator for this purpose but creating one is simple.
Retrieving Items from the End of a SequenceRetrieving Items from the End of a Sequence
Language-Integrated Query (LINQ) provides the Take partitioning operator that extracts items from the start of any sequence. No similar operator is provided to retrieve the items from the end of a sequence. This article describes such a method.
<< Previous | 1 | 2 | 3 | 4 | 5 | Next >> |