🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
K
Comment on page

# Math Operations

This block performs addition, subtraction, multiplication and division according to the selected function.

## Math Operations Node Documentation

The `Math Operations` node in AugeLab Studio allows you to perform various mathematical operations on the input numbers. You can select an operation from a list of available methods and apply it to the input values.

### Node Overview

The `Math Operations` node takes one or more input numbers and applies the selected mathematical operation to the inputs. The available operations include addition, subtraction, multiplication, and division. The output is a single number representing the result of the operation.

### Node Interaction

1. 1.
Drag and drop the `Math Operations` node from the node library onto the canvas in AugeLab Studio.
2. 2.
Connect the input numbers to the input sockets.
3. 3.
Select the desired mathematical operation from the dropdown list.
4. 4.
The node will output the result of the applied operation to the output socket.

### Operation Selection

The `Math Operations` node provides a dropdown list of available mathematical operations. You can select an operation from the list to apply it to the input numbers.

### Input and Output Sockets

The `Math Operations` node has one or more input sockets to receive the input numbers. The number of input sockets depends on the selected mathematical operation. The output socket is a number type to represent the result of the operation.

### Implementation Details

The `Math Operations` node implements the following logic:
1. 1.
Input Retrieval: The node retrieves the input numbers from the input sockets.
2. 2.
Operation Selection: The node checks the selected mathematical operation from the dropdown list.
3. 3.
Operation Execution: The node performs the selected mathematical operation on the input numbers.
4. 4.
Result Generation: The node generates a number representing the result of the operation.
5. 5.
Output: The node outputs the number result to the output socket.

### Usage

1. 1.
Drag and drop the `Math Operations` node from the node library onto the canvas in AugeLab Studio.
2. 2.
Connect the input numbers to the input sockets.
3. 3.
Select the desired mathematical operation from the dropdown list.
4. 4.
Run the pipeline or execute the node to perform the mathematical operation.
5. 5.
Retrieve the number result from the output socket.
6. 6.
Use the number result in downstream nodes or calculations as needed.
• The `Math Operations` node allows you to perform various mathematical operations on input numbers in your data processing pipeline.
• It provides a range of operations such as addition, subtraction, multiplication, and division.
• You can select the operation from a dropdown list and apply it to the input numbers.
• The node dynamically updates its input and output sockets based on the selected operation.
• It supports generic input data, allowing you to perform mathematical operations on different types of numbers.
• The node enhances the flexibility and modularity of your pipeline by encapsulating mathematical operations.
• It helps in numerical calculations, data transformations, and mathematical modeling tasks.
• The `Math Operations` node is applicable in various domains, including data science, engineering, and scientific research.
• It can be combined with other nodes and operations to perform complex mathematical calculations and transformations.
• The node can be extended or customized to support additional mathematical operations or specialized functions.
• It is recommended to connect the output of the `Math Operations` node to nodes or steps that require the result of the operation.
• The node provides a simple and efficient way to perform mathematical operations on input numbers in your data pipeline.