SwiftextensionKnowledgeGraphKit

extension KnowledgeGraphKit.SparseArrayProtocol

Structure

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

Members 27

  1. funcstatic 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>>
  2. funcstatic 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>>
  3. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>.* infix(Double, A) -> KnowledgeGraphKit.SparseArray<Double>
  4. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>.* infix(A, Double) -> KnowledgeGraphKit.SparseArray<Double>
  5. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>.* infix(A, KnowledgeGraphKit.Vector<Double>) -> Double
  6. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>.* infix<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A1.Value == Double>(A, A1) -> Double
  7. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>.* infix(Float, A) -> KnowledgeGraphKit.SparseArray<Float>
  8. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>.* infix(A, Float) -> KnowledgeGraphKit.SparseArray<Float>
  9. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>.* infix(A, KnowledgeGraphKit.Vector<Float>) -> Float
  10. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>.* infix<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A1.Value == Float>(A, A1) -> Float
  11. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>..** infix(A, Double) -> KnowledgeGraphKit.SparseArray<Double>
  12. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>..** infix(A, Float) -> KnowledgeGraphKit.SparseArray<Float>
  13. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Double>./ infix(A, Double) -> KnowledgeGraphKit.SparseArray<Double>
  14. funcstatic KnowledgeGraphKit.SparseArrayProtocol< where A.Value == Float>./ infix(A, Float) -> KnowledgeGraphKit.SparseArray<Float>
  15. funcdotProduct<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.Value
  16. funcKnowledgeGraphKit.SparseArrayProtocol< where A.Value: Numeric>.dotProduct<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A.Value == A1.Value>(with: A1) -> A.Value
  17. funcintersection<A, B where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement>(with: A1, combine: (A.Value, A1.Value) -> B1) -> KnowledgeGraphKit.SparseArray<B1>
  18. funcmapIntersection<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) -> B1
  19. funcmapSparseValues<A where A1: KnowledgeGraphKit.SparseElement>((A.Value) throws -> A1) throws -> KnowledgeGraphKit.SparseArray<A1>
  20. funcreduce<A where A1: KnowledgeGraphKit.SparseElement>(into: A1, update: (inout A1, A.Value) -> ()) -> A1
  21. funcKnowledgeGraphKit.SparseArrayProtocol< where A.Value: KnowledgeGraphKit.SparseArrayProtocol, A.Value.SparseArrayProtocol.Value: Numeric>.scalingColumns(with: KnowledgeGraphKit.SparseArray<A.Value.SparseArrayProtocol.Value>) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<A.Value.SparseArrayProtocol.Value>>
  22. funcKnowledgeGraphKit.SparseArrayProtocol< where A.Value: KnowledgeGraphKit.SparseArrayProtocol, A.Value.SparseArrayProtocol.Value: Numeric>.scalingRows(with: KnowledgeGraphKit.SparseArray<A.Value.SparseArrayProtocol.Value>) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<A.Value.SparseArrayProtocol.Value>>
  23. funcsparseKroneckerMap<A, B where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement>(with: A1, combine: (A.Value, A1.Value) throws -> B1) throws -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<B1>>
  24. funcKnowledgeGraphKit.SparseArrayProtocol< where A.Value: KnowledgeGraphKit.SparseArrayProtocol, A.Value.SparseArrayProtocol.Value: AdditiveArithmetic>.sum(along: MAMatrixAxis) -> KnowledgeGraphKit.SparseArray<A.Value.SparseArrayProtocol.Value>
  25. funcKnowledgeGraphKit.SparseArrayProtocol< where A.Value: AdditiveArithmetic>.sum() -> A.Value
  26. funcKnowledgeGraphKit.SparseArrayProtocol< where A.Value: KnowledgeGraphKit.SparseArrayProtocol>.transposed() -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<A.Value.SparseArrayProtocol.Value>>
  27. funcunion<A where A1: KnowledgeGraphKit.SparseArrayProtocol, A.Value == A1.Value>(with: A1, combine: (inout A.Value, A.Value) -> ()) -> KnowledgeGraphKit.SparseArray<A.Value>
extension KnowledgeGraphKit.SparseArrayProtocol {
    func scalingRows(with: KnowledgeGraphKit.SparseArray<Self.Value.Value>) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Self.Value.Value>> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.Numeric
    func scalingColumns(with: KnowledgeGraphKit.SparseArray<Self.Value.Value>) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Self.Value.Value>> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.Numeric
    func transposed() -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Self.Value.Value>> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol
    func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.SparseArray<Self.Value.Value> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value: Swift.AdditiveArithmetic
    func mapSparseValues<A1>(_: (_: Self.Value) throws -> A1) throws -> KnowledgeGraphKit.SparseArray<A1> where A1: KnowledgeGraphKit.SparseElement
    func dotProduct<A1>(with: A1, add: (inout Self.Value, Self.Value) -> (), multiply: (Self.Value, Self.Value) -> Self.Value) -> Self.Value where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
    func intersection<A1, B1>(with: A1, combine: (Self.Value, A1.Value) -> B1) -> KnowledgeGraphKit.SparseArray<B1> where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement
    func mapIntersection<A1, B1>(with: A1, initialValue: B1, update: (inout B1, Self.Value) -> (), combine: (Self.Value, Self.Value) -> Self.Value) -> B1 where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
    func sparseKroneckerMap<A1, B1>(with: A1, combine: (Self.Value, A1.Value) throws -> B1) throws -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<B1>> where A1: KnowledgeGraphKit.SparseArrayProtocol, B1: KnowledgeGraphKit.SparseElement
    func union<A1>(with: A1, combine: (inout Self.Value, Self.Value) -> ()) -> KnowledgeGraphKit.SparseArray<Self.Value> where A1: KnowledgeGraphKit.SparseArrayProtocol, Self.Value == A1.Value
    func reduce<A1>(into: A1, update: (inout A1, Self.Value) -> ()) -> A1 where A1: KnowledgeGraphKit.SparseElement
    func dotProduct<A1>(with: A1) -> Self.Value where Self.Value: Swift.Numeric
    func sum() -> Self.Value where Self.Value: Swift.AdditiveArithmetic

    static func * <A1>(_: Self, _: A1) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Swift.Double>> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value == Swift.Double
    static func * <A1>(_: Self, _: A1) -> KnowledgeGraphKit.SparseArray<KnowledgeGraphKit.SparseArray<Swift.Float>> where Self.Value: KnowledgeGraphKit.SparseArrayProtocol, Self.Value.Value == Swift.Float
    static func / (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray<Swift.Double> where Self.Value == Swift.Double
    static func * (_: Swift.Double, _: Self) -> KnowledgeGraphKit.SparseArray<Swift.Double> where Self.Value == Swift.Double
    static func * (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray<Swift.Double> where Self.Value == Swift.Double
    static func * (_: Self, _: KnowledgeGraphKit.Vector<Swift.Double>) -> Swift.Double where Self.Value == Swift.Double
    static func * <A1>(_: Self, _: A1) -> Swift.Double where Self.Value == Swift.Double
    static func .** (_: Self, _: Swift.Double) -> KnowledgeGraphKit.SparseArray<Swift.Double> where Self.Value == Swift.Double
    static func / (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray<Swift.Float> where Self.Value == Swift.Float
    static func * (_: Swift.Float, _: Self) -> KnowledgeGraphKit.SparseArray<Swift.Float> where Self.Value == Swift.Float
    static func * (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray<Swift.Float> where Self.Value == Swift.Float
    static func * (_: Self, _: KnowledgeGraphKit.Vector<Swift.Float>) -> Swift.Float where Self.Value == Swift.Float
    static func * <A1>(_: Self, _: A1) -> Swift.Float where Self.Value == Swift.Float
    static func .** (_: Self, _: Swift.Float) -> KnowledgeGraphKit.SparseArray<Swift.Float> where Self.Value == Swift.Float
}