.NET Client Documentation
5.6.0
Search Results for

    Show / Hide Table of Contents

    Of Method

    Of(float[])

    Creates a new instance of the VectorValues class with a single vector.

    Declaration
    public static VectorValues Of(float[] vector)
    Parameters
    float[] vector

    The vector values.

    Returns
    VectorValues

    A new instance of the SingleVectorValues class containing the specified vector.

    Of(params (string indexName, float[] vector)[])

    Creates a new instance of the VectorValues class with multiple vectors indexed by names.

    Declaration
    public static VectorValues Of(params (string indexName, float[] vector)[] indexToVectors)
    Parameters
    (string indexName, float[] vector)[] indexToVectors

    An array of tuples containing index names and their corresponding vector values.

    Returns
    VectorValues

    A new instance of the MultiVectorValues class containing the specified indexed vectors.

    Of(IDictionary<string, float[]>)

    Creates a new instance of the VectorValues class with multiple vectors indexed by names.

    Declaration
    public static VectorValues Of(IDictionary<string, float[]> indexNameToVector)
    Parameters
    IDictionary<string, float[]> indexNameToVector

    A dictionary containing index names and their corresponding vector values.

    Returns
    VectorValues

    A new instance of the MultiVectorValues class containing the specified indexed vectors.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.