Array handling is included in Fortran for two main reasons:
- the notational convenience it provides, bringing the code closer to the underlying mathematical form;
- for the additional optimization opportunities it gives compilers (although there are plenty of opportunities for degrading optimization too!).
At the same time, major extensions of the functionality in this area have been added. We have already met whole arrays above and here - now we develop the theme.
Read more about this topic: Fortran 95 Language Features
Other articles related to "array handling, arrays, array":
... Vector and matrix multiply DOT_PRODUCT Dot product of 2 rank-one arrays MATMUL Matrix multiplication Array reduction ALL True if all values are true ANY True if any value is true ... Example IF (ANY( a > b)) THEN COUNT Number of true elements in array MAXVAL Maximum value in an array MINVAL Minimum value in an array PRODUCT Product of array elements SUM Sum of array elements ...
Famous quotes containing the words handling and/or array:
“Many more children observe attitudes, values and ways different from or in conflict with those of their families, social networks, and institutions. Yet todays young people are no more mature or capable of handling the increased conflicting and often stimulating information they receive than were young people of the past, who received the information and had more adult control of and advice about the information they did receive.”
—James P. Comer (20th century)
“Any one who knows what the worth of family affection is among the lower classes, and who has seen the array of little portraits stuck over a labourers fireplace ... will perhaps feel with me that in counteracting the tendencies, social and industrial, which every day are sapping the healthier family affections, the sixpenny photograph is doing more for the poor than all the philanthropists in the world.”
—Macmillans Magazine (London, September 1871)