Class SubarrayOp2<T>
Inheritance
SubarrayOp2<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Collection), "Subarray2<>", new Type[]{})]
[Quality(QualityBand.Experimental)]
public static class SubarrayOp2<T>
Type Parameters
Name |
Description |
T |
The type of an array item.
|
Methods
Array2AverageConditional<DistributionType, ArrayType>(IList<DistributionType>, IList<Int32>, ArrayType)
Declaration
public static ArrayType Array2AverageConditional<DistributionType, ArrayType>([SkipIfAllUniform] IList<DistributionType> items, IList<int> indices, ArrayType result)
where DistributionType : SettableTo<DistributionType> where ArrayType : IList<DistributionType>, SettableToUniform
Parameters
Type |
Name |
Description |
IList<DistributionType> |
items |
|
IList<Int32> |
indices |
|
ArrayType |
result |
|
Returns
Type |
Description |
ArrayType |
|
Type Parameters
Name |
Description |
DistributionType |
The type of a distribution over an array item.
|
ArrayType |
The type of the outgoing message.
|
ArrayAverageConditional<DistributionType, ArrayType>(IList<DistributionType>, IList<Int32>, ArrayType)
Declaration
public static ArrayType ArrayAverageConditional<DistributionType, ArrayType>([SkipIfAllUniform] IList<DistributionType> items, IList<int> indices, ArrayType result)
where DistributionType : SettableTo<DistributionType> where ArrayType : IList<DistributionType>, SettableToUniform
Parameters
Type |
Name |
Description |
IList<DistributionType> |
items |
|
IList<Int32> |
indices |
|
ArrayType |
result |
|
Returns
Type |
Description |
ArrayType |
|
Type Parameters
Name |
Description |
DistributionType |
The type of a distribution over an array item.
|
ArrayType |
The type of the outgoing message.
|
ArrayAverageConditional<DistributionType, ArrayType>(IList<T>, IList<Int32>, ArrayType)
Declaration
public static ArrayType ArrayAverageConditional<DistributionType, ArrayType>(IList<T> items, IList<int> indices, ArrayType result)
where DistributionType : HasPoint<T> where ArrayType : IList<DistributionType>, SettableToUniform
Parameters
Returns
Type |
Description |
ArrayType |
|
Type Parameters
Name |
Description |
DistributionType |
The type of a distribution over an array item.
|
ArrayType |
The type of the outgoing message.
|
ItemsAverageConditional<DistributionType, ResultType>(IList<DistributionType>, IList<Int32>, IList<DistributionType>, ResultType)
Declaration
public static ResultType ItemsAverageConditional<DistributionType, ResultType>([SkipIfAllUniform] IList<DistributionType> array, IList<int> indices, [SkipIfAllUniform] IList<DistributionType> array2, ResultType result)
where DistributionType : SettableTo<DistributionType> where ResultType : IList<DistributionType>
Parameters
Type |
Name |
Description |
IList<DistributionType> |
array |
|
IList<Int32> |
indices |
|
IList<DistributionType> |
array2 |
|
ResultType |
result |
|
Returns
Type |
Description |
ResultType |
|
Type Parameters
Name |
Description |
DistributionType |
The type of a distribution over an array item.
|
ResultType |
The type of the outgoing message.
|