Applications and packages

When you have developed several programs for some related tasks, you will find it convenient to group them together and make them available as a cohesive application that can easily be used and incorporated in your work. Packages and applications are part of the framework in Mathematica that makes t...

Full description

Saved in:
Bibliographic Details
Published in:Programming with Mathematica pp. 533 - 574
Main Author: Wellin, Paul
Format: Book Chapter
Language:English
Published: United Kingdom Cambridge University Press 10.01.2013
Subjects:
ISBN:9781107009462, 1107009464
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract When you have developed several programs for some related tasks, you will find it convenient to group them together and make them available as a cohesive application that can easily be used and incorporated in your work. Packages and applications are part of the framework in Mathematica that makes this possible. A package is simply a text file containing Mathematica code. Typically you put related functions in a package. So there might be a computational geometry package or a random walks package that includes functions in support of those tasks. An application, in Mathematica, is a set of packages together with various user-interface elements such as documentation, palettes, and perhaps stylesheets.When you develop an application, it is important to think about how your functions work with each other as well as how well they integrate with the rest of Mathematica. The user's interface to your programs should be as close as possible to that of the built-in functions in Mathematica so that users can more easily pick up the syntax and usage. Packages provide the framework to do this. In this chapter, features such as options, argument checking, messaging, and documentation are all discussed in the context of a larger application – random walks. We will gather much of the code fragments from earlier chapters and add an options framework, error and usage messages, and some new interactive visualization tools as we develop the RandomWalks package in this chapter.
AbstractList When you have developed several programs for some related tasks, you will find it convenient to group them together and make them available as a cohesive application that can easily be used and incorporated in your work. Packages and applications are part of the framework in Mathematica that makes this possible. A package is simply a text file containing Mathematica code. Typically you put related functions in a package. So there might be a computational geometry package or a random walks package that includes functions in support of those tasks. An application, in Mathematica, is a set of packages together with various user-interface elements such as documentation, palettes, and perhaps stylesheets.When you develop an application, it is important to think about how your functions work with each other as well as how well they integrate with the rest of Mathematica. The user's interface to your programs should be as close as possible to that of the built-in functions in Mathematica so that users can more easily pick up the syntax and usage. Packages provide the framework to do this. In this chapter, features such as options, argument checking, messaging, and documentation are all discussed in the context of a larger application – random walks. We will gather much of the code fragments from earlier chapters and add an options framework, error and usage messages, and some new interactive visualization tools as we develop the RandomWalks package in this chapter.
Author Wellin, Paul
Author_xml – sequence: 1
  givenname: Paul
  surname: Wellin
  fullname: Wellin, Paul
BookMark eNqNkMtKw0AUhke8YFv7AIKLvkDrOZnMDVexeINCN7oe5pYam2ZiJoKPb7AiqBvP5nB-zvct_jE5amITCLlAWCCguFxer5WQwBCVyFSeLQDzAzL-DvghmQ4PiCAAhjM7ISNJqeAKJT8l05ReYBgpQDIckfOibevKmb6KTZqZxs9a47ZmE9IZOS5NncL0a0_I0-3N4_J-vlrfPSyL1dwhy-ncs-AFC2hRmUxwaS04K2VWOuuZVR4Cy6TlJQYw1lHm0KEfYmGNctQgnRC697ZdfH0LqdfBxrh1oek7U7tn0_ahSxpBKZkLzXPNGB2oYk85s7Nd5TdBu9h9kkn_KEi_72r9u7UCOB8cV38cNv6X_gCsdW4d
ContentType Book Chapter
Copyright Paul Wellin 2013
Copyright_xml – notice: Paul Wellin 2013
DBID FFUUA
DEWEY 005.133
DOI 10.1017/CBO9780511972942.014
DatabaseName ProQuest Ebook Central - Book Chapters - Demo use only
DatabaseTitleList

DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 0511972946
9780511972942
1139612018
9781139612012
EndPage 574
ExternalDocumentID EBC1099847_64_553
9780511972942_xml_CBO9780511972942A066
GroupedDBID -G2
089
20A
38.
A4J
AAAAZ
AABBV
AAHFW
AAJKE
AALIM
ABARN
ABESS
ABMFC
ABMRC
ABWAU
ABZUC
ACLGV
ACNOG
ADCGF
ADQZK
ADVEM
AEDFS
AERYV
AEWAL
AEWQY
AHAWV
AJFER
AJPFC
AJXXZ
ALMA_UNASSIGNED_HOLDINGS
AMJDZ
AMYDA
ANGWU
ASYWF
AZZ
BBABE
BFIBU
BJUTA
BPBUR
COBLI
COXPH
CYGLA
CZZ
EBSCA
FH2
GEOUK
ICERG
JJU
MYL
OLDIN
OTBUH
OZASK
OZBHS
PP-
PQQKQ
S2A
SACVX
SN-
WZG
WZT
ZXKUE
ABQPQ
AHWGJ
FFUUA
ID FETCH-LOGICAL-c1543-d5ed75e1b19a2768bb0cb882fcbd5b9d0e528b6f1e0abc35c1c1d9d07ba9c3a13
ISBN 9781107009462
1107009464
IngestDate Thu May 29 01:33:28 EDT 2025
Fri Feb 21 02:35:21 EST 2025
Wed Mar 12 03:55:03 EDT 2025
IsPeerReviewed false
IsScholarly false
LCCallNum QA76.73.M29 W454 2013
Language English
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-c1543-d5ed75e1b19a2768bb0cb882fcbd5b9d0e528b6f1e0abc35c1c1d9d07ba9c3a13
OCLC 833769186
PQID EBC1099847_64_553
PageCount 42
ParticipantIDs proquest_ebookcentralchapters_1099847_64_553
cambridge_corebooks_9780511972942_xml_CBO9780511972942A066
cambridge_cbo_9780511972942_xml_CBO9780511972942A066
PublicationCentury 2000
PublicationDate 20130110
2013
PublicationDateYYYYMMDD 2013-01-10
2013-01-01
PublicationDate_xml – month: 01
  year: 2013
  text: 20130110
  day: 10
PublicationDecade 2010
PublicationPlace United Kingdom
PublicationPlace_xml – name: United Kingdom
PublicationSubtitle An Introduction
PublicationTitle Programming with Mathematica
PublicationYear 2013
Publisher Cambridge University Press
Publisher_xml – name: Cambridge University Press
SSID ssj0000870851
Score 1.4083406
Snippet When you have developed several programs for some related tasks, you will find it convenient to group them together and make them available as a cohesive...
SourceID proquest
cambridge
SourceType Publisher
StartPage 533
SubjectTerms Computer programming / software development
Computer science
Programming & scripting languages: general
Title Applications and packages
URI http://dx.doi.org/10.1017/CBO9780511972942.014
https://doi.org/10.1017/CBO9780511972942.014?locatt=mode:legacy
http://ebookcentral.proquest.com/lib/SITE_ID/reader.action?docID=1099847&ppg=553
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV07T8MwELZ4DYiBtygvZWAkkMROnbDRqoCEeAxFYov8ioSgaWkA9edzjp00aRlgYIkqK45cf8n5fL77PoROKEtjvc65lCnlkjbjLueYuAHGsVTYl0FqxCbo_X30_Bw_WsXPvJAToFkWTSbx6F-hhjYAW5fO_gHu6qHQAL8BdLgC7HCd8YibsVfDhGHSrQZViPWuomWd2l_NwZk10wJtxnLtNNswCDDxCganERvQOg2N2MCPZV_11A6zi9RbQJ1haMzinE01REzdzkOhf1DolMUkOPNM8WeTwjo0zL8zFNa9TlcfwMFCmLRJou8Zvbta-EsfkFsVlEW0SCkYquXr3sPTbRUm88CegFNYaDzZURLL1FWNuqyI9On5T6Oss2bMrbiFG9HfQGu6tMTRNR8w8E20oLIttF4KazjWzm6jVh0IB4BwSiB20NNVr9-9ca2GhSvAOcWuDJWkofK5H7MAtnace4LDriYVXIY8lp4Kg4i3U195jAscCl_4EpopZ7HAzMe7aCkbZmoPOW2lUhnBR0dpSlLJGGaSgRNCUhYRglkLkep_JoIPk8ZMJJPBWzI7PZfgcLbQRa3bcFwc0ue_7nxazmdSdLQpxcJMZJ40cd__2-0HaHX6Vh-ipY_xpzpCK-Lr4yUfH9tX5RsOKVcC
linkProvider ProQuest Ebooks
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=bookitem&rft.title=Programming+with+Mathematica&rft.au=Wellin%2C+Paul&rft.atitle=Applications+and+packages&rft.date=2013-01-01&rft.pub=Cambridge+University+Press&rft.isbn=9781107009462&rft_id=info:doi/10.1017%2FCBO9780511972942.014&rft.externalDBID=553&rft.externalDocID=EBC1099847_64_553
thumbnail_m http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Fassets.cambridge.org%2F97811070%2F09462%2Fcover%2F9781107009462.jpg
thumbnail_s http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Febookcentral.proquest.com%2Fcovers%2F1099847-l.jpg