This project implements a C++ group algebra system that supports:
- Direct sum (
+
operator) for group combination. - Isomorphism checking (
==
operator) to determine if two groups are structurally equivalent. - Basic group operations (identity, inverses, element operations).
This project uses CMake to manage builds and generate cross-platform Makefiles.
Ensure you have the following installed:
- CMake (version 3.31 or higher)
- GNU Make (or an equivalent build system)
- A C++ compiler (GCC, Clang, or MSVC)
git clone https://github.com/your-username/group-class-implementation.git
cd group-class-implementation
CMake recommends out-of-source builds. This keeps your source files clean.
mkdir build
cd build
Run CMake inside the build/
directory:
cmake ..
This will generate the necessary Makefiles.
Now, compile the project using make
:
make
After compilation, the executable GroupDriver
will be created inside the build/
directory.
Execute the compiled binary:
./bin/GroupDriver
If you need to rebuild the project from scratch, run:
rm -rf build/
mkdir build && cd build
cmake ..
make
For any questions or suggestions, feel free to reach out!