MultiplyElements Method

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image
Multiplies the elements and returns the result.

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

Syntax

C#
public static double MultiplyElements(
	this IEnumerable<double> source
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function MultiplyElements ( _
	source As IEnumerable(Of Double) _
) As Double
Visual C++
[ExtensionAttribute]
public:
static double MultiplyElements(
	IEnumerable<double>^ source
)

Parameters

source
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'Double>)>)>
The source.

Return Value

[Missing <returns> documentation for "M:Common.ExtensionMethods.MultiplyElements(System.Collections.Generic.IEnumerable{System.Double})"]

Usage Note

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

Contracts

Requires
source != null

See Also