Vectorization and nested arrays
Čebyševskij sbornik, Tome 16 (2015) no. 3, pp. 496-509.

Voir la notice de l'article provenant de la source Math-Net.Ru

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.
@article{CHEB_2015_16_3_a24,
     author = {A. R. Esayan and A. V. Yakushin},
     title = {Vectorization and nested arrays},
     journal = {\v{C}eby\v{s}evskij sbornik},
     pages = {496--509},
     publisher = {mathdoc},
     volume = {16},
     number = {3},
     year = {2015},
     language = {ru},
     url = {http://geodesic.mathdoc.fr/item/CHEB_2015_16_3_a24/}
}
TY  - JOUR
AU  - A. R. Esayan
AU  - A. V. Yakushin
TI  - Vectorization and nested arrays
JO  - Čebyševskij sbornik
PY  - 2015
SP  - 496
EP  - 509
VL  - 16
IS  - 3
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CHEB_2015_16_3_a24/
LA  - ru
ID  - CHEB_2015_16_3_a24
ER  - 
%0 Journal Article
%A A. R. Esayan
%A A. V. Yakushin
%T Vectorization and nested arrays
%J Čebyševskij sbornik
%D 2015
%P 496-509
%V 16
%N 3
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CHEB_2015_16_3_a24/
%G ru
%F CHEB_2015_16_3_a24
A. R. Esayan; A. V. Yakushin. Vectorization and nested arrays. Čebyševskij sbornik, Tome 16 (2015) no. 3, pp. 496-509. http://geodesic.mathdoc.fr/item/CHEB_2015_16_3_a24/

[1] Esayan A. R., Teaching algorithmization based on recursion, TGPU, Tula, 2001, 215 pp. (in Russian)

[2] Maxfield B., Essential PTC Mathcad Prime 3.0. A Guide for New and Current Users, Academic Press is an imprint of Elsevier, New York, Nov. 11, 2013, 563 pp.

[3] Nans Wessenlingh and Hans de Waard, Calculate Communicate with Mathcad Prime 3.0, First edition, Delft Academic Press, The Netherlands, 2014