/relations

A program for relation analysis and matrix operations using numpy. It determines relation types and performs matrix computations.

Primary LanguagePython

relations

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.


pic

FilesFeaturesHow To Use

Files

  • src: the file that implements de solution.

Features

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

How To Use

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