A program that analyzes relations and performs operations on matrices. It provides functionality to determine the type of relation (reflexive, symmetric, antisymmetric, or transitive), find specific relations, and perform computations on matrices. The script utilizes numpy for matrix operations.
Files • Features • How To Use
- src: the file that implements de solution.
The main features of the application include:
- Determining the type of relation (reflexive, symmetric, antisymmetric, or transitive)
- Finding specific relations (SoR & RoS)
- Performing operations on matrices
- Inputting set elements and adjacent vertices
- Generating and analyzing matrices
- Checking for reflexivity, symmetry, antisymmetry, and transitivity of relations
- Computing matrix operations (matrix multiplication, transposition)
- Comparing matrix properties using numpy functions
- Displaying results and information
To clone and run this application, you'll need Git and Python installed on your computer. From your command line:
...
# Clone this repository
$ git clone https://github.com/bl33h/relations
# Install dependencies
$ pip install numpy
# Open the folder
$ cd src
# Run the app
$ python relations.py