SwiftextensionKnowledgeGraphKit
extension KnowledgeGraphKit.Matrix
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structKnowledgeGraphKit.Matrix
Members 26
- func
static KnowledgeGraphKit.Matrix<A where A == Double>.* infix(KnowledgeGraphKit.Matrix<Double>, KnowledgeGraphKit.Matrix<Double>) -> KnowledgeGraphKit.Matrix<Double> - func
static KnowledgeGraphKit.Matrix<A where A == Float>.* infix(KnowledgeGraphKit.Matrix<Float>, KnowledgeGraphKit.Matrix<Float>) -> KnowledgeGraphKit.Matrix<Float> - func
static KnowledgeGraphKit.Matrix<A where A: Equatable>.== infix(KnowledgeGraphKit.Matrix<A>, KnowledgeGraphKit.Matrix<A>) -> Bool - func
static KnowledgeGraphKit.Matrix<A where A: ExpressibleByIntegerLiteral>.ones(rows: Int, columns: Int) -> KnowledgeGraphKit.Matrix<A> - func
static KnowledgeGraphKit.Matrix<A where A: ExpressibleByIntegerLiteral>.zeros(rows: Int, columns: Int) -> KnowledgeGraphKit.Matrix<A> - func
KnowledgeGraphKit.Matrix<A where A == Double>.divide(by: KnowledgeGraphKit.Vector<Double>, along: MAMatrixAxis) -> () - func
KnowledgeGraphKit.Matrix<A where A == Float>.divide(by: KnowledgeGraphKit.Vector<Float>, along: MAMatrixAxis) -> () - func
KnowledgeGraphKit.Matrix<A where A: Hashable>.hash(into: inout Hasher) -> () - func
KnowledgeGraphKit.Matrix<A where A == Double>.magnitude(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Double> - func
KnowledgeGraphKit.Matrix<A where A == Float>.magnitude(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Float> - func
KnowledgeGraphKit.Matrix<A where A == Double>.mean(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Double> - func
KnowledgeGraphKit.Matrix<A where A == Float>.mean(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Float> - func
KnowledgeGraphKit.Matrix<A where A == Float>.meanAndStandardDeviation(along: MAMatrixAxis) -> (means: KnowledgeGraphKit.Vector<Float>, standardDeviations: KnowledgeGraphKit.Vector<Float>) - func
KnowledgeGraphKit.Matrix<A where A == Float>.normalizeAndReturnMeanAndStandardDeviation(along: MAMatrixAxis) -> (mean: KnowledgeGraphKit.Vector<Float>, deviation: KnowledgeGraphKit.Vector<Float>) - func
KnowledgeGraphKit.Matrix<A where A == Float>.normalizeMagnitude(along: MAMatrixAxis) -> () - func
KnowledgeGraphKit.Matrix<A where A == Float>.normalizeMeanAndStandardDeviation(along: MAMatrixAxis) -> () - func
KnowledgeGraphKit.Matrix<A where A == Double>.sum(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Double> - func
KnowledgeGraphKit.Matrix<A where A == Float>.sum(along: MAMatrixAxis) -> KnowledgeGraphKit.Vector<Float> - func
KnowledgeGraphKit.Matrix<A where A == Double>.transposed() -> KnowledgeGraphKit.Matrix<Double> - func
KnowledgeGraphKit.Matrix<A where A == Float>.transposed() -> KnowledgeGraphKit.Matrix<Float> - subscript
KnowledgeGraphKit.Matrix<A where A == Double>.subscript.getter : (columnIndices: [Int]) -> KnowledgeGraphKit.Matrix<Double> - subscript
KnowledgeGraphKit.Matrix<A where A == Float>.subscript.getter : (columnIndices: [Int]) -> KnowledgeGraphKit.Matrix<Float> - typealias
typealias ArrayLiteralElement = Swift.Array<A> - typealias
typealias Element = A - typealias
typealias Shape = KnowledgeGraphKit.Matrix<A>.Shape - var
var hashValue: Int { get }
Header
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 }