|
This article is cited in 1 scientific paper (total in 1 paper)
COMPUTING & INFORMATION TECHNOLOGY IN MATHEMATICS
Vectorization and nested arrays
A. R. Esayan, A. V. Yakushin Tula State Pedagogical University
Abstract:
In PTC Mathcad, and in previous versions of Mathcad, for numeric and symbolic computation proposed special vectorization operation, which can be used to perform many built-in and some custom functions of one variable over each scalar element or string element simple or nested arrays. This operator looks in the form of directed arrows from left to right over expression. The operation of the vectorization can be applied to built-in functions of several variables, but only over a simple array with a scalar or string elements. So, we emphasize that for built-in functions of one or several variables vectorization operation in the case of nested arrays can be implemented not always. And for user-defined functions, it is usually not implemented even for simple arrays.
In the article removed all these constraints and are constructed analogues operation vectorization for any built-in or user-defined functions from one or more variables over simple or nested arrays. There are proposed compact recursive functions that perform the role of the vectorization operator. We considered two possible approaches to solving this problem. When you first approach for functions $g$ of n variables are constructed separate recursive programs-functions $F1$, $F2$, $F3$, …, implement vectorization respectively for $n=1, 2, 3, \dots$. The second approach for a function $g$ from $n$ variables creates a single for any $n=1,2,\dots$ program-function $F$ that performs the role of the vectorization operator. In connection with the problem of vectorization for nested arrays formulated some auxiliary problem and were proposed solutions in a form of recursive functions.
Bibliography: 3 titles.
Keywords:
nested array, matrix, tree, vectorization, decomposition, recursion, recursive function, PTC Mathcad.
Received: 21.04.2015
Citation:
A. R. Esayan, A. V. Yakushin, “Vectorization and nested arrays”, Chebyshevskii Sb., 16:3 (2015), 496–509
Linking options:
https://www.mathnet.ru/eng/cheb431 https://www.mathnet.ru/eng/cheb/v16/i3/p496
|
Statistics & downloads: |
Abstract page: | 264 | Full-text PDF : | 99 | References: | 52 |
|