API
Multiply a value by a given factor.
This is a simple example function intended for use in documentation generated by mkdocstrings.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
float
|
The number to be multiplied. |
required |
factor
|
float
|
The factor to multiply |
2.0
|
Returns:
| Type | Description |
|---|---|
float
|
The product of |
Examples:
Add two numbers together.
This function is documented in a way that mkdocstrings can automatically extract and render.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
a
|
float
|
float The first number to add. |
required |
b
|
float
|
float The second number to add. |
required |
Returns:
| Type | Description |
|---|---|
float
|
float The sum of |
Examples:
add(a, b)
Add two numbers together.
This function is documented in a way that mkdocstrings can automatically extract and render.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
a
|
float
|
float The first number to add. |
required |
b
|
float
|
float The second number to add. |
required |
Returns:
| Type | Description |
|---|---|
float
|
float The sum of |
Examples: