JSPM

Found 385 results for computation

dstructs-cast-arrays

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

  • v1.0.3
  • 45.44
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 44.16
  • Published

compute-quantile

Computes a quantile for a numeric array.

  • v1.0.1
  • 43.82
  • Published

compute-qmean

Computes the quadratic mean (root mean square).

  • v2.0.0
  • 43.12
  • Published

compute-incrmmean

Provides a method to compute a moving arithmetic mean incrementally.

  • v1.0.2
  • 42.15
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 41.92
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 41.67
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 41.47
  • Published

math-float64-to-words

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

  • v1.0.0
  • 41.23
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 41.09
  • 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.01
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 40.96
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 40.80
  • Published

math-float64-normalize

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

  • v1.0.0
  • 40.53
  • Published

cpu-benchmark

Two functions that measure the computation power

  • v1.0.1
  • 40.51
  • Published

compute-argmax

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

  • v1.0.0
  • 40.45
  • Published

compute-covariance

Computes the covariance between one or more numeric arrays.

  • v1.0.1
  • 40.33
  • Published

math-erf

Error function.

  • v1.0.0
  • 40.20
  • 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.03
  • Published

compute-stdev

Computes the sample standard deviation over an array of values.

  • v1.0.0
  • 39.98
  • Published

werkit

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

  • v0.34.0
  • 38.84
  • Published

compute-iqr

Computes the interquartile range for an array of values.

  • v1.1.0
  • 38.21
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 37.55
  • Published

compute-gmean

Computes the geometric mean of an array.

  • v1.1.0
  • 37.50
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 37.18
  • Published

math-float64-frexp

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

  • v1.0.0
  • 37.18
  • Published

compute-erfcinv

Inverse complementary error function.

  • v3.0.1
  • 36.97
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 35.03
  • Published

compute-erf

Error function.

  • v3.0.3
  • 33.95
  • Published

compute-pcorr

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

  • v1.0.0
  • 33.94
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 33.85
  • Published

compute-kurtosis

Computes the sample excess kurtosis of an array of values.

  • v1.0.0
  • 33.38
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 33.28
  • Published

math-float32-to-binary-string

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

  • v1.0.0
  • 33.08
  • Published

compute-skewness

Computes the sample skewness of an array of values.

  • v1.0.1
  • 32.97
  • Published

math-power

Exponential function.

  • v1.0.0
  • 32.96
  • Published

compute.io

Computation library.

  • v0.106.0
  • 32.35
  • Published

compute-erfc

Complementary error function.

  • v3.0.1
  • 32.08
  • Published

compute-mean

Computes the arithmetic mean.

  • v3.0.0
  • 31.99
  • Published

compute-hamming

Computes the Hamming distance between two sequences.

  • v1.1.0
  • 31.55
  • Published

compute-truncmean

Computes the truncated mean of an array.

  • v1.0.1
  • 31.46
  • Published

compute-umidmean

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

  • v1.0.1
  • 31.26
  • Published

compute-linspace

Generates a linearly spaced numeric array.

  • v1.0.0
  • 31.23
  • Published

compute-mmean

Computes a moving arithmetic mean over an array.

  • v1.1.0
  • 31.21
  • Published

compute-incrmsum

Provides a method to compute a moving sum incrementally.

  • v1.0.2
  • 31.20
  • Published

compute-geq

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

  • v1.1.0
  • 31.20
  • Published

jlouvain.js

Community detection algorithm

  • v1.0.0
  • 31.18
  • Published

compute-nanmean

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

  • v1.0.2
  • 31.13
  • Published

compute-mmax

Computes a moving maximum over a numeric array.

  • v1.0.0
  • 31.13
  • Published

compute-multiply

Computes an element-wise multiplication of a numeric array.

  • v1.0.0
  • 31.12
  • Published

compute-argmin

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

  • v1.0.1
  • 31.12
  • Published

compute-sum

Computes the sum.

  • v2.0.0
  • 31.11
  • Published

compute-incrmvariance

Provides a method to compute a moving sample variance incrementally.

  • v1.0.2
  • 31.09
  • Published

compute-mode

Computes the mode of an array.

  • v1.0.0
  • 31.09
  • Published

compute-unzip

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

  • v1.0.1
  • 31.08
  • Published

compute-range

Computes the arithmetic range of an array.

  • v1.1.0
  • 31.08
  • Published

compute-isnumeric

Computes for each array element whether an element is numeric.

  • v1.0.0
  • 31.08
  • Published

compute-incrmstdev

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

  • v1.0.1
  • 31.04
  • Published

compute-incrmax

Provides a method to compute a maximum value incrementally.

  • v1.0.1
  • 31.04
  • Published

compute-nanstdev

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

  • v1.0.0
  • 31.03
  • Published

compute-logspace

Generates a logarithmically spaced numeric array.

  • v1.0.0
  • 31.02
  • Published

compute-hmean

Computes the harmonic mean over an array of values.

  • v1.0.0
  • 31.01
  • Published

compute-trimean

Computes the trimean of a numeric array.

  • v1.0.0
  • 30.98
  • Published

compute-sqrt

Computes an element-wise principal square root.

  • v3.0.1
  • 30.88
  • Published

compute-min

Computes the minimum value of an array.

  • v1.0.1
  • 30.88
  • Published

compute-incrmean

Provides a method to compute an arithmetic mean incrementally.

  • v1.0.2
  • 30.88
  • Published

compute-nanrange

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

  • v1.0.0
  • 30.85
  • Published

compute-add

Computes an element-wise addition.

  • v2.0.0
  • 30.85
  • Published

compute-shuffle

Shuffles array elements in place.

  • v1.0.0
  • 30.83
  • Published

compute-divide

Computes an element-wise division.

  • v2.0.0
  • 30.83
  • Published

compute-leq

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

  • v1.1.0
  • 30.83
  • Published

compute-lmidmean

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

  • v1.0.1
  • 30.81
  • Published

compute-max

Computes the maximum value of a numeric array.

  • v1.0.1
  • 30.81
  • Published

compute-diff

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

  • v1.0.0
  • 30.81
  • Published

compute-l1norm

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

  • v1.0.0
  • 30.81
  • Published

compute-mprod

Computes a moving product over an array.

  • v1.0.0
  • 30.80
  • Published

compute-eq

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

  • v1.0.0
  • 30.80
  • Published

compute-nangmean

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

  • v1.0.0
  • 30.79
  • Published

compute-incrmin

Provides a method to compute a minimum value incrementally.

  • v1.0.1
  • 30.77
  • Published

compute-gt

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

  • v1.1.0
  • 30.77
  • Published

compute-incrdatespace

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

  • v1.0.0
  • 30.76
  • Published

compute-isnan

Computes for each array element whether an element is NaN.

  • v1.0.0
  • 30.76
  • Published

compute-mmin

Computes a moving minimum over a numeric array.

  • v1.0.0
  • 30.75
  • Published

compute-subtract

Computes an element-wise subtraction.

  • v2.0.0
  • 30.73
  • Published

compute-lpnorm

Computes the Lp norm of an array of values.

  • v1.0.0
  • 30.73
  • Published

compute-prod

Computes the product.

  • v2.0.3
  • 30.72
  • Published

compute-nanquantiles

Computes quantiles for an array ignoring non-numeric values.

  • v1.0.0
  • 30.70
  • Published

compute-wmean

Computes a weighted mean over an array of values.

  • v1.0.0
  • 30.69
  • Published

compute-argnanmax

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

  • v1.0.0
  • 30.68
  • Published

const-pi

Pi.

  • v1.0.3
  • 30.66
  • Published

compute-midmean

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

  • v1.0.3
  • 30.48
  • Published

compute-idr

Computes the interdecile range of an array of values.

  • v1.0.1
  • 30.40
  • Published

compute-isinf

Computes for each array element whether an element is infinite.

  • v1.0.0
  • 30.39
  • Published

compute-nanmax

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

  • v1.0.0
  • 30.38
  • Published

compute-neq

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

  • v1.0.0
  • 30.38
  • Published

compute-zip

Generates array tuples from input arrays.

  • v1.1.2
  • 30.37
  • Published

compute-hypot

Computes the hypotenuse of a right triangle.

  • v1.0.0
  • 30.36
  • 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
  • 30.35
  • Published

compute-incrsum

Provides a method to compute a sum incrementally.

  • v1.0.1
  • 30.34
  • Published

compute-unique

Removes duplicate values from a numeric array.

  • v1.0.1
  • 30.34
  • Published

compute-find

Finds array elements which satisfy a test condition.

  • v1.0.0
  • 30.34
  • Published

compute-isinteger

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

  • v1.0.1
  • 30.34
  • Published

compute-nanmedian

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

  • v1.0.1
  • 30.33
  • Published

compute-cross

Computes the cross product between two numeric arrays.

  • v1.0.0
  • 30.33
  • Published

compute-circshift

Shifts array elements (or string characters) circularly.

  • v1.0.0
  • 30.33
  • Published

compute-mvariance

Computes a moving sample variance over a numeric array.

  • v1.0.0
  • 30.23
  • Published

compute-mstdev

Computes a moving sample standard deviation over a numeric array.

  • v1.0.0
  • 30.22
  • Published

compute-linfnorm

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

  • v1.0.0
  • 30.21
  • Published

compute-nanhmean

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

  • v1.0.0
  • 30.21
  • Published

compute-msum

Computes a moving sum over an array.

  • v1.1.0
  • 30.20
  • Published

compute-midhinge

Computes the midhinge of a numeric array.

  • v1.0.1
  • 30.20
  • Published

compute-abs

Computes an element-wise absolute value.

  • v3.0.0
  • 30.18
  • Published

compute-incrspace

Generates a linearly spaced numeric array using a provided increment.

  • v1.0.2
  • 30.18
  • Published

compute-midsummary

Computes a trimmed midrange of a numeric array

  • v1.0.3
  • 30.17
  • Published

compute-lt

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

  • v1.1.0
  • 30.17
  • Published

compute-nanmin

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

  • v1.0.0
  • 30.16
  • Published

compute-cmax

Computes the cumulative maximum of a numeric array.

  • v1.0.0
  • 30.16
  • Published

compute-argnanmin

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

  • v1.0.0
  • 30.13
  • Published

compute-cprod

Computes the cumulative product of an array.

  • v2.0.0
  • 30.12
  • Published

compute-nanvariance

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

  • v1.0.0
  • 30.12
  • Published

compute-csum

Computes the cumulative sum of a numeric array.

  • v1.0.1
  • 30.11
  • Published

compute-roundn

Round values to the nearest multiple of 10^n.

  • v1.0.3
  • 30.11
  • Published

compute-midrange

Computes the mid-range of a numeric array.

  • v1.0.0
  • 30.10
  • Published

compute-nanprod

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

  • v1.0.0
  • 30.10
  • Published

compute-cmin

Computes the cumulative minimum of a numeric array.

  • v1.0.0
  • 30.08
  • Published

compute-isfinite

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

  • v1.0.0
  • 30.08
  • Published

compute-nansum

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

  • v1.1.0
  • 30.08
  • Published

compute-issorted

Returns a boolean indicating if an input array is sorted.

  • v1.0.0
  • 30.07
  • Published

compute-incrstdev

Provides a method to compute a sample standard deviation incrementally.

  • v1.0.0
  • 30.05
  • Published

compute-incrvariance

Provides a method to compute a sample variance incrementally.

  • v1.0.0
  • 30.05
  • Published

compute-datespace

Generates an array of linearly spaced dates.

  • v1.0.1
  • 30.05
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 26.77
  • Published

uwal

Unopinionated WebGPU Abstraction Library

  • v0.1.1
  • 26.31
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 25.87
  • Published

timebucket

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

  • v0.4.0
  • 25.62
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 24.90
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 24.85
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 24.79
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 24.48
  • Published

compute-lcg

A linear congruential pseudorandom number generator (lcg).

  • v1.0.0
  • 23.68
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 21.53
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 20.75
  • Published

@bryntum/chronograph

Reactive computational engine, with novel and unique properties

  • v2.0.3
  • 18.62
  • Published

summon-ts

TypeScript build of the Summon compiler (via wasm).

  • v0.6.2
  • 17.41
  • Published

@wry/task

Promise-compatible asynchronous computation primitive

  • v0.3.8
  • 16.62
  • Published

mpc-framework

MPC framework supporting a variety of circuit generators and backends

  • v0.3.0
  • 16.62
  • Published

reselectie

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

  • v1.0.2
  • 16.59
  • Published

mpz-ts

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

  • v0.2.3
  • 16.27
  • Published

emp-wasm-engine

Engine for mpc-framework powered by emp-toolkit

  • v0.5.4
  • 16.06
  • Published

@jovulic/flowstate

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

  • v0.1.3
  • 15.92
  • Published

js-spark

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

  • v0.5.1
  • 15.26
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 14.91
  • Published

@compute.ts/math

Provide math operators for the computeTS package

    • v2.1.0
    • 14.52
    • Published

    blas

    Basic linear algebra subroutines (BLAS).

    • v0.2.7
    • 13.52
    • Published

    float64-to-float32

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

    • v1.0.0
    • 13.21
    • Published

    math-float32-from-bits

    Creates a single-precision floating-point number from a literal bit representation.

    • v1.0.1
    • 12.70
    • Published

    antifreeze2

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

    • v0.0.2
    • 12.67
    • Published

    blas-dnrm2

    Computes the L2 norm (Euclidean norm).

    • v1.0.0
    • 12.42
    • Published

    @compute.ts/array

    Provide array operators for the computeTS package

      • v2.1.1
      • 12.24
      • Published

      parallel-memo-dom

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

      • v1.1.0
      • 12.14
      • Published

      math-float64-to-binary-string

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

      • v1.0.1
      • 11.96
      • Published

      compute-fliplr

      Flips a matrix horizontally.

      • v1.0.0
      • 11.92
      • Published

      math-float64-bits

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

      • v1.0.1
      • 11.78
      • Published

      compute-betaln

      Evaluates the natural logarithm of the beta function.

      • v0.0.0
      • 11.78
      • Published

      feveriq

      A secure multi-party computation health check computation model.

      • v1.1.1
      • 11.53
      • Published

      @vgerbot/lazy

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

      • v1.0.7
      • 11.13
      • Published

      math-powm1

      Computes bˣ - 1.

      • v1.0.0
      • 11.12
      • Published

      math-float32-significand

      Returns an integer corresponding to the significand of a single-precision floating-point number.

      • v1.0.0
      • 11.09
      • Published

      const-e

      Euler's number.

      • v1.0.1
      • 10.86
      • Published

      math-signum

      Signum function.

      • v1.0.0
      • 10.86
      • Published

      const-phi

      Golden ratio.

      • v1.0.2
      • 10.85
      • Published

      theorem.js

      A Math library for computation in JavaScript

      • v1.2.0
      • 10.85
      • Published

      math-float32-nextafter

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

      • v1.0.0
      • 10.75
      • Published

      @swyg/memo

      💾 Memoize a function the way you want.

      • v1.0.3
      • 10.75
      • Published

      math-float64-from-bits

      Creates a double-precision floating-point number from a literal bit representation.

      • v1.0.0
      • 10.74
      • Published

      const-apery

      Apéry's constant.

      • v1.0.0
      • 10.34
      • Published

      compute-nans

      Creates a NaN-filled matrix or array.

      • v1.0.0
      • 10.30
      • Published

      @compute.ts/number

      Provide number operators for the computeTS package

        • v2.0.3
        • 10.19
        • Published

        multiply-by-zero

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

        • v1.0.2
        • 10.09
        • Published

        numlab

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

        • v0.2.0
        • 9.99
        • Published

        math-roundn

        Rounds a numeric value to the nearest multiple of 10^n.

        • v1.0.0
        • 9.66
        • Published

        blas-dcopy

        Copies values from x into y.

        • v1.0.1
        • 9.51
        • Published

        compute-rot90

        Rotates a matrix by 90 degrees.

        • v1.0.0
        • 9.42
        • Published

        const-log2e

        Base 2 logarithm of Euler's number.

        • v1.0.0
        • 9.41
        • Published

        @compute.ts/boolean

        Provide boolean operators for the computeTS package

          • v2.0.3
          • 9.38
          • Published

          formula-store

          A package to handle formula calculations and dependency management

          • v1.3.2
          • 9.38
          • Published

          const-ln2

          Natural logarithm of 2.

          • v1.0.0
          • 9.22
          • Published

          @compute.ts/date

          Provide date operators for the computeTS package

            • v2.0.3
            • 9.22
            • Published

            @compute.ts/core

            Core package for libraries creation

              • v2.1.4
              • 9.19
              • Published

              blas-dscal

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

              • v1.0.0
              • 8.97
              • Published

              @sekwiatkowski/js-fp

              A pragmatic functional programming library for JavaScript/TypeScript

              • v0.18.2
              • 8.88
              • Published

              safebase

              safebase is helps you safely compute very large numbers.

                • v1.0.0
                • 8.86
                • Published

                compute-cast-arrays

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

                • v1.0.1
                • 8.39
                • Published

                genes

                Genetic algorithms

                • v0.0.2
                • 8.31
                • Published

                tmicro

                Use this package for simple computation purpose

                  • v1.1.1
                  • 8.28
                  • 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
                  • 8.18
                  • Published

                  compute-intmax

                  Returns the maximum value of a specified integer type.

                  • v1.0.0
                  • 8.18
                  • 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
                  • 8.18
                  • Published

                  compute-ones

                  Creates a ones-filled matrix or array.

                  • v1.0.1
                  • 8.13
                  • Published