/** * AlgComplex * @desc Type representing supported algebraic complex */ export declare type AlgComplex = { x: number; y: number; }; /** * TrigComplex * @desc Type representing supported trigonometic complex */ export declare type TrigComplex = { r: number; phi: number; }; export declare class Complex { private x; private y; private readonly subscribers; static convertToAlg({ r, phi }: TrigComplex): AlgComplex; static convertToTrig({ x, y }: AlgComplex): TrigComplex; static isComplex(value: any): boolean; static from(x: any, y: any): Complex; static fromAlg(complex: AlgComplex): Complex; static fromTrig(complex: TrigComplex): Complex; static fromComplex(value: Complex): Complex; static checkComplex(value: Complex): void; /** * Default {@link Complex} constructor by input parameters * @param x initial input {@link Number} x * @param y initial input {@link Number} y */ constructor(x: number, y: number); toAlgebraicString(): string; toTrigonometricString(): string; add(complex: Complex): void; sub(complex: Complex): void; mult(complex: Complex): Complex; div(complex: Complex): Complex; scale(value: number): void; addnum(value: number): void; subnum(value: number): void; exp(): Complex; power(value: number): Complex; sqrt(): Complex[]; cos(): Complex; sin(): Complex; ch(): Complex; sh(): Complex; ln(): Complex; log10(): Complex; log2(): Complex; equals(obj: any): boolean; clone(): Complex; complement(): Complex; on(event: string, cb: any): void; notify(event: string): void; } //# sourceMappingURL=complex.d.ts.map