SwiftfuncKnowledgeGraphKitKnowledgeGraphKit.SparseArrayProtocol

sparseKroneckerMap

KnowledgeGraphKit.SparseArrayProtocol.sparseKroneckerMap<A, B where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement>(with: A1, combine: (A.Value, A1.Value) throws -> B1) throws -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<B1>>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

ABA1B1

req{}

param{}

  1. 0with:
    genericParameterA1
  2. 1combine:
    function(A.Value, A1.Value) throws -> B1throws
    • paramassociatedTypeValue
      • basegenericParameterA
    • paramassociatedTypeValue
      • basegenericParameterA1
    • returnsgenericParameterB1

result{}