Computes the cosine similarity between two arrays.
Compute the cosine of a number.
Compute the cosine of a double-precision floating-point number on [-π/4, π/4].
Raised cosine distributed pseudorandom numbers.
A library implementing different string similarity
Raised cosine distribution cumulative distribution function (CDF).
Raised cosine distribution quantile function.
Cosine similarity between two object vectors
Calculate the cosine distance between arrays
Native Node.js bindings for RuVector Graph Database with hypergraph support, Cypher queries, and persistence - 10x faster than WASM
A very fast implementation of cosine-similarity for comparing two vectors. Up to 6x faster than the compute-cosine-similarity library.
Computes the cosine similarity between two vectors
Lightweight Cosine Similarity Function. Built as an alternative to the compute-cosine-similarity package. Works with high dimension vectors like openAI embeddings
Node.js implementation of the Discrete Cosine Transform (version 2 for now).
A lightweight and efficient vector database for storing and searching text embeddings in the browser's local storage. The package uses OpenAI's API to generate embeddings for text documents and provides functionality for similarity search, filtering, and
Calculates cosine similarity between 2 strings.
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
Periodic waveform functions — phase normalized to [0,1]
A simple library for compute cosine-similarity between two strings.
Great looking color maps
The `@orion-js/vectors` module provides a provider-agnostic interface for vector storage and similarity search, with built-in support for local file-system storage and AWS S3 Vectors.
HDBSCAN clustering algorithm implementation in TypeScript
Distance/Similarity functions for Bag of Words, Strings, Numbers, Dates and Vectors.
Procedural color generator based on simple cosine formulas