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 e431490 commit 4a64b37Copy full SHA for 4a64b37
1 file changed
rocketpy/mathutils/function.py
@@ -48,6 +48,7 @@
48
}
49
EXTRAPOLATION_TYPES = {"zero": 0, "natural": 1, "constant": 2}
50
51
+
52
class SourceType(Enum):
53
"""Enumeration of the source types for the Function class.
54
The source can be either a callable or an array.
@@ -56,6 +57,7 @@ class SourceType(Enum):
56
57
CALLABLE = 0
58
ARRAY = 1
59
60
61
class Function: # pylint: disable=too-many-public-methods
62
"""Class converts a python function or a data sequence into an object
63
which can be handled more naturally, enabling easy interpolation,
0 commit comments