Mr. Satyabrata has Published 387 Articles

How to Homogenize a Point in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 09-Mar-2023 11:59:15

131 Views

In this article we will see how to homogenize a point. Any point in the projective plane is represented by a triple (X, Y, Z), called homogeneous coordinates or projective coordinates of the point, where X, Y and Z are not all 0. The point represented by a given set ... Read More

How to Find Single Digit Array Elements in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 09-Mar-2023 11:21:50

2K+ Views

In a given array with some random integer values, we have to find out the single digits available in the given array and print those single digit values as output. An array can contain positive or negative numbers irrespective of the number of digits in a number. As here all ... Read More

Find Number of Sorted Rows in a Matrix in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 17:26:21

286 Views

Matrices are nothing but a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. As per the problem statement the task is to count all the rows in a matrix that are sorted either ... Read More

Find Minimum Elements in Each Row of Matrix in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 16:48:47

1K+ Views

In Java, Array is an object. It is a non-primitive data type which stores values of similar data type. The matrix in java is nothing but a multi-dimensional array which represents multiple rows and columns. As per the problem statement we have to find the minimum element present in every ... Read More

Convert Hexadecimal to Octal in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 16:39:26

714 Views

Octal Number − Octal number is also one of the number systems available. The octal number is represented with 8 digits which is from 0 to 7(0, 1, 2, 3... 7). The Octal numbers are expressed as base-8 in the numeral system. Hexadecimal Number − Hexadecimal number is also one ... Read More

Check if a Matrix is Involutory or not in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 15:55:54

168 Views

Matrices are nothing but a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. Involutory matrix is a square matrix which when multiplied by itself, gives back an identity matrix. Identity matrix is a ... Read More

How to Check if the Matrix is a Magic Square in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 15:45:58

3K+ Views

Matrices are nothing but a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. As per the problem statement the task is to check if the matrix is a magic square or not. A ... Read More

Check if a Matrix is Markov Matrix or not in Java

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 11:56:16

1K+ Views

Matrices are nothing but it’s more than a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. A square matrix is called a Markov matrix if all entries are nonnegative and the sum of ... Read More

Check if a Matrix is Identity Matrix or not in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 11:45:28

993 Views

Matrices are nothing but it’s more than a collection of data elements arranged in a rectangular layout that is two-dimensional. In Java, an array with two dimensions can be considered as a matrix. Identity matrix is a square matrix which has all 1s as its principal diagonal elements and rest ... Read More

Find Two Array Elements Having Maximum Sum in Java?

Mr. Satyabrata

Mr. Satyabrata

Updated on 06-Mar-2023 11:41:12

3K+ Views

Two elements giving the maximum sum in an array means, we have to find two largest array elements which will eventually give the maximum sum possible. In this article we will see how we can find the maximum sum of two elements in Java. To show you some instances Instance-1 ... Read More

Advertisements