Double

extension Double: CPUNumeric
extension Double: NumericType
extension Double: RandomizableType
  • Undocumented

    Declaration

    Swift

    public static func fill(value: Double, result: UnsafeMutableBufferPointer<Double>, stride: Int, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func fill(value: Double, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func relu(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func transpose(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, srcRows: Int, srcCols: Int)
  • Undocumented

    Declaration

    Swift

    public static func vNeg(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vsAdd(lhs: UnsafeBufferPointer<Double>, rhs: Double, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vsMul(lhs: UnsafeBufferPointer<Double>, rhs: Double, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func svDiv(lhs: Double, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vAdd(lhs: UnsafeBufferPointer<Double>, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vSub(lhs: UnsafeBufferPointer<Double>, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vMul(lhs: UnsafeBufferPointer<Double>, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func vDiv(lhs: UnsafeBufferPointer<Double>, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func sum(val: UnsafeBufferPointer<Double>, count: Int) -> Double
  • Undocumented

    Declaration

    Swift

    public static func sum(val: UnsafeBufferPointer<Double>, stride: Int, count: Int) -> Double
  • Undocumented

    Declaration

    Swift

    public static func gemm(lhs: UnsafeBufferPointer<`Self`>, rhs: UnsafeBufferPointer<`Self`>, result: UnsafeMutableBufferPointer<`Self`>, lhsShape: (Int, Int), rhsShape: (Int, Int), resultShape: (Int, Int), alpha: `Self`, beta: `Self`, transposeFirst: Bool, transposeSecond: Bool)
  • Undocumented

    Declaration

    Swift

    public static func argmax(values: UnsafeBufferPointer<Double>, count: Int) -> (Int, Double)
  • Undocumented

    Declaration

    Swift

    public static func argmin(values: UnsafeBufferPointer<Double>, count: Int) -> (Int, Double)
  • Undocumented

    Declaration

    Swift

    public static func argmax(values: UnsafeBufferPointer<Double>, stride: Int, count: Int) -> (Int, Double)
  • Undocumented

    Declaration

    Swift

    public static func argmin(values: UnsafeBufferPointer<Double>, stride: Int, count: Int) -> (Int, Double)
  • Undocumented

    Declaration

    Swift

    public static func copy(values: UnsafeBufferPointer<Double>, srcStride: Int, result: UnsafeMutableBufferPointer<Double>, dstStride: Int, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func arange(start: Double, end: Double, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func max(lhs: UnsafeBufferPointer<Double>, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func min(lhs: UnsafeBufferPointer<Double>, rhs: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func exp(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func log(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func tanh(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func sqrt(val: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func heaviside(values: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func sin(values: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func cos(values: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Undocumented

    Declaration

    Swift

    public static func tan(values: UnsafeBufferPointer<Double>, result: UnsafeMutableBufferPointer<Double>, count: Int)
  • Declaration

    Swift

    public func format(maxDecimals: Int) -> String
  • Undocumented

    Declaration

    Swift

    public func toUInt8() -> UInt8
  • Undocumented

    Declaration

    Swift

    public func toInt() -> Int
  • Undocumented

    Declaration

    Swift

    public var floatValue: Float { get }
  • Undocumented

    Declaration

    Swift

    public var doubleValue: Double { get }
  • Undocumented

    Declaration

    Swift

    public var intValue: Int32 { get }
  • one

    Undocumented

    Declaration

    Swift

    public static var one: Double { get }
  • Undocumented

    Declaration

    Swift

    public func sqrt() -> Double
  • Undocumented

    Declaration

    Swift

    public func exp() -> Double
  • Undocumented

    Declaration

    Swift

    public func log() -> Double
  • Undocumented

    Declaration

    Swift

    public func sin() -> Double
  • Undocumented

    Declaration

    Swift

    public func cos() -> Double
  • Undocumented

    Declaration

    Swift

    public func tan() -> Double
  • Undocumented

    Declaration

    Swift

    public func sinh() -> Double
  • Undocumented

    Declaration

    Swift

    public func cosh() -> Double
  • Undocumented

    Declaration

    Swift

    public func tanh() -> Double
  • Undocumented

    Declaration

    Swift

    init<Element>(element: Element) where Element : NumericType