TypeTensor - v0.1.0
    Preparing search index...

    Class BinaryBroadcaster

    High-performance broadcasting for binary operations

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Execute a binary operation with broadcasting

      Type Parameters

      • T extends MutableArrayLike

      Parameters

      • shape1: Shape
      • input1: ArrayLike<number>
      • shape2: Shape
      • input2: ArrayLike<number>
      • operation: (a: number, b: number) => number
      • outputConstructor: new (length: number) => T

      Returns { result: T; shape: Shape }