home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / sci / math / symbolic / 2227 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.1 KB  |  41 lines

  1. Newsgroups: sci.math.symbolic
  2. Path: sparky!uunet!gumby!destroyer!news.iastate.edu!pv343f.vincent.iastate.edu!whitmore
  3. From: whitmore@iastate.edu (Kurt D Whitmore)
  4. Subject: Mma (DeclarePackage) Command
  5. Message-ID: <whitmore.714158389@pv343f.vincent.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. Date: Tue, 18 Aug 1992 17:19:49 GMT
  9. Lines: 30
  10.  
  11. On page 342 of:
  12.  
  13.      Mathematica A System for Doing Mathematics by Computer
  14.          Second Edition
  15.  
  16.  
  17. it gives the example:
  18.  
  19.     DeclarePackage["Calculus`VectorAnalysis`",{"Div","Grad","Curl"}]
  20.  
  21.  
  22.     This specifies that the symbols Div, Grad and Curl are defined in:
  23.     Calculus`VectorAnalysis`
  24.  
  25.     Thus by typing the commands Div, Grad or Curl Mma will not
  26.     complain and automatically load the package containing those commands.
  27.  
  28.  
  29. The question is:
  30. ________________
  31.  
  32. Has anyone by chance made the proper modifications to (I believe the init.m file) or know of an easy way to tell Mma where all the commmands are in there respective packages so no matter what command a student types it will automatically load that package for them?
  33.  
  34.  
  35. Thanks,
  36.  
  37.  
  38.  
  39. Kurt D. Whitmore
  40. whitmore@iastate.edu
  41.