5 个仓库
Computing a single cumulative value from an array using a reducer function.
Distinct from Array Splitting: Distinct from Array Splitting by focusing on data aggregation into a single value rather than partitioning.
Explore 5 awesome GitHub repositories matching scientific & mathematical computing · Array Reductions. Refine with filters or upvote what's useful.
fp-ts is a TypeScript library that brings pure functional programming patterns to the language through algebraic data types, type class abstractions, and composable combinators. It provides foundational data types like Option for optional values, Either for typed error handling, and Task for lazy asynchronous computations, all designed to make invalid states unrepresentable and side effects explicit. The library is built on category theory concepts, offering type classes such as Functor, Applicative, Monad, Semigroup, and Monoid with lawful instances for common data structures. The library di
Converts a collection of effectful computations into a single computation returning a collection of results.
Cats is a Scala functional programming library and type class library designed to implement algebraic patterns and functional abstractions. It provides a standardized set of interfaces and a modular toolkit of functional wrappers and containers to enable ad-hoc polymorphism and generic programming across disparate types. The project serves as a functional abstraction standard, offering a monad transformer suite to compose nested effectful contexts and handle multiple computational side effects within a single pipeline. It further enables the construction of embedded domain-specific languages
Provides the ability to convert a collection of effectful values into a single effectful collection.
ArrayFire 是一个硬件无关的计算框架和 JIT 编译张量引擎,专为高性能数值计算而设计。它作为一个 GPU 数值计算库和并行信号处理工具包,抽象了硬件后端,允许同一代码库在各种 GPU 架构和 CPU 上执行。 该项目以其使用表达式编译来融合操作并最小化内存开销的 JIT 引擎而脱颖而出。它采用延迟执行图来优化计算链,并提供互操作性原语以与 CUDA 和 OpenCL 等外部计算平台共享数据和执行上下文。 该库涵盖了广泛的功能,包括并行线性代数、数字信号处理和加速计算机视觉。它提供了用于机器学习实现、金融建模模拟以及求解物理系统模拟偏微分方程的工具。其张量管理系统处理多维数组分配、切片和主机-设备数据传输。
Computes single scalar values from arrays through reduction operations like sum and maximum.
NumCpp 是一个 C++ 框架和数值计算库,提供了一套用于多维数组管理和数学运算的工具包。它作为 NumPy 生态系统的 C++ 实现,提供了一个用于管理张量和执行复杂代数方程的科学计算框架。 该项目支持在 C++ 环境中进行高性能数组操作,而无需依赖 Python 运行时。它通过提供类似 NumPy 的接口来执行线性代数、管理多维数据结构和执行数值处理而脱颖而出。 该库涵盖了广泛的功能,包括矩阵代数运算、通过切片和重塑进行的数组几何管理,以及随机分布的生成。它还包括用于数据集分析、数组统计以及通过二进制和文本格式导入导出数值数据的工具。
Accumulates values along specified axes to compute sums, products, and means for data aggregation.
Eloquent-JavaScript is a comprehensive JavaScript programming textbook and interactive coding tutorial designed for web development education. It serves as both a language reference and a practical guide, combining theoretical lessons with an environment where learners can execute and modify code examples. The project focuses on the fundamental principles of the JavaScript language, including lexical scoping, prototype-based inheritance, and asynchronous patterns. It provides detailed instruction on object-oriented programming, functional programming, and the use of the browser DOM to create
Covers the use of reducer functions to summarize array data into a single value.