Download presentation
Presentation is loading. Please wait.
1
1 Ch 7-8 lArithmetic lLogical Operators © Fall 2004 Don Edwards and the University of South Carolina
2
2 7 Arithmetic lBasic operators (+,-,…) lMatrices lElementwise and matrix operators lBe careful of object type lMaple users may be underwhelmed
3
3 8 Logical objects and conditional execution lTRUE or FALSE values lLogical operators (>, =,!,…) lSubsetting and conditional execution lCompound (&,|,..) and sequential (&&,||,…) operators
4
4 8 Logical objects and conditional execution lOperators as functions lxor lany, all, identical,… lAvoid == with numeric variables
5
5 8 Logical objects and conditional execution lIf{…} else{…} lNo “elseif” lThe if() statement works elementwise lWait till Chapter 10: Iteration l ifelse() lExcel recoding
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.