CartesianProduct(T) Method

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Cartesians the product.

Namespace: Common
Assembly: Optimization.Framework (in Optimization.Framework.dll) Version: 0.3.1036.0

Syntax

C#
public static IEnumerable<IEnumerable<T>> CartesianProduct<T>(
	this IEnumerable<IEnumerable<T>> sequences
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function CartesianProduct(Of T) ( _
	sequences As IEnumerable(Of IEnumerable(Of T)) _
) As IEnumerable(Of IEnumerable(Of T))
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
static IEnumerable<IEnumerable<T>^>^ CartesianProduct(
	IEnumerable<IEnumerable<T>^>^ sequences
)

Parameters

sequences
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'IEnumerable<(Of <(<'T>)>)>>)>)>
The sequences.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Common.ExtensionMethods.CartesianProduct``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{``0}})"]

Return Value

[Missing <returns> documentation for "M:Common.ExtensionMethods.CartesianProduct``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{``0}})"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'IEnumerable<(Of <(<'T>)>)>>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also