Search Results for

    Show / Hide Table of Contents

    Interface IArrayFactory<ItemType, ArrayType>

    Interface to an object providing a constructor for new arrays.

    Namespace: Microsoft.ML.Probabilistic.Collections
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public interface IArrayFactory<ItemType, ArrayType>
    Type Parameters
    Name Description
    ItemType
    ArrayType

    Methods

    CreateArray(Int32, Func<Int32, ItemType>)

    Declaration
    ArrayType CreateArray(int length, Func<int, ItemType> init)
    Parameters
    Type Name Description
    Int32 length
    Func<Int32, ItemType> init
    Returns
    Type Description
    ArrayType
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.