Class XEnumerableBigDecimal
LINQ methods for IEnumerable{BigDecimal}.
Inheritance
System.Object
XEnumerableBigDecimal
Assembly: Galaxon.Numerics.BigDecimal.dll
Syntax
public static class XEnumerableBigDecimal : object
Methods
Average(IEnumerable<BigDecimal>)
Given a collection of BigDecimal values, get the average.
Declaration
public static BigDecimal Average(this IEnumerable<BigDecimal> source)
Parameters
| Type |
Name |
Description |
| IEnumerable<BigDecimal> |
source |
|
Returns
GeometricMean(IEnumerable<BigDecimal>)
Given a collection of BigDecimal values, get the geometric mean.
Declaration
public static BigDecimal GeometricMean(this IEnumerable<BigDecimal> source)
Parameters
| Type |
Name |
Description |
| IEnumerable<BigDecimal> |
source |
|
Returns
Product(IEnumerable<BigDecimal>)
Given a collection of BigDecimal values, get the product of the values.
Declaration
public static BigDecimal Product(this IEnumerable<BigDecimal> source)
Parameters
| Type |
Name |
Description |
| IEnumerable<BigDecimal> |
source |
|
Returns
Sum(IEnumerable<BigDecimal>)
Given a collection of BigDecimal values, get the sum of the values.
Declaration
public static BigDecimal Sum(this IEnumerable<BigDecimal> source)
Parameters
| Type |
Name |
Description |
| IEnumerable<BigDecimal> |
source |
|
Returns