@neutrium/utilities - v3.1.0
    Preparing search index...

    Interface ScientificAdapter<T>

    Arithmetic plus powers, roots, logarithms and trigonometry.

    interface ScientificAdapter<T> {
        config: object;
        id: string;
        identity: object;
        tier: "scientific";
        abs(value: T): T;
        acos(value: T): T;
        acosh(value: T): T;
        add(a: T, b: T): T;
        asin(value: T): T;
        asinh(value: T): T;
        atan(value: T): T;
        atan2(y: T, x: T): T;
        atanh(value: T): T;
        cbrt(value: T): T;
        ceil(value: T): T;
        compare(a: T, b: T): number;
        cos(value: T): T;
        cosh(value: T): T;
        div(a: T, b: T): T;
        exp(value: T): T;
        floor(value: T): T;
        from(value: unknown): T;
        isFinite(value: T): boolean;
        isInteger(value: T): boolean;
        isNaN(value: T): boolean;
        isValue(value: unknown): value is T;
        ln(value: T): T;
        log(value: T, base: T): T;
        mul(a: T, b: T): T;
        neg(value: T): T;
        pi(): T;
        pow(value: T, exponent: NumericInput<T>): T;
        rem(a: T, b: T): T;
        round(value: T): T;
        sin(value: T): T;
        sinh(value: T): T;
        sqrt(value: T): T;
        sub(a: T, b: T): T;
        tan(value: T): T;
        tanh(value: T): T;
        toNumber(value: T): number;
        toString(value: T): string;
        trunc(value: T): T;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    config: object

    Immutable settings; use this identity to scope cached numerical results.

    id: string

    Diagnostic backend name, not a compatibility key.

    identity: object

    Stable backend compatibility identity, shared across tiers and configurations.

    tier: "scientific"

    Complete scientific capability tier.