Abstract

Rank distance codes are known to be applicable in various applications such as distributed data storage, cryptography, space time coding, and mainly in network coding. Rank distance codes defined over finite fields have attracted considerable attention in recent years. However, in some scenarios where codes over finite fields are not sufficient, it is demonstrated that codes defined over the real number field are preferred. In this paper, we proposed a new class of rank distance codes over the real number field . The real array rank distance (RARD) codes we constructed here can be used for all the applications mentioned above whenever the code alphabet is the real field . From the class of RARD codes, we extract a subclass of equidistant constant rank codes which is applicable in network coding. Also, we determined an upper bound for the dimension of RARD codes leading the way to obtain some optimal RARD codes. Moreover, we established examples of some RARD codes and optimal RARD codes.

1. Introduction

Coding theory investigates the properties of codes and their suitability for various applications. Codes are used for a variety of purposes, including data compression, cryptography, error correction, and, more recently, network coding. Various scientific disciplines, such as information theory, electrical engineering, mathematics, and computer science deal with codes in order to design efficient and reliable data transmission methods [17].

The “rank distance” measures the distance between two matrices by the rank of their difference. Codes of matrices with rank distance are called rank distance (rank metric) codes. The applicability of rank distance codes [812] defined over finite fields in a wide variety of applications such as distributed data storage, cryptography, and network coding attracted attention in recent years. However, codes defined over the real number field [1315] are advantageous in some applications, where small perturbations or noise in the received data need to be handled gracefully. Real rank metric codes are well suited for applications involving analog signals or continuous data such as audio and image transmission when the received signal may not be perfectly quantized and may contain analog imperfections [1620]. Also, in scenarios with interference from multiple sources, real rank distance codes can be advantageous for separating and decoding signals as they can exploit the continuous nature of the received data to distinguish between different sources more effectively.

In this work, we propose a new class of linear rank distance codes over the real number field . We make use of the concept of a rank distance code [6, 21, 22] and construct the special class of real array rank distance (RARD) codes. RARD codes are a versatile and powerful class of codes with applications ranging from communications and network coding to data storage and cryptography.

We begin by discussing the concept of a real array code, which provides a systematic framework for efficiently representing and transmitting some specific real-valued data. Real array codes go beyond traditional coding schemes by allowing the encoding and decoding of an array of real numbers.

Our main focus is on the construction of the class of RARD codes [2326] and establishing the various properties of these codes. In this process, we obtain a subclass of equidistant constant rank codes also [27].

We look into the dimension properties of real array rank distance codes. This analysis sheds light on the trade-offs between code complexity and error correction capabilities by providing valuable insights into the relationship between rank distance and code dimensionality. We obtain an upper bound for the dimension of the real array rank distance codes, paving the way for defining an optimal RARD code.

We present illustrative examples of real array codes that achieve the upper bound on code dimension. This example demonstrates the feasibility and efficiency of real array codes in practical applications, reinforcing their real-world implementation potential.

The paper is organized as follows. In Section 2, we give some definitions and results as preliminaries. Section 3 introduces the construction of the proposed class of real array rank distance codes and studies some properties of these codes belonging to this class. Here, we obtain a subclass of equidistant constant weight codes as a special case. Finally, we conclude the paper by giving an upper bound for the RARD codes we proposed and give some examples.

2. Preliminaries

Let denote the -dimensional vector space over the real field . Consider the set

Each element is expressed in the form of an n-tuple , where . Let denote the collection of all matrices over . We can define a bijection such that for any , the associated matrix is denoted bywhere the column represents the coordinate of over (w.r.t. the standard basis of ).

Definition 1. The rank of an element is the rank of the associated matrix over denoted by .

Definition 2. The rank distance denoted by on is defined as follows:where denotes the rank of over .
By the basic properties of the rank of a matrix, it can be proved that defines a metric on . The space over equipped with the rank metric is defined as a “(Real) rank distance space.”

3. Real Array Rank Distance (RARD) Codes

Let be positive integers, where . For our purpose, we consider the rank distance space as a vector space of dimension over .

Definition 3. A real array rank distance code of length n over is a subset of the rank distance space over . A linear RARD code is a linear subspace of dimension in the rank distance space . By , we denote a linear RARD code.
Note that the dimension of the code is atmost .

Definition 4. Let be a linear RARD code. The minimum rank distance of is defined as . In other words, , i.e. .

3.1. Construction of a Class of RARD Code

For any given positive integers and with , we construct a class of linear RARD codes and prove that, for this class of codes, the dimension is given by and minimum distance .

We start by constructing three sets . The union of these three sets forms a basis for any code belonging to this class.(i)Stage-I (construction of the set )(1)Let and (2)Choose an element , where for , such that every submatrix of is nonsingular.(3)Let (4)Letwhere is the coordinate of , ( denotes the zero vector of length “, and , 1 is at the position, for ).(ii)Stage-II (construction of the sets and )(1)Choose an element , to , where for , such that every submatrix of is nonsingular.(2)Let (3)Letwhere be the coordinate of , to , ( denotes the zero vector of length “, and , 1 is at the position, for ).(4)Letwhere be the coordinate of , to , ( denotes the zero vector of length “N,” and , 1 is at the position, for ).(iii)Now, consider the set .

The following results aid in the construction of the code .

Lemma 5. The set , where are the sets constructed as above, is linearly independent over .

Proof. Supposewhere , , , , and denotes the zero vector of length “N.”
Let . Equating the coordinates, we get to . For to , comparing the coordinate of with , we getEquation (8) is a homogeneous system of linear equations with variables . This system has only a trivial solution as the coefficient matrix of (8) is exactly , i.e. for to .
In the same way, we can prove that for , , and for . Hence, B is linearly independent.
Now, let be the span of over . Clearly, is a vector space with basis over . Equipping with the rank distance, we obtain the proposed RARD code.
The following results give the various properties of the RARD code .

Theorem 6. The dimension of the linear RARD code constructed above is .

Proof. The dimension of the linear RARD code is the cardinality of .(i)The set contains elements.(ii)The number of elements in the set is(iii)The number of elements in the set isHence,

Theorem 7. Each nonzero element of the RARD code has rank at least over .

Proof. Let be an arbitrary nonzero element of . X can be expressed in terms of elements of .where , , , and . The rank of is the rank of the corresponding matrix . can be expressed as follows:Consider the lowest nonzero diagonal of . To prove each nonzero element of the code has rank at least over , it is enough to prove that this diagonal contains at least nonzero elements. We may assume that this diagonal is the main diagonal. Consider the submatrix of containing the main diagonal, which is denoted by . Letbe the main diagonal elements of and we assume that not all of the are zero for to . We have to prove .
On the contrary, we assume that . Then, at least of must be zero (if are the diagonal elements of a square matrix and if every product of distinct vanishes, then at least of must be zero [28]). Without loss of generality, we may assume that are nonzero. Hence,for to . Equation (16) is a homogeneous system of equations in variables. The coefficient matrix of the above homogeneous system is a submatrix of . By the nature of , the system has only a trivial solution. So, for to , which contradicts our assumption. Hence, . In the same way, we can prove the result in the case of other diagonals.

Theorem 8. Each element of the basis has rank over .

Proof. The result follows from the fact that and if is an arbitrary element of and is its corresponding matrix representation, then has exactly nonzero columns, which are, in fact, scalar multiples of unit vectors.

Remark 9. Theorems 6, 7, and 8 imply that is a linear RARD code with minimum distance and dimension .

Example 1. An RARD code ” with minimum distance over the space .
Here, and .(i)Stage-I (construction of set )We choose an element over such that , . is the matrix, in which every submatrix is nonsingular.where(ii)Stage-II (construction of sets and )(1) to (2)We choose the element over such that . is the matrix, whose every submatrix is nonsingular.Then,The RARD code C is given byThe matrix representation of any element of isThe nonzero elements of have rank at least 2.

3.2. A Subclass of Equidistant Constant Rank Codes

Equidistant constant rank codes have many applications especially in network coding, ARQ systems, etc. The following result extracts a subclass of equidistant constant rank RARD code with distance “r” from the class of RARD codes.

Theorem 10. If , the RARD code “” is an equidistant constant rank code with distance .

Proof. Since “” is a linear rank distance space, it is enough to prove that every nonzero element of “” has rank r. When , by the construction and . We choose an element , where , from such that every submatrix of is nonsingular, i.e. to . Thus, the basis iswhere . Thus, . Let be any arbitrary nonzero element of . Then, isAs the number of nonzero rows of is , the rank of cannot exceed . Also, by the construction, has rank for any choice of except when all of them are zero, in which case we have the zero matrix.
Thus, has rank either or 0. As is nonzero, its rank must be . That is, if , the RARD code is an equidistant constant rank code with distance .

3.3. An Upper Bound for the Dimension of RARD Codes

The following result gives an upper bound for the dimension of an RARD code for any given , and .

Theorem 11. Let be an RARD code with every nonzero vector having rank at least . Then, the dimension of is at most .

Proof. Let be the rank distance space of dimension over . Let be a subspace of such that every element of has rank at most “r”, and . If we replace by , we get a subspace of with dimension , whose elements have rank at most . Consider a new subspace of with dimension k consisting of all the nonzero vectors having rank at least . Since ,Thus, the dimension of is at most .

Remark 12. We call an RARD code achieving the upper bound on its dimension as an optimal RARD code.
The following are examples of optimal RARD codes.

Example 2. Let be the rank distance space. We construct an RARD code with minimum distance . Let be the rank distance space spanned by , where and . Clearly, is linearly independent. Consider an arbitrary nonzero element from . Let it be , where . The matrix representation of isThe determinant of is , which is zero only if . Hence, the rank of is 2. has minimum rank distance . Also, the dimension of is 2. Here, , and , i.e. dimension of achieves the upper bound.

Example 3. Let , be the rank distance space. We construct an RARD code with minimum distance . Let be the rank distance space spanned by , where the elements for are defined as follows:Clearly, is linearly independent over . The span of gives a linear RARD code. To find its minimum distance, consider an arbitrary nonzero element in . can be expressed in terms of the elements of .where . Then, the matrix representation of isWe can easily see that every such matrix has rank 2, except when all of the ’s are zero. Hence, the rank of is 2. Thus, has minimum rank distance . Since B is linearly independent, the dimension of the space is . Here, , , and . So . Thus, the dimension of achieves the upper bound.

4. Conclusion

While the role of rank distance codes defined over finite fields is significant in dealing with various applications, codes defined over are advantageous in some applications where the errors in the received data are not discrete or quantized. Real rank distance codes are well suited for many applications involving analog signals or continuous data.

In this work, we have considered the problem of the construction of a rank distance code over . We have constructed a class of linear real array rank distance (RARD) codes. RARD codes can be used in many applications such as network coding, distributed data storage, compressed sensing, and cryptography whenever the code alphabet is the real field . In this process, we obtained an interesting subclass of equidistant constant rank codes which can have many applications including network coding. We obtained an upper bound on the dimension of RARD codes which led the way to define an optimal RARD code. We constructed two examples of optimal RARD codes.

Future research on RARD codes may focus on the construction of a class maximum distance separable RARD codes to ensure the maximum error correction capability.

Data Availability

The data that support the findings of this study are available from the corresponding author upon request.

Disclosure

The last author is a postdoctoral fellow at the University of Kerala, India.

Conflicts of Interest

The authors hereby declare that there are no potential conflicts of interest.

Acknowledgments

This work was supported by the regular postdoctoral program of the University of Kerala (Grant no. 9E-C-3330).