JSPM

Found 384 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
  • 78.62
  • Published

compute-l2norm

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

  • v1.1.0
  • 71.34
  • Published

compute-dot

Computes the dot product between two numeric arrays.

  • v1.1.0
  • 70.41
  • Published

compute-dims

Computes array dimensions.

  • v1.1.0
  • 58.87
  • Published

math-float64-exponent

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

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

compute-indexspace

Generates a linearly spaced index array from a subsequence string.

  • v1.0.1
  • 47.37
  • Published

compute-median

Computes the median of an array.

  • v2.0.0
  • 47.34
  • Published

compute-dtype

Determines the underlying data type of an input value.

  • v1.0.0
  • 47.05
  • Published

compute-array-dtype

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

  • v1.0.1
  • 46.54
  • Published

dstructs-array-dtype

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

  • v1.0.2
  • 46.31
  • Published

dstructs-cast-arrays

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

  • v1.0.3
  • 45.42
  • Published

compute-quantile

Computes a quantile for a numeric array.

  • v1.0.1
  • 44.55
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 43.90
  • Published

compute-qmean

Computes the quadratic mean (root mean square).

  • v2.0.0
  • 42.67
  • Published

compute-incrmmean

Provides a method to compute a moving arithmetic mean incrementally.

  • v1.0.2
  • 41.91
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 41.68
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 41.44
  • Published

math-float64-to-words

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

  • v1.0.0
  • 41.14
  • Published

math-exp

Natural exponential function.

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

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 40.66
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 40.63
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 40.56
  • Published

compute-covariance

Computes the covariance between one or more numeric arrays.

  • v1.0.1
  • 40.40
  • Published

compute-argmax

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

  • v1.0.0
  • 40.37
  • Published

math-float64-normalize

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

  • v1.0.0
  • 40.34
  • Published

cpu-benchmark

Two functions that measure the computation power

  • v1.0.1
  • 40.09
  • 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.02
  • Published

math-erf

Error function.

  • v1.0.0
  • 39.96
  • Published

compute-stdev

Computes the sample standard deviation over an array of values.

  • v1.0.0
  • 39.75
  • Published

werkit

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

  • v0.34.0
  • 38.76
  • Published

compute-iqr

Computes the interquartile range for an array of values.

  • v1.1.0
  • 38.28
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 37.53
  • Published

compute-gmean

Computes the geometric mean of an array.

  • v1.1.0
  • 37.11
  • Published

compute-erfcinv

Inverse complementary error function.

  • v3.0.1
  • 37.03
  • Published

math-float64-frexp

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

  • v1.0.0
  • 36.97
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 36.89
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 34.67
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 33.84
  • Published

compute-erf

Error function.

  • v3.0.3
  • 33.80
  • Published

compute-pcorr

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

  • v1.0.0
  • 33.78
  • Published

compute-kurtosis

Computes the sample excess kurtosis of an array of values.

  • v1.0.0
  • 33.32
  • Published

compute-skewness

Computes the sample skewness of an array of values.

  • v1.0.1
  • 33.03
  • Published

math-ln

Natural logarithm.

  • v1.0.0
  • 32.94
  • Published

math-float32-to-binary-string

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

  • v1.0.0
  • 32.88
  • Published

math-power

Exponential function.

  • v1.0.0
  • 32.70
  • Published

compute.io

Computation library.

  • v0.106.0
  • 32.02
  • Published

compute-erfc

Complementary error function.

  • v3.0.1
  • 31.93
  • Published

compute-mean

Computes the arithmetic mean.

  • v3.0.0
  • 31.93
  • Published

compute-hamming

Computes the Hamming distance between two sequences.

  • v1.1.0
  • 31.60
  • Published

compute-truncmean

Computes the truncated mean of an array.

  • v1.0.1
  • 31.52
  • Published

compute-mmean

Computes a moving arithmetic mean over an array.

  • v1.1.0
  • 31.26
  • Published

jlouvain.js

Community detection algorithm

  • v1.0.0
  • 31.23
  • Published

compute-sum

Computes the sum.

  • v2.0.0
  • 31.17
  • Published

compute-unzip

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

  • v1.0.1
  • 31.14
  • Published

compute-incrmstdev

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

  • v1.0.1
  • 31.10
  • Published

compute-incrmax

Provides a method to compute a maximum value incrementally.

  • v1.0.1
  • 31.10
  • Published

compute-nanstdev

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

  • v1.0.0
  • 31.09
  • Published

compute-mode

Computes the mode of an array.

  • v1.0.0
  • 31.03
  • Published

compute-logspace

Generates a logarithmically spaced numeric array.

  • v1.0.0
  • 30.96
  • Published

compute-umidmean

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

  • v1.0.1
  • 30.93
  • Published

compute-linspace

Generates a linearly spaced numeric array.

  • v1.0.0
  • 30.90
  • Published

compute-incrmsum

Provides a method to compute a moving sum incrementally.

  • v1.0.2
  • 30.88
  • Published

compute-geq

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

  • v1.1.0
  • 30.88
  • Published

compute-hmean

Computes the harmonic mean over an array of values.

  • v1.0.0
  • 30.82
  • Published

compute-nanmean

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

  • v1.0.2
  • 30.81
  • Published

compute-mmax

Computes a moving maximum over a numeric array.

  • v1.0.0
  • 30.81
  • Published

compute-multiply

Computes an element-wise multiplication of a numeric array.

  • v1.0.0
  • 30.80
  • Published

compute-argmin

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

  • v1.0.1
  • 30.80
  • Published

compute-trimean

Computes the trimean of a numeric array.

  • v1.0.0
  • 30.79
  • Published

compute-add

Computes an element-wise addition.

  • v2.0.0
  • 30.79
  • Published

compute-incrmvariance

Provides a method to compute a moving sample variance incrementally.

  • v1.0.2
  • 30.77
  • Published

compute-shuffle

Shuffles array elements in place.

  • v1.0.0
  • 30.76
  • Published

compute-divide

Computes an element-wise division.

  • v2.0.0
  • 30.76
  • Published

compute-leq

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

  • v1.1.0
  • 30.76
  • Published

compute-range

Computes the arithmetic range of an array.

  • v1.1.0
  • 30.76
  • Published

compute-isnumeric

Computes for each array element whether an element is numeric.

  • v1.0.0
  • 30.76
  • Published

compute-diff

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

  • v1.0.0
  • 30.74
  • Published

compute-l1norm

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

  • v1.0.0
  • 30.74
  • Published

compute-incrmin

Provides a method to compute a minimum value incrementally.

  • v1.0.1
  • 30.71
  • Published

compute-incrdatespace

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

  • v1.0.0
  • 30.70
  • Published

compute-isnan

Computes for each array element whether an element is NaN.

  • v1.0.0
  • 30.70
  • Published

compute-sqrt

Computes an element-wise principal square root.

  • v3.0.1
  • 30.70
  • Published

compute-min

Computes the minimum value of an array.

  • v1.0.1
  • 30.70
  • Published

compute-incrmean

Provides a method to compute an arithmetic mean incrementally.

  • v1.0.2
  • 30.70
  • Published

compute-lmidmean

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

  • v1.0.1
  • 30.67
  • Published

compute-nanrange

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

  • v1.0.0
  • 30.67
  • Published

compute-mprod

Computes a moving product over an array.

  • v1.0.0
  • 30.66
  • Published

compute-gt

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

  • v1.1.0
  • 30.63
  • Published

compute-max

Computes the maximum value of a numeric array.

  • v1.0.1
  • 30.63
  • Published

compute-eq

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

  • v1.0.0
  • 30.62
  • Published

compute-mmin

Computes a moving minimum over a numeric array.

  • v1.0.0
  • 30.61
  • Published

compute-nangmean

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

  • v1.0.0
  • 30.61
  • Published

compute-subtract

Computes an element-wise subtraction.

  • v2.0.0
  • 30.59
  • Published

compute-lpnorm

Computes the Lp norm of an array of values.

  • v1.0.0
  • 30.59
  • Published

compute-prod

Computes the product.

  • v2.0.3
  • 30.58
  • Published

compute-nanquantiles

Computes quantiles for an array ignoring non-numeric values.

  • v1.0.0
  • 30.56
  • Published

compute-wmean

Computes a weighted mean over an array of values.

  • v1.0.0
  • 30.55
  • Published

compute-argnanmax

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

  • v1.0.0
  • 30.54
  • Published

const-pi

Pi.

  • v1.0.3
  • 30.49
  • Published

compute-midmean

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

  • v1.0.3
  • 30.47
  • Published

compute-idr

Computes the interdecile range of an array of values.

  • v1.0.1
  • 30.23
  • Published

compute-isinf

Computes for each array element whether an element is infinite.

  • v1.0.0
  • 30.22
  • Published

compute-nanmax

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

  • v1.0.0
  • 30.21
  • Published

compute-neq

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

  • 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.20
  • Published

compute-zip

Generates array tuples from input arrays.

  • v1.1.2
  • 30.20
  • Published

compute-midhinge

Computes the midhinge of a numeric array.

  • v1.0.1
  • 30.19
  • Published

compute-hypot

Computes the hypotenuse of a right triangle.

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

compute-abs

Computes an element-wise absolute value.

  • v3.0.0
  • 30.17
  • Published

compute-incrsum

Provides a method to compute a sum incrementally.

  • v1.0.1
  • 30.17
  • Published

compute-unique

Removes duplicate values from a numeric array.

  • v1.0.1
  • 30.17
  • Published

compute-find

Finds array elements which satisfy a test condition.

  • v1.0.0
  • 30.17
  • Published

compute-isinteger

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

  • v1.0.1
  • 30.17
  • Published

compute-midsummary

Computes a trimmed midrange of a numeric array

  • v1.0.3
  • 30.16
  • Published

compute-lt

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

  • v1.1.0
  • 30.16
  • Published

compute-nanmedian

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

  • v1.0.1
  • 30.16
  • Published

compute-cross

Computes the cross product between two numeric arrays.

  • v1.0.0
  • 30.16
  • Published

compute-circshift

Shifts array elements (or string characters) circularly.

  • v1.0.0
  • 30.16
  • Published

compute-cprod

Computes the cumulative product of an array.

  • v2.0.0
  • 30.11
  • Published

compute-csum

Computes the cumulative sum of a numeric array.

  • v1.0.1
  • 30.10
  • Published

compute-roundn

Round values to the nearest multiple of 10^n.

  • v1.0.3
  • 30.10
  • Published

compute-midrange

Computes the mid-range of a numeric array.

  • v1.0.0
  • 30.09
  • Published

compute-nanprod

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

  • v1.0.0
  • 30.09
  • Published

compute-cmin

Computes the cumulative minimum of a numeric array.

  • v1.0.0
  • 30.07
  • Published

compute-isfinite

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

  • v1.0.0
  • 30.07
  • Published

compute-nansum

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

  • v1.1.0
  • 30.07
  • Published

compute-issorted

Returns a boolean indicating if an input array is sorted.

  • v1.0.0
  • 30.06
  • Published

compute-incrstdev

Provides a method to compute a sample standard deviation incrementally.

  • v1.0.0
  • 30.04
  • Published

compute-incrvariance

Provides a method to compute a sample variance incrementally.

  • v1.0.0
  • 30.04
  • Published

compute-datespace

Generates an array of linearly spaced dates.

  • v1.0.1
  • 30.04
  • Published

compute-mvariance

Computes a moving sample variance over a numeric array.

  • v1.0.0
  • 29.99
  • Published

compute-mstdev

Computes a moving sample standard deviation over a numeric array.

  • v1.0.0
  • 29.98
  • Published

compute-linfnorm

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

  • v1.0.0
  • 29.97
  • Published

compute-msum

Computes a moving sum over an array.

  • v1.1.0
  • 29.96
  • Published

compute-incrspace

Generates a linearly spaced numeric array using a provided increment.

  • v1.0.2
  • 29.94
  • Published

compute-nanmin

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

  • v1.0.0
  • 29.92
  • Published

compute-cmax

Computes the cumulative maximum of a numeric array.

  • v1.0.0
  • 29.92
  • Published

compute-argnanmin

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

  • v1.0.0
  • 29.89
  • Published

compute-nanvariance

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

  • v1.0.0
  • 29.88
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 26.76
  • Published

math-sinpi

Computes sin(Ï€x).

  • v1.0.1
  • 25.92
  • Published

timebucket

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

  • v0.4.0
  • 25.57
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 24.78
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 24.71
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 24.65
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 24.43
  • Published

uwal

Unopinionated WebGPU Abstraction Library

  • v0.1.1
  • 24.39
  • 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.31
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 20.74
  • Published

@bryntum/chronograph

Reactive computational engine, with novel and unique properties

  • v2.0.3
  • 18.54
  • Published

summon-ts

TypeScript build of the Summon compiler (via wasm).

  • v0.6.2
  • 17.31
  • Published

@wry/task

Promise-compatible asynchronous computation primitive

  • v0.3.8
  • 16.54
  • Published

mpc-framework

MPC framework supporting a variety of circuit generators and backends

  • v0.3.0
  • 16.54
  • Published

reselectie

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

  • v1.0.2
  • 16.46
  • Published

mpz-ts

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

  • v0.2.3
  • 16.17
  • Published

emp-wasm-engine

Engine for mpc-framework powered by emp-toolkit

  • v0.5.4
  • 15.94
  • Published

@jovulic/flowstate

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

  • v0.1.3
  • 15.80
  • Published

js-spark

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

  • v0.5.1
  • 15.17
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 14.83
  • Published

@compute.ts/math

Provide math operators for the computeTS package

    • v2.1.0
    • 14.37
    • Published

    blas

    Basic linear algebra subroutines (BLAS).

    • v0.2.7
    • 13.45
    • Published

    float64-to-float32

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

    • v1.0.0
    • 13.10
    • Published

    math-float32-from-bits

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

    • v1.0.1
    • 12.68
    • Published

    antifreeze2

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

    • v0.0.2
    • 12.61
    • Published

    blas-dnrm2

    Computes the L2 norm (Euclidean norm).

    • v1.0.0
    • 12.40
    • Published

    @compute.ts/array

    Provide array operators for the computeTS package

      • v2.1.1
      • 12.26
      • Published

      parallel-memo-dom

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

      • v1.1.0
      • 12.07
      • Published

      compute-fliplr

      Flips a matrix horizontally.

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

      math-float64-bits

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

      • v1.0.1
      • 11.72
      • Published

      feveriq

      A secure multi-party computation health check computation model.

      • v1.1.1
      • 11.53
      • Published

      compute-betaln

      Evaluates the natural logarithm of the beta function.

      • v0.0.0
      • 11.39
      • Published

      math-powm1

      Computes bˣ - 1.

      • v1.0.0
      • 11.09
      • Published

      @vgerbot/lazy

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

      • v1.0.7
      • 11.07
      • Published

      math-float32-significand

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

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

      theorem.js

      A Math library for computation in JavaScript

      • v1.2.0
      • 10.74
      • Published

      math-float64-from-bits

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

      • v1.0.0
      • 10.71
      • Published

      math-float32-nextafter

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

      • v1.0.0
      • 10.69
      • Published

      @swyg/memo

      💾 Memoize a function the way you want.

      • v1.0.3
      • 10.69
      • Published

      const-apery

      Apéry's constant.

      • v1.0.0
      • 10.28
      • Published

      compute-nans

      Creates a NaN-filled matrix or array.

      • v1.0.0
      • 10.25
      • Published

      @compute.ts/number

      Provide number operators for the computeTS package

        • v2.0.3
        • 10.13
        • Published

        multiply-by-zero

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

        • v1.0.2
        • 10.08
        • Published

        numlab

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

        • v0.2.0
        • 9.89
        • Published

        math-roundn

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

        • v1.0.0
        • 9.65
        • Published

        blas-dcopy

        Copies values from x into y.

        • v1.0.1
        • 9.41
        • Published

        const-log2e

        Base 2 logarithm of Euler's number.

        • v1.0.0
        • 9.39
        • Published

        compute-rot90

        Rotates a matrix by 90 degrees.

        • v1.0.0
        • 9.36
        • Published

        @compute.ts/boolean

        Provide boolean operators for the computeTS package

          • v2.0.3
          • 9.34
          • Published

          formula-store

          A package to handle formula calculations and dependency management

          • v1.3.2
          • 9.34
          • Published