Type alias UfuncMethods

UfuncMethods: {
    accumulate: ((array, axis?, dtype?, out?) => NDArray);
    at: ((a, indices, b?) => void);
    identity: any;
    nargs: number;
    nin: number;
    nout: number;
    outer: ((A, B, out?) => NDArray);
    reduce: ((array, axis?, dtype?, out?, keepdims?, initial?, where?) => any);
    reduceat: ((array, indices, axis?, dtype?, out?) => NDArray);
}

Methods that every binary ufunc has (np.add.reduce, np.add.accumulate, ...)

Type declaration

  • accumulate: ((array, axis?, dtype?, out?) => NDArray)
      • (array, axis?, dtype?, out?): NDArray
      • Parameters

        • array: ArrOrAny
        • Optional axis: number | any
        • Optional dtype: any
        • Optional out: any

        Returns NDArray

  • at: ((a, indices, b?) => void)
      • (a, indices, b?): void
      • Parameters

        • a: NDArray
        • indices: any
        • Optional b: any

        Returns void

  • identity: any
  • nargs: number
  • nin: number
  • nout: number
  • outer: ((A, B, out?) => NDArray)
  • reduce: ((array, axis?, dtype?, out?, keepdims?, initial?, where?) => any)
      • (array, axis?, dtype?, out?, keepdims?, initial?, where?): any
      • Parameters

        • array: ArrOrAny
        • Optional axis: AxisArg | any
        • Optional dtype: any
        • Optional out: any
        • Optional keepdims: boolean
        • Optional initial: any
        • Optional where: any

        Returns any

  • reduceat: ((array, indices, axis?, dtype?, out?) => NDArray)
      • (array, indices, axis?, dtype?, out?): NDArray
      • Parameters

        • array: ArrOrAny
        • indices: ArrOrAny
        • Optional axis: number | any
        • Optional dtype: any
        • Optional out: any

        Returns NDArray

Generated using TypeDoc