sparsediff R package -- copyright and licensing of bundled code
===============================================================

The sparsediff R package itself -- the R code and the cpp11 binding sources
under src/ (excluding src/sparsediffengine/) -- is released under the Apache
License, Version 2.0 (see the DESCRIPTION License field).

For convenience the package builds and statically links the following
third-party libraries from bundled source.


1. SparseDiffEngine (C sparse differentiation backend) -- src/sparsediffengine/
   Copyright 2026 Daniel Cederberg and William Zhang; one header
   (include/Timer.h) Copyright 2025 Daniel Cederberg.
   Apache License, Version 2.0. Full text: src/sparsediffengine/LICENSE

   This is the same C library wrapped by the 'sparsediffpy' Python package and
   used by 'CVXPY' for its Disciplined Nonlinear Programming (DNLP) extension.


2. sparsediff_linalg (C sparse linear-algebra library used by SparseDiffEngine)
   -- src/sparsediffengine/sparsediff_linalg/
   Copyright 2026 Daniel Cederberg and William Zhang; two headers
   (src/internal/Vec_macros.h, src/internal/iVec.h) Copyright 2025 Daniel
   Cederberg.
   Apache License, Version 2.0. Full text:
   src/sparsediffengine/sparsediff_linalg/LICENSE

   Until SparseDiffEngine 0.7 this code was part of the engine's own source
   tree; it is now a separate library that the engine vendors.
