We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca04e3 commit 92e3835Copy full SHA for 92e3835
1 file changed
maths/laplace_transformation.py
@@ -14,13 +14,16 @@ def laplace_transform(
14
"""
15
Calculate the numerical Laplace Transform of a function given its values over time.
16
17
+ This implementation supports only real-valued, non-negative Laplace
18
+ parameters ``s``.
19
+
20
Args:
21
function_values: A numpy array of the function values f(t).
- s_value: The complex frequency parameter 's' (modeled here as a float).
22
+ s_value: The real-valued Laplace parameter ``s``. Must be non-negative.
23
delta_t: The time step between samples.
24
25
Returns:
- The approximate value of the Laplace transform at s_value.
26
+ The approximate real-valued value of the Laplace transform at s_value.
27
28
Example: For f(t) = 1, the Laplace transform L{1} = 1/s.
29
If s = 2, L{1} should be 0.5.
0 commit comments