import * as indexes from './indexes'; import NDArray from "../NDArray"; import { Func_y_x_out } from './kwargs'; import { Where } from './indexes'; import { TypedArrayConstructor } from '../dtypes'; export type ArrayOrConstant = NDArray | number | boolean; export declare function binary_operation(A: ArrayOrConstant, B: ArrayOrConstant, func: any, dtype: T, out?: NDArray | null): NDArray; export declare function __make_operator(dtype: T, func: any): BinaryOperator; export type BinaryOperator = (A: ArrayOrConstant, B: ArrayOrConstant, out?: NDArray | null) => NDArray; export type SelfBinaryOperator = (other: ArrayOrConstant, out?: NDArray | null) => NDArray; export declare const op_binary: { "+": BinaryOperator; "-": BinaryOperator; "*": BinaryOperator; "/": BinaryOperator; "%": BinaryOperator; "|": BinaryOperator; "&": BinaryOperator; "^": BinaryOperator; "<<": BinaryOperator; ">>": BinaryOperator; "**": BinaryOperator; "//": BinaryOperator; "<": BinaryOperator; ">": BinaryOperator; ">=": BinaryOperator; "<=": BinaryOperator; "==": BinaryOperator; "!=": BinaryOperator; or: BinaryOperator; and: BinaryOperator; xor: BinaryOperator; max: BinaryOperator; min: BinaryOperator; }; export declare function assign_operation(tgt: NDArray, src: ArrayOrConstant, where: Where, func: any): NDArray; export declare function _assign_operation_toJS(tgtJS: any[], src: any, where: Where, func: any): any[]; export declare function __make_assignment_operator(func: any): (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; export declare const op_assign: { "=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "+=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "-=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "*=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "/=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "%=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "//=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "**=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "|=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "&=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "^=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "<<=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; ">>=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "max=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "min=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "or=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; "and=": (a: NDArray, values: NDArray, where: indexes.GeneralIndexSpec[]) => NDArray; }; export declare function isclose(A: any, B: any, rtol?: number, atol?: number, equal_nan?: boolean): NDArray; export declare function allclose(A: any, B: any, rtol?: number, atol?: number, equal_nan?: boolean): boolean; export declare const atan2: Func_y_x_out.Wrapper; export declare function n_ary_operation NDArray | number | number[] | boolean | boolean[]>(arrs: NDArray[], elem_shape: number[], func: F): NDArray; //# sourceMappingURL=operators.d.ts.map