Revision 1068

trunk/docs/manuals/autodif/autodif.tex (revision 1068)
784 784
is executed, it expands into several files. The installation program will
785 785
install the examples in the directory you specify. A \texttt{makefile} is
786 786
included to simplify compilation of the examples. Read the file
787
\texttt{examples.doc} for a more complete description of the examples.
787
\texttt{examples.txt} for a more complete description of the examples.
788 788

  
789 789
%xx \htmlnewfile
790 790

  
trunk/examples/autodif/examples.doc (revision 1068)
1
      The AUTODIF  distribution  disk  includes  many  of  the  examples
2
      discussed  in  the  User's  Guide. The examples are contained in a
3
      self-extracting executable archive named EXAMPLES.EXE The  install
4
      program  will  extract  this archive into the directory specified.
5

  
6

  
7
      Compiling the examples with make
8
      --------------------------------
9

  
10
      If your are familiar with the make utility, the  simplest  way  to
11
      compile  the  examples  is to simply type 'make all' at the system
12
      prompt. See comments on makefile below.
13

  
14

  
15
      Compiling the examples with Borland C++
16
      ---------------------------------------
17

  
18
      If you are using the Borland compiler, you can use  the  'project'
19
      files  to get a better idea of what is going on. Start the borland
20
      compiler and open a project file by pressing <Alt><P> then <O>.  A
21
      list  of  files  to  be compiled and linked (including the AUTODIF
22
      library) will appear in a window near the bottom  of  the  screen.
23
      The  default  library is AUTDIF7.LIB. If you do not have a numeric
24
      coprocessor, change the library specified to AUTDIFE.LIB.
25

  
26
      It may be  necessary  to  change  the  paths  where  the  compiler
27
      searches  for the include files and libraries. Press <Alt><O> then
28
      <D> and enter the information in the include  and  library  fields
29
      displayed.
30

  
31
      Approximately 2.8Mb of disk space is  required to compile and link
32
      all of the examples with 'make all'.
33

  
34

  
35
      The following files will be created
36
      -----------------------------------
37

  
38
      makefile - Make file to compile  and  link  the  examples.  It  is
39
      necessary  to  modify  the  makefile to match the configuration of
40
      your computer system. The definitions of the macros INCLUDE,  LIB,
41
      CFLAGS, CC , and LL will usually require modification. Type  "make
42
      all" to make all of the examples. To make a single  example,  type
43
      "make  NAME.exe"  where  NAME is the name of the following example
44
      executables:  simple.exe,  hemholtz.exe,  minimize.exe,  newt.exe,
45
      io_examp.exe,   mixture.exe,  normsim.exe,  neur1.exe,  winit.exe,
46
      nplot2.exe, robust.exe robsim.exe
47

  
48
      examples.doc - this file.
49

  
50
      hemholtz.cpp - Hemholtz energy example from Chapter 1.
51
      hemholtz.prj - Project file for Hemholtz energy example.
52
      hem_func.cpp - The procedure  hemholtz_energy  from  the  Hemholtz
53
      energy example.
54

  
55
      io_examp.cpp - The input and output example from Chapter 6.
56
      io_examp.prj - Project fole for input and output example.
57

  
58
      minimize.cpp - The minimization example from Chapter 9.
59
      minimize.prj - Project file for example from Chapter 9.
60
      userfun.cpp - The objective function for the minimization example.
61

  
62
      mixture.doc - Instructions for the mixture example.
63
      mixture.cpp  -The main() procedure for the complete example in
64
      Chapter 13.
65
      mixture.prj  - Project file for the estimation procedure in the
66
      complet example in chapter 13.
67
      fcomp_m.cpp - Objective function for the mixture example.
68
      like.cpp - Likelihood function for the mixture example.
69
      mixture.h - Function prototypes for the mixture example.
70
      normaliz.cpp - The normaliz_p function for the mixture example.
71
      nvarcal.cpp  - The  nvarcal function for the mixture example.
72
      reset.cpp - The  reset function for the mixture example.
73
      savepar.cpp - The  save_pars function for the mixture example.
74
      xinit.cpp - The  xinit function for the mixture example.
75
      mixture.pa1 - Initial parameter estimates for mixture example.
76
      mixture.pa2 - Initial parameter estimates for mixture example.
77
      mixture.pa3 - Initial parameter estimates for mixture example.
78
      mixture.pa4 - Initial parameter estimates for mixture example.
79
      mixture.par - Initial parameter estimates for mixture example.
80
      mixture.dat - Input length data for the mixture example.
81
      normsim.cpp - Simulator to generate  input  length  data  for  the
82
      mixture example.
83
      normsim.prj - Project file for simulator.
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff