Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

D-Integral/Matrix

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 

Repository files navigation

Overview

A C++ program that creates and manipulates integer matrices. Users can fill the matrix manually or generate random values. The program calculates row- and column-wise statistics (average, count above/below average) using threads for concurrency. This was a student project exploring dynamic memory and multi-threading.

Details

This program demonstrates matrix creation, manipulation, and analysis using multi-threading in C++.

  • Dynamically allocates a matrix of integers.
  • Allows the user to fill the matrix manually or generate random values.
  • Computes per-row and per-column statistics:
    1. Average value (Middle)
    2. Count of elements below average (Less)
    3. Count of elements above average (More)
  • Uses POSIX threads (pthread) to perform row and column calculations concurrently.
  • Includes mutex locks to manage safe concurrent access to the matrix.

By doing this task I passed the course "Parallel and Distributed Computing" at Kyiv Polytechnic Institute in 2013 with the grade 100/100.

About

A C++ program that creates and manipulates integer matrices. The program calculates row- and column-wise statistics (average, count above/below average) using threads for concurrency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.