20 declarations · 476 ms
struct KnowledgeGraphKit.SparseArrayextension KnowledgeGraphKit.SparseArray: KnowledgeGraphKit.SparseArrayProtocolextension KnowledgeGraphKit.SparseArrayProtocol* infix<A, B where A: KnowledgeGraphKit.SparseArrayProtocol, B: KnowledgeGraphKit.SparseArrayProtocol, A.Value: Numeric, A.Value == B.Value>(A, B) -> KnowledgeGraphKit.SparseArray<A.Value>static KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>.* infix<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A1.Value == Double>(A, A1) -> Doublestatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value: KnowledgeGraphKit.SparseArrayProtocol, A.Value.SparseArrayProtocol.Value == Float>.* infix<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A1.Value: KnowledgeGraphKit.SparseArrayProtocol, A1.Value.SparseArrayProtocol.Value == Float>(A, A1) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Float>>static KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>.* infix<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A1.Value == Float>(A, A1) -> Floatstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value: KnowledgeGraphKit.SparseArrayProtocol, A.Value.SparseArrayProtocol.Value == Double>.* infix<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A1.Value: KnowledgeGraphKit.SparseArrayProtocol, A1.Value.SparseArrayProtocol.Value == Double>(A, A1) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Double>>* infix<A where A: KnowledgeGraphKit.SparseArrayProtocol, A.Value: Numeric>(A, A.Value) -> KnowledgeGraphKit.SparseArray<A.Value>*= infix<A where A: KnowledgeGraphKit.SparseArrayProtocol, A.Value: Numeric>(inout KnowledgeGraphKit.SparseArray<A.Value>, A) -> ()+ infix<A, B where A: KnowledgeGraphKit.SparseArrayProtocol, B: KnowledgeGraphKit.SparseArrayProtocol, A.Value: Numeric, A.Value == B.Value>(A, B) -> KnowledgeGraphKit.SparseArray<A.Value>- infix<A, B where A: KnowledgeGraphKit.SparseArrayProtocol, B: KnowledgeGraphKit.SparseArrayProtocol, A.Value: Numeric, A.Value == B.Value>(A, B) -> KnowledgeGraphKit.SparseArray<A.Value>KnowledgeGraphKit.SparseArrayProtocol< where A.Value: Numeric>.dotProduct<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A.Value == A1.Value>(with: A1) -> A.ValuedotProduct<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A.Value == A1.Value>(with: A1, add: (inout A.Value, A.Value) -> (), multiply: (A.Value, A.Value) -> A.Value) -> A.ValueformIntersection<A where A == A1.Value, A1: KnowledgeGraphKit.SparseArrayProtocol>(with: A1, combine: (A, A) -> A) -> ()formUnion<A where A == A1.Value, A1: KnowledgeGraphKit.SparseArrayProtocol>(with: A1, combine: (inout A, A) -> ()) -> ()intersection<A, B where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement>(with: A1, combine: (A.Value, A1.Value) -> B1) -> KnowledgeGraphKit.SparseArray<B1>mapIntersection<A, B where A1: KnowledgeGraphKit.SparseArrayProtocol, A.Value == A1.Value>(with: A1, initialValue: B1, update: (inout B1, A.Value) -> (), combine: (A.Value, A.Value) -> A.Value) -> B1sparseKroneckerMap<A, B where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement>(with: A1, combine: (A.Value, A1.Value) throws -> B1) throws -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<B1>>union<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A.Value == A1.Value>(with: A1, combine: (inout A.Value, A.Value) -> ()) -> KnowledgeGraphKit.SparseArray<A.Value>