117. spread(source, dim, ncopies) copies a SOURCE array NCOPIES times along dimension DIM.#

topic: Arrays

Note

This tip is a draft1.

spread(source, dim, ncopies) copies a SOURCE array NCOPIES times along dimension DIM, creating an array one rank higher than SOURCE. It can be applied to a vector to get a result that is conformable with a matrix.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.