Download Maple Programming Guide - Numerical Relativity Group at UBC
Transcript
Contents • ix 8.5 Records ............................................................................................. Creating Records ................................................................................. Record Types ...................................................................................... Using Records to Represent Quaternions .................................................. Object Inheritance ............................................................................... 8.6 Modules and use Statements .................................................................. Operator Rebinding ............................................................................. 8.7 Modeling Objects ................................................................................ Objects and Constructors ...................................................................... Example: Complex Number Constructor .................................................. Effect of Immutable Local States ............................................................ 8.8 Interfaces and Implementations .............................................................. Generic Programming as a Good Software Engineering Practice ................... Distinction between Local and Exported Variables ..................................... Interfaces ........................................................................................... A Package for Manipulating Interfaces .................................................... The load Option .................................................................................. 9 Input and Output ........................................................................................ 9.1 In This Chapter ................................................................................... 9.2 Introduction ....................................................................................... 9.3 Input and Output in the Worksheet .......................................................... Interfaces ........................................................................................... Interactive Output ................................................................................ Interactive Input .................................................................................. Customization ..................................................................................... 9.4 Input and Output with Files ................................................................... Introduction ........................................................................................ Working with General Files ................................................................... Importing and Exporting Numerical Data ................................................. Files Used by Maple ............................................................................ 9.5 Reading and Writing Formatted Data ...................................................... The scanf and printf Commands ............................................................. Format Strings .................................................................................... Related Commands .............................................................................. 9.6 Useful Utilities ................................................................................... The StringTools Package ....................................................................... Conversion Commands ......................................................................... 9.7 2-D Math ........................................................................................... Introduction ........................................................................................ The Typesetting Package ....................................................................... Additional Tips ................................................................................... 9.8 Exercises ........................................................................................... 10 Writing Packages ..................................................................................... 345 345 347 348 348 350 352 356 356 356 358 358 358 359 359 360 364 365 365 365 367 367 368 370 370 370 370 371 376 378 380 380 381 382 382 382 383 383 383 384 385 385 387
Related documents
Maple Programming Guide
User Guide - Maplesoft
Maple Introductory Programming Guide
Maple Advanced Programming Guide
A Maple User`s Guide
8XC196KC SPECIFICATION UPDATE
Maple User Manual
PsychoPyManual v1.81.03
Terminal-Emulation (VT100) User Guide and LCD Front
Maple User Manual - University Information & Technology Services
a cas as an assistant to reasoned instrumentation