SwiftextensionVectorSearch
extension Swift.Float: VectorSearch.IndexableDataType
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structSwift.Float
inherits{}
- protocolVectorSearch.IndexableDataType
Members 3
- func
static Float.similarities(between: Foundation.Data, against: Foundation.Data, dimensions: Int, similarityMetric: VectorSearch.VectorDatabaseMetric, workspace: inout (UnsafeMutableRawPointer, Int)?) -> [Float] - func
static Float.weightedAverage(previousAverage: Foundation.Data, nextValue: Foundation.Data, learningRate: Float) throws -> Foundation.Data - var
static var numBytes: Int { get }
Header
extension Swift.Float: VectorSearch.IndexableDataType {}