Posts by Alok Singh

Author Biographical Info: Not available

How to check Involutory Matrix in C++

By Alok Singh

Hello, in this tutorial, we will learn how to check whether a matrix is an involuntary matrix or not in C++ with an example, Algorithm, and a program. A matrix is said to be an inv.... Read More

Check whether a matrix is Markov matrix in C++

By Alok Singh

In this tutorial, we will learn how to check whether a matrix is a Markov matrix or not in C++ with Example, Algorithm, and a program. Markov matrix is a matrix in which the sum of.... Read More

Replace each element of array by multiplication of previous and next in C++

By Alok Singh

From the title of the problem, it is clear that for a given array, we have to Replace each element by multiplication of previous and next element. Means for each index number i, .... Read More

How to print Identity matrix of given size in C++

By Alok Singh

In this tutorial, we will learn how to print an identity matrix of nth size in C++ with an example, algorithm, and a program. An identity matrix is a square matrix with all the pri.... Read More

Find normal and Trace of a matrix in C++

By Alok Singh

Hello, in this tutorial, we will learn how to find normal and the trace of a matrix with a solved example, algorithm, and C++ program. Normal of a matrix is the square root of the .... Read More

Find Mean, Median and Mode of an Ungrouped data

By Alok Singh

This tutorial is for learning how to find mean, median and mode of an ungrouped data in C++. Mean, median and mode also called as measures of central tendency are numbers which rep.... Read More

How to find GCD of two numbers in C++

By Alok Singh

Hello, in this tutorial, we will understand how to find GCD of two numbers in C++ in various ways. Greatest Common Divisor (GCD) or Highest Common Factor (HCF) of two number a and .... Read More

hamming code in C++

By Alok Singh

In this tutorial, we will learn how to find the Hamming code of binary data with a solved example and C++ program. Hamming code is error-detection and error-correction code which .... Read More