@@ -12,7 +12,7 @@ extension USearchIndex {
12
12
public typealias Scalar = USearchScalar
13
13
14
14
/// Adds a labeled vector to the index.
15
- /// - Parameter key: Unique identifer for that object.
15
+ /// - Parameter key: Unique identifier for that object.
16
16
/// - Parameter vector: Single-precision vector.
17
17
/// - Throws: If runs out of memory.
18
18
public func add( key: USearchKey , vector: ArraySlice < Float32 > ) {
@@ -22,7 +22,7 @@ extension USearchIndex {
22
22
}
23
23
24
24
/// Adds a labeled vector to the index.
25
- /// - Parameter key: Unique identifer for that object.
25
+ /// - Parameter key: Unique identifier for that object.
26
26
/// - Parameter vector: Single-precision vector.
27
27
/// - Throws: If runs out of memory.
28
28
public func add( key: USearchKey , vector: Array < Float32 > ) {
@@ -55,7 +55,7 @@ extension USearchIndex {
55
55
}
56
56
57
57
/// Adds a labeled vector to the index.
58
- /// - Parameter key: Unique identifer for that object.
58
+ /// - Parameter key: Unique identifier for that object.
59
59
/// - Parameter vector: Double-precision vector.
60
60
/// - Throws: If runs out of memory.
61
61
public func add( key: Key , vector: ArraySlice < Float64 > ) {
@@ -65,7 +65,7 @@ extension USearchIndex {
65
65
}
66
66
67
67
/// Adds a labeled vector to the index.
68
- /// - Parameter key: Unique identifer for that object.
68
+ /// - Parameter key: Unique identifier for that object.
69
69
/// - Parameter vector: Double-precision vector.
70
70
/// - Throws: If runs out of memory.
71
71
public func add( key: Key , vector: Array < Float64 > ) {
@@ -100,7 +100,7 @@ extension USearchIndex {
100
100
#if arch(arm64)
101
101
102
102
/// Adds a labeled vector to the index.
103
- /// - Parameter key: Unique identifer for that object.
103
+ /// - Parameter key: Unique identifier for that object.
104
104
/// - Parameter vector: Half-precision vector.
105
105
/// - Throws: If runs out of memory.
106
106
@available ( macOS 11 . 0 , iOS 14 . 0 , watchOS 7 . 0 , tvOS 14 . 0 , * )
@@ -111,7 +111,7 @@ extension USearchIndex {
111
111
}
112
112
113
113
/// Adds a labeled vector to the index.
114
- /// - Parameter key: Unique identifer for that object.
114
+ /// - Parameter key: Unique identifier for that object.
115
115
/// - Parameter vector: Half-precision vector.
116
116
/// - Throws: If runs out of memory.
117
117
@available ( macOS 11 . 0 , iOS 14 . 0 , watchOS 7 . 0 , tvOS 14 . 0 , * )
0 commit comments