JSPM

Found 385 results for computation

compute-lcm

Computes the least common multiple (lcm).

  • v1.1.2
  • 79.85
  • Published

compute-gcd

Computes the greatest common divisor (gcd).

  • v1.2.1
  • 77.91
  • Published

compute-l2norm

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

  • v1.1.0
  • 71.64
  • Published

compute-dot

Computes the dot product between two numeric arrays.

  • v1.1.0
  • 70.75
  • Published

compute-dims

Computes array dimensions.

  • v1.1.0
  • 58.23
  • Published

math-float64-exponent

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

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

compute-median

Computes the median of an array.

  • v2.0.0
  • 47.51
  • Published

compute-indexspace

Generates a linearly spaced index array from a subsequence string.

  • v1.0.1
  • 47.50
  • Published

compute-dtype

Determines the underlying data type of an input value.

  • v1.0.0
  • 47.19
  • Published

compute-array-dtype

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

  • v1.0.1
  • 47.10
  • Published

dstructs-array-dtype

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

  • v1.0.2
  • 46.75
  • Published

dstructs-cast-arrays

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

  • v1.0.3
  • 45.29
  • Published

math-abs

Computes an absolute value.

  • v1.0.2
  • 44.31
  • Published

compute-quantile

Computes a quantile for a numeric array.

  • v1.0.1
  • 43.68
  • Published

compute-qmean

Computes the quadratic mean (root mean square).

  • v2.0.0
  • 43.19
  • Published

compute-incrmmean

Provides a method to compute a moving arithmetic mean incrementally.

  • v1.0.2
  • 42.24
  • Published

math-float64-set-low-word

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

  • v1.0.0
  • 42.07
  • Published

math-evalpoly

Evaluates a polynomial.

  • v1.1.0
  • 41.76
  • Published

math-float64-to-words

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

  • v1.0.0
  • 41.29
  • Published

math-floor

Rounds a numeric value toward negative infinity.

  • v1.0.1
  • 41.16
  • Published

math-ceil

Rounds a numeric value toward positive infinity.

  • v1.0.0
  • 41.08
  • Published

math-float64-ldexp

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

  • v1.0.1
  • 40.94
  • Published

cpu-benchmark

Two functions that measure the computation power

  • v1.0.1
  • 40.57
  • Published

compute-covariance

Computes the covariance between one or more numeric arrays.

  • v1.0.1
  • 40.52
  • Published

compute-argmax

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

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

math-erf

Error function.

  • v1.0.0
  • 40.34
  • Published

compute-stdev

Computes the sample standard deviation over an array of values.

  • v1.0.0
  • 40.06
  • Published

math-exp

Natural exponential function.

  • v1.0.0
  • 39.92
  • Published

math-float64-normalize

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

  • v1.0.0
  • 39.78
  • Published

math-float64-copysign

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

  • v1.0.0
  • 39.47
  • Published

werkit

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

  • v0.34.0
  • 38.91
  • Published

math-truncate

Rounds a numeric value toward zero.

  • v1.0.0
  • 38.72
  • Published

compute-iqr

Computes the interquartile range for an array of values.

  • v1.1.0
  • 38.39
  • Published

compute-gmean

Computes the geometric mean of an array.

  • v1.1.0
  • 37.56
  • 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.26
  • Published

compute-erfcinv

Inverse complementary error function.

  • v3.0.1
  • 37.14
  • Published

math-sqrt

Computes the principal square root.

  • v1.0.1
  • 36.98
  • Published

math-erfc

Complementary error function.

  • v1.0.0
  • 35.09
  • Published

math-hypot

Computes the square root of a sum of squares.

  • v1.0.0
  • 34.10
  • Published

compute-pcorr

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

  • v1.0.0
  • 33.72
  • Published

compute-kurtosis

Computes the sample excess kurtosis of an array of values.

  • v1.0.0
  • 33.44
  • Published

math-ln

Natural logarithm.

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

compute-skewness

Computes the sample skewness of an array of values.

  • v1.0.1
  • 33.13
  • Published

compute-erf

Error function.

  • v3.0.3
  • 32.90
  • Published

compute.io

Computation library.

  • v0.106.0
  • 32.40
  • Published

compute-mean

Computes the arithmetic mean.

  • v3.0.0
  • 32.05
  • Published

compute-hamming

Computes the Hamming distance between two sequences.

  • v1.1.0
  • 31.70
  • Published

math-power

Exponential function.

  • v1.0.0
  • 31.63
  • Published

compute-truncmean

Computes the truncated mean of an array.

  • v1.0.1
  • 31.61
  • Published

compute-mmean

Computes a moving arithmetic mean over an array.

  • v1.1.0
  • 31.36
  • Published

jlouvain.js

Community detection algorithm

  • v1.0.0
  • 31.33
  • Published

compute-umidmean

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

  • v1.0.1
  • 31.31
  • Published

compute-linspace

Generates a linearly spaced numeric array.

  • v1.0.0
  • 31.28
  • Published

compute-sum

Computes the sum.

  • v2.0.0
  • 31.26
  • Published

compute-incrmsum

Provides a method to compute a moving sum incrementally.

  • v1.0.2
  • 31.25
  • Published

compute-geq

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

  • v1.1.0
  • 31.25
  • Published

compute-unzip

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

  • v1.0.1
  • 31.23
  • Published

compute-incrmstdev

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

  • v1.0.1
  • 31.19
  • Published

compute-incrmax

Provides a method to compute a maximum value incrementally.

  • v1.0.1
  • 31.19
  • Published

compute-nanmean

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

  • v1.0.2
  • 31.18
  • Published

compute-mmax

Computes a moving maximum over a numeric array.

  • v1.0.0
  • 31.18
  • Published

compute-nanstdev

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

  • v1.0.0
  • 31.18
  • Published

compute-multiply

Computes an element-wise multiplication of a numeric array.

  • v1.0.0
  • 31.17
  • Published

compute-argmin

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

  • v1.0.1
  • 31.17
  • Published

compute-mode

Computes the mode of an array.

  • v1.0.0
  • 31.14
  • Published

compute-incrmvariance

Provides a method to compute a moving sample variance incrementally.

  • v1.0.2
  • 31.14
  • Published

compute-range

Computes the arithmetic range of an array.

  • v1.1.0
  • 31.13
  • Published

compute-isnumeric

Computes for each array element whether an element is numeric.

  • v1.0.0
  • 31.13
  • Published

compute-hmean

Computes the harmonic mean over an array of values.

  • v1.0.0
  • 31.11
  • Published

compute-trimean

Computes the trimean of a numeric array.

  • v1.0.0
  • 31.08
  • Published

compute-logspace

Generates a logarithmically spaced numeric array.

  • v1.0.0
  • 31.07
  • Published

compute-sqrt

Computes an element-wise principal square root.

  • v3.0.1
  • 30.99
  • Published

compute-min

Computes the minimum value of an array.

  • v1.0.1
  • 30.99
  • Published

compute-incrmean

Provides a method to compute an arithmetic mean incrementally.

  • v1.0.2
  • 30.99
  • Published

compute-nanrange

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

  • v1.0.0
  • 30.96
  • Published

compute-max

Computes the maximum value of a numeric array.

  • v1.0.1
  • 30.92
  • Published

compute-eq

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

  • v1.0.0
  • 30.91
  • Published

compute-add

Computes an element-wise addition.

  • v2.0.0
  • 30.90
  • Published

compute-nangmean

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

  • v1.0.0
  • 30.90
  • Published

compute-shuffle

Shuffles array elements in place.

  • v1.0.0
  • 30.88
  • Published

compute-divide

Computes an element-wise division.

  • v2.0.0
  • 30.88
  • Published

compute-leq

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

  • v1.1.0
  • 30.88
  • Published

compute-diff

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

  • v1.0.0
  • 30.86
  • Published

compute-l1norm

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

  • v1.0.0
  • 30.86
  • Published

compute-incrmin

Provides a method to compute a minimum value incrementally.

  • v1.0.1
  • 30.83
  • Published

compute-incrdatespace

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

  • v1.0.0
  • 30.81
  • Published

compute-isnan

Computes for each array element whether an element is NaN.

  • v1.0.0
  • 30.81
  • Published

const-pi

Pi.

  • v1.0.3
  • 30.73
  • Published

compute-idr

Computes the interdecile range of an array of values.

  • v1.0.1
  • 30.47
  • Published

compute-isinf

Computes for each array element whether an element is infinite.

  • v1.0.0
  • 30.46
  • Published

compute-nanmax

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

  • v1.0.0
  • 30.45
  • Published

compute-neq

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

  • v1.0.0
  • 30.45
  • Published

compute-zip

Generates array tuples from input arrays.

  • v1.1.2
  • 30.44
  • Published

compute-hypot

Computes the hypotenuse of a right triangle.

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

compute-incrsum

Provides a method to compute a sum incrementally.

  • v1.0.1
  • 30.41
  • Published

compute-unique

Removes duplicate values from a numeric array.

  • v1.0.1
  • 30.41
  • Published

compute-find

Finds array elements which satisfy a test condition.

  • v1.0.0
  • 30.41
  • Published

compute-isinteger

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

  • v1.0.1
  • 30.41
  • Published

compute-nanmedian

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

  • v1.0.1
  • 30.40
  • Published

compute-cross

Computes the cross product between two numeric arrays.

  • v1.0.0
  • 30.40
  • Published

compute-circshift

Shifts array elements (or string characters) circularly.

  • v1.0.0
  • 30.40
  • Published

compute-erfc

Complementary error function.

  • v3.0.1
  • 30.12
  • Published

compute-linfnorm

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

  • v1.0.0
  • 29.80
  • Published

compute-msum

Computes a moving sum over an array.

  • v1.1.0
  • 29.79
  • Published

compute-incrspace

Generates a linearly spaced numeric array using a provided increment.

  • v1.0.2
  • 29.77
  • Published

compute-nanmin

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

  • v1.0.0
  • 29.75
  • Published

compute-cmax

Computes the cumulative maximum of a numeric array.

  • v1.0.0
  • 29.75
  • Published

compute-argnanmin

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

  • v1.0.0
  • 29.72
  • Published

compute-nanvariance

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

  • v1.0.0
  • 29.71
  • Published

compute-lmidmean

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

  • v1.0.1
  • 28.54
  • Published

compute-gt

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

  • v1.1.0
  • 28.37
  • Published

compute-lpnorm

Computes the Lp norm of an array of values.

  • v1.0.0
  • 28.34
  • Published

compute-mmin

Computes a moving minimum over a numeric array.

  • v1.0.0
  • 28.33
  • Published

compute-subtract

Computes an element-wise subtraction.

  • v2.0.0
  • 28.30
  • Published

compute-prod

Computes the product.

  • v2.0.3
  • 28.28
  • Published

compute-mprod

Computes a moving product over an array.

  • v1.0.0
  • 28.27
  • Published

compute-nanquantiles

Computes quantiles for an array ignoring non-numeric values.

  • v1.0.0
  • 28.25
  • Published

compute-argnanmax

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

  • v1.0.0
  • 28.23
  • Published

compute-wmean

Computes a weighted mean over an array of values.

  • v1.0.0
  • 28.23
  • Published

compute-midmean

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

  • v1.0.3
  • 28.23
  • Published

compute-midsummary

Computes a trimmed midrange of a numeric array

  • v1.0.3
  • 28.01
  • Published

compute-midhinge

Computes the midhinge of a numeric array.

  • v1.0.1
  • 28.00
  • Published

compute-lt

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

  • v1.1.0
  • 27.93
  • Published

compute-abs

Computes an element-wise absolute value.

  • v3.0.0
  • 27.93
  • Published

compute-nanhmean

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

  • v1.0.0
  • 27.93
  • Published

compute-csum

Computes the cumulative sum of a numeric array.

  • v1.0.1
  • 27.82
  • Published

compute-roundn

Round values to the nearest multiple of 10^n.

  • v1.0.3
  • 27.81
  • Published

compute-cprod

Computes the cumulative product of an array.

  • v2.0.0
  • 27.81
  • Published

compute-nansum

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

  • v1.1.0
  • 27.81
  • Published

compute-issorted

Returns a boolean indicating if an input array is sorted.

  • v1.0.0
  • 27.79
  • Published

compute-midrange

Computes the mid-range of a numeric array.

  • v1.0.0
  • 27.79
  • Published

compute-nanprod

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

  • v1.0.0
  • 27.78
  • Published

compute-isfinite

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

  • v1.0.0
  • 27.78
  • Published

compute-cmin

Computes the cumulative minimum of a numeric array.

  • v1.0.0
  • 27.76
  • Published

compute-datespace

Generates an array of linearly spaced dates.

  • v1.0.1
  • 27.73
  • Published

compute-incrstdev

Provides a method to compute a sample standard deviation incrementally.

  • v1.0.0
  • 27.73
  • Published

compute-incrvariance

Provides a method to compute a sample variance incrementally.

  • v1.0.0
  • 27.73
  • Published

compute-mstdev

Computes a moving sample standard deviation over a numeric array.

  • v1.0.0
  • 27.65
  • Published

compute-mvariance

Computes a moving sample variance over a numeric array.

  • v1.0.0
  • 27.64
  • Published

uwal

Unopinionated WebGPU Abstraction Library

  • v0.1.1
  • 26.44
  • Published

math-erfcinv

Inverse complementary error function.

  • v1.0.0
  • 26.27
  • Published

math-sinpi

Computes sin(πx).

  • v1.0.1
  • 26.00
  • Published

timebucket

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

  • v0.4.0
  • 25.67
  • Published

math-sin

Computes the sine of a number.

  • v1.0.0
  • 24.75
  • Published

math-cos

Computes the cosine of a number.

  • v1.0.0
  • 24.72
  • Published

math-gammaln

Natural logarithm of the gamma function.

  • v1.0.0
  • 24.71
  • Published

math-erfinv

Inverse error function.

  • v1.0.0
  • 24.52
  • Published

compute-lcg

A linear congruential pseudorandom number generator (lcg).

  • v1.0.0
  • 22.78
  • Published

math-float64-nextafter

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

  • v1.0.0
  • 22.71
  • Published

math-tan

Computes the tangent of a number.

  • v1.0.0
  • 21.57
  • Published

@wry/task

Promise-compatible asynchronous computation primitive

  • v0.3.8
  • 20.03
  • Published

@bryntum/chronograph

Reactive computational engine, with novel and unique properties

  • v2.0.3
  • 18.68
  • Published

summon-ts

TypeScript build of the Summon compiler (via wasm).

  • v0.6.2
  • 17.44
  • Published

mpz-ts

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

  • v0.2.3
  • 16.33
  • Published

feveriq

A secure multi-party computation health check computation model.

  • v1.1.1
  • 16.23
  • Published

mpc-framework

MPC framework supporting a variety of circuit generators and backends

  • v0.3.0
  • 16.10
  • Published

emp-wasm-engine

Engine for mpc-framework powered by emp-toolkit

  • v0.5.4
  • 15.84
  • Published

reselectie

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

  • v1.0.2
  • 15.84
  • Published

@jovulic/flowstate

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

  • v0.1.3
  • 15.70
  • Published

js-spark

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

  • v0.5.1
  • 15.29
  • Published

math-round

Rounds a numeric value to the nearest integer.

  • v1.0.0
  • 14.95
  • Published

@compute.ts/math

Provide math operators for the computeTS package

    • v2.1.0
    • 14.54
    • Published

    const-e

    Euler's number.

    • v1.0.1
    • 14.18
    • Published

    const-ln2

    Natural logarithm of 2.

    • v1.0.0
    • 13.88
    • Published

    const-sqrt-phi

    Square root of the golden ratio.

    • v1.0.2
    • 13.78
    • Published

    blas

    Basic linear algebra subroutines (BLAS).

    • v0.2.7
    • 13.55
    • Published

    float64-to-float32

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

    • v1.0.0
    • 13.25
    • Published

    const-precision-float16

    Effective number of bits in the significand of a half-precision floating-point number.

    • v1.0.0
    • 12.79
    • Published

    math-float32-from-bits

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

    • v1.0.1
    • 12.72
    • Published

    const-precision-float64

    Effective number of bits in the significand of a double-precision floating-point number.

    • v1.0.1
    • 12.63
    • Published

    antifreeze2

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

    • v0.0.2
    • 12.59
    • Published

    math-float64-bits

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

    • v1.0.1
    • 12.59
    • Published

    blas-dnrm2

    Computes the L2 norm (Euclidean norm).

    • v1.0.0
    • 12.44
    • Published

    const-max-float32

    Maximum single-precision floating-point number.

    • v1.0.2
    • 12.37
    • Published

    @compute.ts/array

    Provide array operators for the computeTS package

      • v2.1.1
      • 12.30
      • Published

      parallel-memo-dom

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

      • v1.1.0
      • 12.18
      • Published

      const-max-uint8

      Maximum unsigned 8-bit integer.

      • v1.0.2
      • 12.01
      • 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.98
      • Published

      compute-fliplr

      Flips a matrix horizontally.

      • v1.0.0
      • 11.98
      • Published

      compute-betaln

      Evaluates the natural logarithm of the beta function.

      • v0.0.0
      • 11.70
      • Published

      math-float32-significand

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

      • v1.0.0
      • 11.70
      • Published

      const-log10e

      Base 10 logarithm of Euler's number.

      • v1.0.0
      • 11.50
      • Published

      @vgerbot/lazy

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

      • v1.0.7
      • 11.17
      • Published

      math-powm1

      Computes bˣ - 1.

      • v1.0.0
      • 11.14
      • Published

      const-phi

      Golden ratio.

      • v1.0.2
      • 10.87
      • Published

      theorem.js

      A Math library for computation in JavaScript

      • v1.2.0
      • 10.87
      • Published

      multiply-by-zero

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

      • v1.0.2
      • 10.82
      • Published

      math-float32-nextafter

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

      • v1.0.0
      • 10.79
      • Published

      @swyg/memo

      💾 Memoize a function the way you want.

      • v1.0.3
      • 10.79
      • Published

      math-float64-from-bits

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

      • v1.0.0
      • 10.75
      • Published

      compute-nans

      Creates a NaN-filled matrix or array.

      • v1.0.0
      • 10.64
      • Published

      math-signum

      Signum function.

      • v1.0.0
      • 10.45
      • Published

      const-apery

      Apéry's constant.

      • v1.0.0
      • 10.38
      • Published

      safebase

      safebase is helps you safely compute very large numbers.

        • v1.0.0
        • 10.23
        • Published

        @compute.ts/number

        Provide number operators for the computeTS package

          • v2.0.3
          • 10.21
          • Published

          numlab

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

          • v0.2.0
          • 10.01
          • Published