JSPM

Found 386 results for computation

compute-lcm

Computes the least common multiple (lcm).

  • v1.1.2
  • 80.25
  • Published

compute-gcd

Computes the greatest common divisor (gcd).

  • v1.2.1
  • 79.42
  • Published

compute-l2norm

Computes the L2 norm (Euclidean norm) of an array of values.

  • v1.1.0
  • 72.03
  • Published

compute-dot

Computes the dot product between two numeric arrays.

  • v1.1.0
  • 70.74
  • Published

compute-dims

Computes array dimensions.

  • v1.1.0
  • 58.78
  • Published

math-float64-exponent

Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.

  • v1.0.0
  • 53.36
  • Published

math-float64-get-high-word

Returns a 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number.

  • v1.0.0
  • 52.35
  • Published

compute-indexspace

Generates a linearly spaced index array from a subsequence string.

  • v1.0.1
  • 47.38
  • Published

compute-dtype

Determines the underlying data type of an input value.

  • v1.0.0
  • 47.28
  • Published

dstructs-array-dtype

Returns an array data type corresponding to an array constructor name.

  • v1.0.2
  • 46.81
  • Published

compute-array-dtype

Returns an array data type corresponding to an array constructor name.

  • v1.0.1
  • 46.72
  • Published

compute-quantile

Computes a quantile for a numeric array.

  • v1.0.1
  • 46.39
  • Published

dstructs-cast-arrays

Casts an array to an array of a different data type.

  • v1.0.3
  • 45.90
  • Published

compute-median

Computes the median of an array.

  • v2.0.0
  • 45.28
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 44.74
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 42.03
  • Published

compute-qmean

Computes the quadratic mean (root mean square).

  • v2.0.0
  • 41.79
  • Published

math-float64-ldexp

Multiplies a double-precision floating-point number by an integer power of two.

  • v1.0.1
  • 41.69
  • Published

math-float64-to-words

Splits a floating-point number into a higher order word and a lower order word.

  • v1.0.0
  • 41.61
  • Published

math-float64-from-words

Creates a double-precision floating-point number from a higher order word and a lower order word.

  • v1.0.0
  • 41.47
  • Published

compute-incrmmean

Provides a method to compute a moving arithmetic mean incrementally.

  • v1.0.2
  • 41.09
  • Published

math-float64-normalize

Returns a normal number `y` and exponent `exp` satisfying `x = y * 2^exp`.

  • v1.0.0
  • 41.07
  • Published

math-float64-copysign

Returns a double-precision floating-point number with the magnitude of x and the sign of y.

  • v1.0.0
  • 40.91
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 40.80
  • Published

math-float64-set-low-word

Sets the less significant 32 bits of a double-precision floating-point number.

  • v1.0.0
  • 40.25
  • Published

werkit

TypeScript types for Werkit, a toolkit for encapsulating Python-based computation into deployable and distributable tasks

  • v0.34.0
  • 40.13
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 39.68
  • Published

cpu-benchmark

Two functions that measure the computation power

  • v1.0.1
  • 39.31
  • Published

compute-iqr

Computes the interquartile range for an array of values.

  • v1.1.0
  • 38.48
  • Published

math-erf

Error function.

  • v1.0.0
  • 38.30
  • Published

compute-argmax

Computes the maximum value of a numeric array and returns the corresponding array indices.

  • v1.0.0
  • 38.17
  • Published

compute-erf

Error function.

  • v3.0.3
  • 37.87
  • Published

const-pi

Pi.

  • v1.0.3
  • 37.73
  • Published

compute-stdev

Computes the sample standard deviation over an array of values.

  • v1.0.0
  • 37.57
  • Published

math-power

Exponential function.

  • v1.0.0
  • 37.38
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 37.28
  • Published

compute-covariance

Computes the covariance between one or more numeric arrays.

  • v1.0.1
  • 36.67
  • Published

math-float64-frexp

Splits a double-precision floating-point number into a normalized fraction and an integer power of two.

  • v1.0.0
  • 35.97
  • Published

compute-gmean

Computes the geometric mean of an array.

  • v1.1.0
  • 35.88
  • Published

compute-erfcinv

Inverse complementary error function.

  • v3.0.1
  • 34.72
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 34.61
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 34.47
  • Published

numlab

A comprehensive and versatile library for all your mathematical operations and computations.

  • v0.2.0
  • 33.99
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 33.97
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 33.74
  • Published

math-float32-to-binary-string

Returns a string giving the literal bit representation of a single-precision floating-point number.

  • v1.0.0
  • 31.55
  • Published

jlouvain.js

Community detection algorithm

  • v1.0.0
  • 31.30
  • Published

compute-pcorr

Computes Pearson product-moment correlation coefficients between one or more numeric arrays.

  • v1.0.0
  • 31.10
  • Published

compute-kurtosis

Computes the sample excess kurtosis of an array of values.

  • v1.0.0
  • 29.62
  • Published

timebucket

group timestamps into "buckets" by applying a granularity to a discrete value

  • v0.4.0
  • 28.66
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 28.51
  • Published

compute-erfc

Complementary error function.

  • v3.0.1
  • 28.30
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 28.05
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 27.90
  • Published

@bryntum/chronograph

Reactive computational engine, with novel and unique properties

  • v2.0.3
  • 27.69
  • Published

compute-hmean

Computes the harmonic mean over an array of values.

  • v1.0.0
  • 25.85
  • Published

compute-midmean

Computes the interquartile mean (midmean) of a numeric array.

  • v1.0.3
  • 25.77
  • Published

compute.io

Computation library.

  • v0.106.0
  • 25.75
  • Published

compute-mean

Computes the arithmetic mean.

  • v3.0.0
  • 25.71
  • Published

compute-skewness

Computes the sample skewness of an array of values.

  • v1.0.1
  • 25.63
  • Published

compute-hamming

Computes the Hamming distance between two sequences.

  • v1.1.0
  • 25.54
  • Published

compute-truncmean

Computes the truncated mean of an array.

  • v1.0.1
  • 25.19
  • Published

compute-mode

Computes the mode of an array.

  • v1.0.0
  • 25.11
  • Published

compute-sum

Computes the sum.

  • v2.0.0
  • 25.07
  • Published

compute-mmean

Computes a moving arithmetic mean over an array.

  • v1.1.0
  • 25.01
  • Published

compute-linspace

Generates a linearly spaced numeric array.

  • v1.0.0
  • 24.89
  • Published

flow.io

Collection of Node.js streams

  • v1.22.0
  • 24.82
  • Published

compute-lmidmean

Computes the lower interquartile mean (lower midmean) of a numeric array.

  • v1.0.1
  • 24.68
  • Published

compute-umidmean

Computes the upper interquartile mean (upper midmean) of a numeric array.

  • v1.0.1
  • 24.62
  • Published

compute-trimean

Computes the trimean of a numeric array.

  • v1.0.0
  • 24.54
  • Published

compute-divide

Computes an element-wise division.

  • v2.0.0
  • 24.50
  • Published

compute-sqrt

Computes an element-wise principal square root.

  • v3.0.1
  • 24.44
  • Published

compute-subtract

Computes an element-wise subtraction.

  • v2.0.0
  • 24.44
  • Published

compute-geq

Computes an element-wise comparison (greater than or equal to) of an array.

  • v1.1.0
  • 24.43
  • Published

compute-midsummary

Computes a trimmed midrange of a numeric array

  • v1.0.3
  • 24.40
  • Published

compute-incrmstdev

Provides a method to compute a moving sample standard deviation incrementally.

  • v1.0.1
  • 24.38
  • Published

compute-unique

Removes duplicate values from a numeric array.

  • v1.0.1
  • 24.33
  • Published

compute-logspace

Generates a logarithmically spaced numeric array.

  • v1.0.0
  • 24.28
  • Published

compute-incrdatespace

Generates an array of linearly spaced dates using a provided increment.

  • v1.0.0
  • 24.28
  • Published

compute-incrspace

Generates a linearly spaced numeric array using a provided increment.

  • v1.0.2
  • 24.22
  • Published

compute-multiply

Computes an element-wise multiplication of a numeric array.

  • v1.0.0
  • 24.20
  • Published

compute-leq

Computes an element-wise comparison (less than or equal to) of an array.

  • v1.1.0
  • 24.18
  • Published

compute-max

Computes the maximum value of a numeric array.

  • v1.0.1
  • 24.18
  • Published

compute-incrmean

Provides a method to compute an arithmetic mean incrementally.

  • v1.0.2
  • 24.18
  • Published

compute-lpnorm

Computes the Lp norm of an array of values.

  • v1.0.0
  • 24.16
  • Published

compute-unzip

Unzips a zipped array (i.e., a nested array of tuples).

  • v1.0.1
  • 24.10
  • Published

compute-incrmsum

Provides a method to compute a moving sum incrementally.

  • v1.0.2
  • 24.10
  • Published

compute-add

Computes an element-wise addition.

  • v2.0.0
  • 24.08
  • Published

compute-diff

Computes the differences between adjacent elements in an array of values.

  • v1.0.0
  • 24.08
  • Published

compute-l1norm

Computes the L1 norm (Manhattan norm) of an array of values.

  • v1.0.0
  • 24.08
  • Published

compute-incrmax

Provides a method to compute a maximum value incrementally.

  • v1.0.1
  • 24.06
  • Published

compute-range

Computes the arithmetic range of an array.

  • v1.1.0
  • 24.06
  • Published

compute-mprod

Computes a moving product over an array.

  • v1.0.0
  • 24.03
  • Published

compute-nanstdev

Computes the sample standard deviation over an array of values ignoring any values which are not numeric.

  • v1.0.0
  • 24.03
  • Published

compute-min

Computes the minimum value of an array.

  • v1.0.1
  • 24.00
  • Published

compute-midhinge

Computes the midhinge of a numeric array.

  • v1.0.1
  • 23.97
  • Published

compute-lt

Computes an element-wise comparison (less than) of an array.

  • v1.1.0
  • 23.97
  • Published

compute-nangmean

Computes the geometric mean of an array of values ignoring any values which are not numeric.

  • v1.0.0
  • 23.97
  • Published

compute-gt

Computes an element-wise comparison (greater than) of an array.

  • v1.1.0
  • 23.96
  • Published

compute-shuffle

Shuffles array elements in place.

  • v1.0.0
  • 23.95
  • Published

compute-isinf

Computes for each array element whether an element is infinite.

  • v1.0.0
  • 23.93
  • Published

compute-mmax

Computes a moving maximum over a numeric array.

  • v1.0.0
  • 23.92
  • Published

compute-incrmvariance

Provides a method to compute a moving sample variance incrementally.

  • v1.0.2
  • 23.92
  • Published

compute-nanmean

Computes the arithmetic mean over an array of values ignoring any values which are not numeric.

  • v1.0.2
  • 23.92
  • Published

compute-idr

Computes the interdecile range of an array of values.

  • v1.0.1
  • 23.90
  • Published

compute-argmin

Computes the minimum value of a numeric array and returns the corresponding array indices.

  • v1.0.1
  • 23.89
  • Published

compute-cprod

Computes the cumulative product of an array.

  • v2.0.0
  • 23.87
  • Published

compute-nanhmean

Computes the harmonic mean of an array of values ignoring any values which are not numeric.

  • v1.0.0
  • 23.87
  • Published

compute-roundn

Round values to the nearest multiple of 10^n.

  • v1.0.3
  • 23.84
  • Published

compute-nanrange

Computes the arithmetic range of an array ignoring non-numeric values.

  • v1.0.0
  • 23.82
  • Published

compute-eq

Computes an element-wise comparison (equality) of an array.

  • v1.0.0
  • 23.82
  • Published

compute-isnan

Computes for each array element whether an element is NaN.

  • v1.0.0
  • 23.81
  • Published

compute-prod

Computes the product.

  • v2.0.3
  • 23.79
  • Published

compute-mmin

Computes a moving minimum over a numeric array.

  • v1.0.0
  • 23.75
  • Published

compute-isnumeric

Computes for each array element whether an element is numeric.

  • v1.0.0
  • 23.74
  • Published

compute-msum

Computes a moving sum over an array.

  • v1.1.0
  • 23.67
  • Published

compute-nanqmean

Computes the quadratic mean (root mean square) of an array of values ignoring any values which are not numeric.

  • v1.0.0
  • 23.67
  • Published

compute-neq

Computes an element-wise comparison (not equal) of an array.

  • v1.0.0
  • 23.67
  • Published

compute-abs

Computes an element-wise absolute value.

  • v3.0.0
  • 23.64
  • Published

compute-issorted

Returns a boolean indicating if an input array is sorted.

  • v1.0.0
  • 23.64
  • Published

compute-csum

Computes the cumulative sum of a numeric array.

  • v1.0.1
  • 23.64
  • Published

compute-midrange

Computes the mid-range of a numeric array.

  • v1.0.0
  • 23.64
  • Published

compute-incrmin

Provides a method to compute a minimum value incrementally.

  • v1.0.1
  • 23.63
  • Published

compute-nanquantiles

Computes quantiles for an array ignoring non-numeric values.

  • v1.0.0
  • 23.61
  • Published

compute-cmin

Computes the cumulative minimum of a numeric array.

  • v1.0.0
  • 23.61
  • Published

compute-mvariance

Computes a moving sample variance over a numeric array.

  • v1.0.0
  • 23.57
  • Published

compute-isinteger

Computes for each array element whether an element is an integer.

  • v1.0.1
  • 23.57
  • Published

compute-hypot

Computes the hypotenuse of a right triangle.

  • v1.0.0
  • 23.57
  • Published

compute-nansum

Computes the sum of an array ignoring non-numeric values.

  • v1.1.0
  • 23.54
  • Published

compute-wmean

Computes a weighted mean over an array of values.

  • v1.0.0
  • 23.50
  • Published

compute-linfnorm

Computes the infinity norm (Chebyshev/supremum norm) of an array of values.

  • v1.0.0
  • 23.47
  • Published

compute-argnanmax

Computes the maximum value of an array ignoring non-numeric values and returns the corresponding array indices.

  • v1.0.0
  • 23.47
  • Published

compute-isfinite

Computes for each array element whether an element is a finite number.

  • v1.0.0
  • 23.47
  • Published

compute-datespace

Generates an array of linearly spaced dates.

  • v1.0.1
  • 23.47
  • Published

compute-zip

Generates array tuples from input arrays.

  • v1.1.2
  • 23.47
  • Published

compute-mstdev

Computes a moving sample standard deviation over a numeric array.

  • v1.0.0
  • 23.43
  • Published

compute-incrsum

Provides a method to compute a sum incrementally.

  • v1.0.1
  • 23.40
  • Published

compute-incrstdev

Provides a method to compute a sample standard deviation incrementally.

  • v1.0.0
  • 23.40
  • Published

compute-nanmin

Computes the minimum value of an array ignoring non-numeric values.

  • v1.0.0
  • 23.36
  • Published

compute-nanvariance

Computes the sample variance over an array of values ignoring any values which are not numeric.

  • v1.0.0
  • 23.36
  • Published

compute-lcg

A linear congruential pseudorandom number generator (lcg).

  • v1.0.0
  • 23.36
  • Published

compute-incrvariance

Provides a method to compute a sample variance incrementally.

  • v1.0.0
  • 23.36
  • Published

compute-cross

Computes the cross product between two numeric arrays.

  • v1.0.0
  • 23.33
  • Published

biggest

biggest is helps you safely compute very large numbers.

    • v1.0.1
    • 23.29
    • Published

    compute-cmax

    Computes the cumulative maximum of a numeric array.

    • v1.0.0
    • 23.26
    • Published

    compute-find

    Finds array elements which satisfy a test condition.

    • v1.0.0
    • 23.25
    • Published

    compute-nanmax

    Computes the maximum value of an array ignoring non-numeric values.

    • v1.0.0
    • 23.25
    • Published

    compute-argnanmin

    Computes the minimum value of an array ignoring non-numeric values and returns the corresponding array indices.

    • v1.0.0
    • 23.22
    • Published

    compute-nanmedian

    Computes the median of an array ignoring non-numeric values.

    • v1.0.1
    • 23.22
    • Published

    compute-nanprod

    Computes the product of an array ignoring any non-numeric values.

    • v1.0.0
    • 23.18
    • Published

    compute-circshift

    Shifts array elements (or string characters) circularly.

    • v1.0.0
    • 22.96
    • Published

    math-cos

    Computes the cosine of a number.

    • v1.0.0
    • 22.76
    • Published

    math-sinpi

    Computes sin(πx).

    • v1.0.1
    • 22.59
    • Published

    js-spark

    Distributed calculation / data processing system. Run computation/jobs on 1000+ cores

    • v0.5.1
    • 22.57
    • Published

    math-sin

    Computes the sine of a number.

    • v1.0.0
    • 22.39
    • Published

    math-gammaln

    Natural logarithm of the gamma function.

    • v1.0.0
    • 22.07
    • Published

    mortgage-helpers

    A suite of JavaScript functions to compute mortgage values, such as monthly payments

    • v2.0.3
    • 22.03
    • Published

    feveriq

    A secure multi-party computation health check computation model.

    • v1.1.1
    • 21.75
    • Published

    math-float64-nextafter

    Returns the next representable double-precision floating-point number after x toward y.

    • v1.0.0
    • 21.45
    • Published

    math-tan

    Computes the tangent of a number.

    • v1.0.0
    • 21.23
    • Published

    summon-ts

    TypeScript build of the Summon compiler (via wasm).

    • v0.6.2
    • 20.62
    • Published

    @jovulic/flowstate

    A library for defining, executing, and persisting stateful computation.

    • v0.1.3
    • 19.69
    • Published

    mpc-framework

    MPC framework supporting a variety of circuit generators and backends

    • v0.3.0
    • 19.61
    • Published

    @sekwiatkowski/js-fp

    A pragmatic functional programming library for JavaScript/TypeScript

    • v0.18.2
    • 18.85
    • Published

    mpz-ts

    Backend for mpc-framework powered by privacy-scaling-explorations/mpz

    • v0.2.3
    • 18.46
    • Published

    reselectie

    Reselect and re-reselect alternative. Smaller, faster, greater flexibility, and better interface.

    • v1.0.2
    • 18.35
    • Published

    blas-idamax

    Finds the first element equal to the maximum absolute value of x and returns the element index.

    • v1.0.0
    • 18.02
    • Published

    uwal

    Unopinionated WebGPU Abstraction Library

    • v0.1.1
    • 17.80
    • Published

    @compute.ts/number

    Provide number operators for the computeTS package

      • v2.0.3
      • 17.65
      • Published

      math-round

      Rounds a numeric value to the nearest integer.

      • v1.0.0
      • 17.65
      • Published

      @fimbul-works/fimbul

      Fimbul is a TypeScript library for elegant dependency resolution in computation graphs - powerful, minimal, and blazingly fast.

      • v1.2.1
      • 17.48
      • Published

      blas-dnrm2

      Computes the L2 norm (Euclidean norm).

      • v1.0.0
      • 17.25
      • Published

      @compute.ts/math

      Provide math operators for the computeTS package

        • v2.1.0
        • 17.12
        • Published

        @vgerbot/lazy

        A library for defining lazily evaluated properties and variables powered by TypeScript.

        • v1.0.7
        • 16.90
        • Published

        math-gamma

        Gamma function.

        • v1.0.2
        • 16.38
        • Published

        cram.ui

        interface for computational room acoustics

        • v1.0.2
        • 16.27
        • Published

        parallel-memo-dom

        A browser library for offloading heavy computations to web workers with memoization

        • v1.1.0
        • 15.92
        • Published

        const-log2e

        Base 2 logarithm of Euler's number.

        • v1.0.0
        • 15.64
        • Published

        antifreeze2

        Tiny helper to prevent the event loop from getting stuck in asynchronous routines

        • v0.0.2
        • 15.61
        • Published

        math-float64-set-high-word

        Sets the more significant 32 bits of a double-precision floating-point number.

        • v1.0.0
        • 15.42
        • Published

        theorem.js

        A Math library for computation in JavaScript

        • v1.2.0
        • 15.42
        • Published

        blas-dcopy

        Copies values from x into y.

        • v1.0.1
        • 15.42
        • Published

        @hridel/modulo

        A robust modular arithmetic utility for JavaScript, handling both positive and negative integers with ease. Ensure consistent, non-negative results for your modulo operations. Perfect for mathematical computations, circular buffer implementations, and mor

        • v1.2.0
        • 15.26
        • Published

        math-float64-get-low-word

        Returns a 32-bit integer corresponding to the less significant 32 bits of a double-precision floating-point number.

        • v1.0.0
        • 15.10
        • Published

        float64-to-float32

        Converts a double-precision floating-point number to the nearest single-precision floating-point number.

        • v1.0.0
        • 14.96
        • Published

        blas-ddot

        Computes the dot product of x and y.

        • v1.0.0
        • 14.89
        • Published

        blas-dscal

        Scales elements of `x` by a constant `alpha`.

        • v1.0.0
        • 14.88
        • Published

        blas-dswap

        Interchanges the elements of x and y.

        • v1.0.0
        • 14.79
        • Published

        blas-dasum

        Computes the sum of absolute values (L1 norm).

        • v1.0.2
        • 14.70
        • Published

        compute-to-matrix

        Construct a matrix from an array of arrays.

        • v1.0.0
        • 14.59
        • Published

        blas-daxpy

        Multiplies x and a constant and adds the result to y.

        • v1.0.3
        • 14.45
        • Published

        @compute.ts/string

        Provide string operators for the computeTS package

          • v2.0.3
          • 14.42
          • Published

          blas

          Basic linear algebra subroutines (BLAS).

          • v0.2.7
          • 14.21
          • Published

          const-e

          Euler's number.

          • v1.0.1
          • 13.86
          • Published

          multiply-by-zero

          Multiplies a number by zero. Useful for when you need to multiply a number by zero.

          • v1.0.2
          • 13.64
          • Published

          @compute.ts/boolean

          Provide boolean operators for the computeTS package

            • v2.0.3
            • 13.55
            • Published

            math-float64-bits

            Returns a string giving the literal bit representation of a double-precision floating-point number.

            • v1.0.1
            • 13.55
            • Published

            math-powm1

            Computes bˣ - 1.

            • v1.0.0
            • 13.35
            • Published

            @compute.ts/core

            Core package for libraries creation

              • v2.1.4
              • 13.19
              • Published