[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] clarify accelerator usage for multiple interpolations
From: |
vishnugb |
Subject: |
[PATCH] clarify accelerator usage for multiple interpolations |
Date: |
Sat, 30 Jan 2021 11:56:16 +0530 |
From: "Vishnu V. Krishnan" <vishnugb@gmail.com>
---
doc/interp.rst | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/interp.rst b/doc/interp.rst
index 5a062d50..9ee31e09 100644
--- a/doc/interp.rst
+++ b/doc/interp.rst
@@ -168,10 +168,12 @@ which is a kind of iterator for interpolation lookups.
.. function:: gsl_interp_accel * gsl_interp_accel_alloc (void)
- This function returns a pointer to an accelerator object, which is a
- kind of iterator for interpolation lookups. It tracks the state of
- lookups, thus allowing for application of various acceleration
- strategies.
+ This function returns a pointer to an accelerator object, which is a kind of
+ iterator for interpolation lookups. It tracks the state of lookups, thus
+ allowing for application of various acceleration strategies. When multiple,
+ concurrent interpolants are in use, the same accelerator object may be used
+ for all functions defined on the same domain (x_array), but different
+ accelerators must be defined for data defined on different domains.
.. function:: size_t gsl_interp_accel_find (gsl_interp_accel * a, const double
x_array[], size_t size, double x)
--
2.30.0