In previous chapters, we have used looping and array syntax to analyze data in arrays of a number of dimensions. When we used looping constructs to examine the elements of arrays, we also found that branching statements like the if statement enable us to do different calculations depending upon whether certain conditions are true or not. Is it possible, however, to include branching logic into array syntax and avoid writing loops while still doing different calculations depending on whether certain conditions are true or not? In this chapter, we examine array functions and constructs that enable us to do exactly that.
Review the options below to login to check your access.
Log in with your Cambridge Aspire website account to check access.
If you believe you should have access to this content, please contact your institutional librarian or consult our FAQ page for further information about accessing our content.