SwiftextensionKnowledgeGraphKit

extension KnowledgeGraphKit.Matrix

Structure

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

Members 26

  1. funcstatic KnowledgeGraphKit.Matrix<A where A == Double>.* infix(KnowledgeGraphKit.Matrix<Double>, KnowledgeGraphKit.Matrix<Double>) -> KnowledgeGraphKit.Matrix<Double>
  2. funcstatic KnowledgeGraphKit.Matrix<A where A == Float>.* infix(KnowledgeGraphKit.Matrix<Float>, KnowledgeGraphKit.Matrix<Float>) -> KnowledgeGraphKit.Matrix<Float>
  3. funcstatic KnowledgeGraphKit.Matrix<A where A: Equatable>.== infix(KnowledgeGraphKit.Matrix<A>, KnowledgeGraphKit.Matrix<A>) -> Bool
  4. funcstatic KnowledgeGraphKit.Matrix<A where A: ExpressibleByIntegerLiteral>.ones(rows: Int, columns: Int) -> KnowledgeGraphKit.Matrix<A>
  5. funcstatic KnowledgeGraphKit.Matrix<A where A: ExpressibleByIntegerLiteral>.zeros(rows: Int, columns: Int) -> KnowledgeGraphKit.Matrix<A>
  6. funcKnowledgeGraphKit.Matrix<A where A == Double>.divide(by: KnowledgeGraphKit.Vector<Double>, along: MAMatrixAxis) -> ()
  7. funcKnowledgeGraphKit.Matrix<A where A == Float>.divide(by: KnowledgeGraphKit.Vector<Float>, along: MAMatrixAxis) -> ()
  8. funcKnowledgeGraphKit.Matrix<A where A: Hashable>.hash(into: inout Hasher) -> ()
  9. funcKnowledgeGraphKit.Matrix<A where A == Double>.magnitude(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Double>
  10. funcKnowledgeGraphKit.Matrix<A where A == Float>.magnitude(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Float>
  11. funcKnowledgeGraphKit.Matrix<A where A == Double>.mean(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Double>
  12. funcKnowledgeGraphKit.Matrix<A where A == Float>.mean(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Float>
  13. funcKnowledgeGraphKit.Matrix<A where A == Float>.meanAndStandardDeviation(along: MAMatrixAxis) -> (means: KnowledgeGraphKit.Vector<Float>, standardDeviations: KnowledgeGraphKit.Vector<Float>)
  14. funcKnowledgeGraphKit.Matrix<A where A == Float>.normalizeAndReturnMeanAndStandardDeviation(along: MAMatrixAxis) -> (mean: KnowledgeGraphKit.Vector<Float>, deviation: KnowledgeGraphKit.Vector<Float>)
  15. funcKnowledgeGraphKit.Matrix<A where A == Float>.normalizeMagnitude(along: MAMatrixAxis) -> ()
  16. funcKnowledgeGraphKit.Matrix<A where A == Float>.normalizeMeanAndStandardDeviation(along: MAMatrixAxis) -> ()
  17. funcKnowledgeGraphKit.Matrix<A where A == Double>.sum(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Double>
  18. funcKnowledgeGraphKit.Matrix<A where A == Float>.sum(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Float>
  19. funcKnowledgeGraphKit.Matrix<A where A == Double>.transposed() -> KnowledgeGraphKit.Matrix<Double>
  20. funcKnowledgeGraphKit.Matrix<A where A == Float>.transposed() -> KnowledgeGraphKit.Matrix<Float>
  21. subscriptKnowledgeGraphKit.Matrix<A where A == Double>.subscript.getter : (columnIndices: [Int]) -> KnowledgeGraphKit.Matrix<Double>
  22. subscriptKnowledgeGraphKit.Matrix<A where A == Float>.subscript.getter : (columnIndices: [Int]) -> KnowledgeGraphKit.Matrix<Float>
  23. typealiastypealias ArrayLiteralElement = Swift.Array<A>
  24. typealiastypealias Element = A
  25. typealiastypealias Shape = KnowledgeGraphKit.Matrix<A>.Shape
  26. varvar hashValue: Int { get }
extension KnowledgeGraphKit.Matrix {
    func hash(into: inout Swift.Hasher) where A: Swift.Hashable
    func transposed() -> KnowledgeGraphKit.Matrix<Swift.Double> where A == Swift.Double
    func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector<Swift.Double> where A == Swift.Double
    func mean(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector<Swift.Double> where A == Swift.Double
    func divide(by: KnowledgeGraphKit.Vector<Swift.Double>, along: __C.MAMatrixAxis) where A == Swift.Double
    func magnitude(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector<Swift.Double> where A == Swift.Double
    func normalizeAndReturnMeanAndStandardDeviation(along: __C.MAMatrixAxis) -> (mean: KnowledgeGraphKit.Vector<Swift.Float>, deviation: KnowledgeGraphKit.Vector<Swift.Float>) where A == Swift.Float
    func transposed() -> KnowledgeGraphKit.Matrix<Swift.Float> where A == Swift.Float
    func normalizeMagnitude(along: __C.MAMatrixAxis) where A == Swift.Float
    func meanAndStandardDeviation(along: __C.MAMatrixAxis) -> (means: KnowledgeGraphKit.Vector<Swift.Float>, standardDeviations: KnowledgeGraphKit.Vector<Swift.Float>) where A == Swift.Float
    func normalizeMeanAndStandardDeviation(along: __C.MAMatrixAxis) where A == Swift.Float
    func sum(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector<Swift.Float> where A == Swift.Float
    func mean(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector<Swift.Float> where A == Swift.Float
    func divide(by: KnowledgeGraphKit.Vector<Swift.Float>, along: __C.MAMatrixAxis) where A == Swift.Float
    func magnitude(along: __C.MAMatrixAxis) -> KnowledgeGraphKit.Vector<Swift.Float> where A == Swift.Float

    subscript(columnIndices: [Swift.Int]) -> KnowledgeGraphKit.Matrix<Swift.Double> where A == Swift.Double {
        get
    }
    subscript(columnIndices: [Swift.Int]) -> KnowledgeGraphKit.Matrix<Swift.Float> where A == Swift.Float {
        get
    }

    static func == (_: KnowledgeGraphKit.Matrix<A>, _: KnowledgeGraphKit.Matrix<A>) -> Swift.Bool where A: Swift.Equatable
    static func * (_: KnowledgeGraphKit.Matrix<Swift.Double>, _: KnowledgeGraphKit.Matrix<Swift.Double>) -> KnowledgeGraphKit.Matrix<Swift.Double> where A == Swift.Double
    static func * (_: KnowledgeGraphKit.Matrix<Swift.Float>, _: KnowledgeGraphKit.Matrix<Swift.Float>) -> KnowledgeGraphKit.Matrix<Swift.Float> where A == Swift.Float
    static func ones(rows: Swift.Int, columns: Swift.Int) -> KnowledgeGraphKit.Matrix<A> where A: Swift.ExpressibleByIntegerLiteral
    static func zeros(rows: Swift.Int, columns: Swift.Int) -> KnowledgeGraphKit.Matrix<A> where A: Swift.ExpressibleByIntegerLiteral
}