Abstract
The paper continues the research based on the concept of the Q-determinant, which is the author’s approach to parallelization of numerical algorithms. There are described the following concepts of the Q-determinant concept used in research. An algorithmic problem has the form у = F(N,B), where N = {ni,... is the set of parameters of the algorithmic problem dimension or N is the empty set, В is the set of input data, у = {yi,... ,ym| is the set of output data. Here щ (і Є {1,... ,fc}) is any positive integer. If N — {ni,... ,n*.}, then by N {nlt... we denote a set of к positive integers, where щ is some given value of the parameter Щ for each і Є {1,... ,&}. We denote the set of all possible fc-tuples N by {N}. An algorithm for solving an algorithmic problem is denoted by Л, and the set of operations used by algorithm A is denoted by Q. ' ' An expression over В and Q is a term in the standard sense of mathematical logic. A chain of length n is the result, of applying some associative operation from Q to n expressions. If N = 0, then any expression w over В and Q is an unconditional Q-term. If N ^ 0 and V is the set of all expressions over В and Q, then any mapping w : {A} —> VU0 is also called an unconditional Q-term. itj(iV) = 0 means that the value of w(N) is undefined. If N = 0 and the expression w over В and Q has a. value of logical type under any interpretation of the variables B, then we call the unconditional Q-term w an unconditional logical Q-term. Let N 0 and w be an unconditional Q-term. Suppose also that the expression w(N) for each N € {N} has a value of logical type under any interpretation of the variables B. In this case, we call the unconditional Q-t.erin w an unconditional logical Q-term. Suppose that iii,... ,щ are unconditional logical Q-terms, are unconditional Q-terms. Then the set l of pairs (u,w) = {('Ui,uy)}ie{i,...,Z} R a conditional Q-term of length l. Let (u,ui) = {(щ,щ)}і=і,%... be a countable set of pairs of unconditional Q-terms. Suppose that is a conditional Q-term of length і for any l < oo. Then we call (u,w) a conditional infinite Q-term. Q-terms can be calculated. Suppose that algorithm Л consists in finding for each і Є {1,... ,m} the value yi by computing the value of the Q-term Then the set. of Q-terms {R | і є {1,... ,m}} we call the Q-deterrninant of the algorithm Л. Moreover, we call the system of equations {yi = fi \ і Є {1,... ,rn}} a representation of the algorithm A in the form of a Q-determinant. Previously, the concept of the Q-determinant was applied to improve the efficiency of parallel computing by exploring and exploiting the parallelism resources of numerical algorithms. To this end, a software Q-systein for studying parallelism resources of algorithms and a program design method for the effective implementation of numerical algorithms have been developed. The Q-systern and method can be used for any numerical algorithms, including those solving practically significant problems. The method was applied to algorithms for matrix multiplication, solving systems of linear algebraic equations, finding the maximum element in an array of numbers, sorting, training neural networks, Dijkstra’s algorithm, and other algorithms. The method of designing programs for the efficient implementation of numerical algorithms is very useful, but its application requires the development of programs by programmers. There is a question about, possibility of creating software system that, develops and executes effective programs using a generally accepted description of algorithms without the use of programmers. To answer this question, several published papers have demonstrated the possibility of creating a unified software system for the automated design and execution of programs for the efficient implementation of numerical algorithms. These papers describe different, approaches to designing such systems and outline general principles for their organization. The application of the developed software systems was demonstrated on problems with small values of the parameters of the algorithmic problem dimension. It is now important to explore their application to practically significant problems. Software systems for the automated design and execution of programs for the efficient implementation of numerical algorithms use representations of algorithms in the form of Qdeterrninants to describe algorithms. These representations are formed using a subsystem of the Qsystern for analyzing the parallelism resources of algorithms. The same representations of algorithms in the form of Q-deterrninants are also used by the subsystem for analyzing the characteristics of the parallelism resources of the Q-system. In this regard, the formation of representations of algorithms in the form of Q-deteruiinants is an important task for the use of software systems based on the concept of Q-determinant. The parameters of the algorithmic problems dimension can reach large values when solving practical problems. The number of iterations when implementing iterative algorithms can also be large. As a result, the Q-terms that make up the Q-deterrninants of algorithms can be very long, and the files containing the algorithm representations in the form of Q-deterrninants can be large. Therefore, problems can arise when forming and using algorithm representations in the form of Q-deterrninants. In this case, we will refer to Q-deterrninants as large, and the resulting problems as oflarge Q-determinant problems. Solving oflarge Q-determinant problems is extremely important for the practical application of software systems based on the Q-determinant concept. In this paper, the problems of large Q-determinants are described and solved. More precisely, the problems that arise during the formation and use of representations of algorithms in the form of Qdeterrninants are formulated and solved. Furthermore, the results of experimental studies confirming the validity of the proposed solutions are presented. The solutions proposed in the paper enable the generation of representations of algorithms in the form of Q-deterrninants for large values of the algorithmic problem dimension parameters arid a large number of iterations of iterative algorithms. Furthermore, these solutions reduce the size of files containing representations of algorithms in the form of Q-deterrninants. The paper consists of three sections and a conclusion. Section 1 introduces the concepts of the Q-deterrninant concept used in this article. Section 2 describes the generation of representations of algorithms in the form of Q-deterrninants using algorithm flowcharts. Section 3 presents the problems of large Q-deterrninants and proposes solutions to them. The conclusion summarizes the results of the study and formulates the direction of further research.