Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Ch 7-8 lArithmetic lLogical Operators © Fall 2004 Don Edwards and the University of South Carolina.

Similar presentations


Presentation on theme: "1 Ch 7-8 lArithmetic lLogical Operators © Fall 2004 Don Edwards and the University of South Carolina."— Presentation transcript:

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


Download ppt "1 Ch 7-8 lArithmetic lLogical Operators © Fall 2004 Don Edwards and the University of South Carolina."

Similar presentations


Ads by Google