{
  "name": "Scientific Computing Libraries Specification Matrix",
  "description": "Technical specification and capability matrix comparing open-source mathematical and scientific computing libraries (GSL, SciPy, Eigen, Armadillo, and Boost.Math) across primary programming interfaces, software licenses, BLAS/LAPACK backends, SIMD vectorization, memory management models, and key mathematical domains, compiled from official software documentation and project release notes.",
  "page": "https://casrai.org/guides/gnu-scientific-library",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T22:04:30Z",
  "temporalCoverage": "2024/2026",
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Library Name",
      "unit": "",
      "description": "Name and current stable major version of the scientific computing library"
    },
    {
      "name": "Primary Interface",
      "unit": "",
      "description": "Native implementation language and primary programming API"
    },
    {
      "name": "Software License",
      "unit": "",
      "description": "Open-source software license under which the library is distributed"
    },
    {
      "name": "BLAS / LAPACK Backend",
      "unit": "",
      "description": "Requirement and support for external linear algebra backends"
    },
    {
      "name": "Memory Model",
      "unit": "",
      "description": "Memory management and object lifecycle paradigm"
    },
    {
      "name": "Vectorization Support",
      "unit": "",
      "description": "Hardware-level SIMD instruction support"
    },
    {
      "name": "Special Functions Count",
      "unit": "approximate functions",
      "description": "Approximate number of supported special mathematical functions"
    },
    {
      "name": "Core Scientific Domains",
      "unit": "",
      "description": "Key numerical subfields natively implemented"
    }
  ],
  "rows": [
    {
      "Library Name": "GNU Scientific Library (GSL 2.8)",
      "Primary Interface": "C (ANSI C API, C++ compatible)",
      "Software License": "GNU GPLv3 (Copyleft)",
      "BLAS / LAPACK Backend": "CBLAS required (internal libgslcblas or external OpenBLAS)",
      "Memory Model": "Manual allocation (gsl_alloc / gsl_free)",
      "Vectorization Support": "External via BLAS backend",
      "Special Functions Count": 1000,
      "Core Scientific Domains": "Special functions, numerical quadrature, ODEs, FFT, RNG, least-squares"
    },
    {
      "Library Name": "SciPy (1.14+)",
      "Primary Interface": "Python (C, C++, Fortran bindings)",
      "Software License": "BSD 3-Clause (Permissive)",
      "BLAS / LAPACK Backend": "BLAS/LAPACK required (OpenBLAS, MKL, or Accelerate)",
      "Memory Model": "Automated garbage collection (NumPy ndarray)",
      "Vectorization Support": "Automated via NumPy and BLAS",
      "Special Functions Count": 200,
      "Core Scientific Domains": "Optimization, integration, interpolation, FFT, signal processing, linear algebra"
    },
    {
      "Library Name": "Eigen (3.4+)",
      "Primary Interface": "C++ (Header-only template library)",
      "Software License": "Mozilla Public License 2.0",
      "BLAS / LAPACK Backend": "Self-contained (optional BLAS/LAPACK acceleration)",
      "Memory Model": "RAII automatic memory management",
      "Vectorization Support": "Native SIMD (AVX, AVX-512, SSE, NEON)",
      "Special Functions Count": 50,
      "Core Scientific Domains": "Dense matrix algebra, sparse solvers, geometry, decompositions"
    },
    {
      "Library Name": "Armadillo (12.x+)",
      "Primary Interface": "C++ (Template wrapper library)",
      "Software License": "Apache License 2.0 (Permissive)",
      "BLAS / LAPACK Backend": "Delegates to BLAS/LAPACK or OpenBLAS",
      "Memory Model": "RAII automatic memory management",
      "Vectorization Support": "Delegated to underlying BLAS/LAPACK",
      "Special Functions Count": 40,
      "Core Scientific Domains": "Dense linear algebra, sparse matrices, statistics, decompositions"
    },
    {
      "Library Name": "Boost.Math (1.84+)",
      "Primary Interface": "C++ (Header-only template library)",
      "Software License": "Boost Software License 1.0",
      "BLAS / LAPACK Backend": "Not required (pure template implementation)",
      "Memory Model": "Header-only stack and heap allocation",
      "Vectorization Support": "Compiler auto-vectorization",
      "Special Functions Count": 300,
      "Core Scientific Domains": "Special functions, statistical distributions, root-finding, numerical integration"
    }
  ],
  "sources": [
    {
      "title": "GNU Scientific Library Reference Manual (Edition 2.8)",
      "url": "https://www.gnu.org/software/gsl/doc/html/",
      "accessed": "2026-11-16"
    },
    {
      "title": "GNU Scientific Library Official Project Page",
      "url": "https://www.gnu.org/software/gsl/",
      "accessed": "2026-11-16"
    },
    {
      "title": "SciPy Reference Guide (Release 1.14)",
      "url": "https://docs.scipy.org/doc/scipy/",
      "accessed": "2026-11-16"
    },
    {
      "title": "Eigen v3.4 Documentation",
      "url": "https://eigen.tuxfamily.org/",
      "accessed": "2026-11-16"
    },
    {
      "title": "Boost.Math Documentation (v1.84)",
      "url": "https://www.boost.org/doc/libs/1_84_0/libs/math/doc/html/index.html",
      "accessed": "2026-11-16"
    }
  ]
}