Category:Functions

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
{{Box| Davinci Functions |
 
{{Box| Davinci Functions |
 
Davinci functions come from three sources:
 
Davinci functions come from three sources:
#The Davinci Core contains routines written and compiled in C accessible from the command line.  These functions are included with the Davinci executable and are not editable.  Most of the math, matrix, I/O, and data manipulation functions are part of the Davinci Core.
+
#The [[:Category:Davinci Core | Davinci Core]] contains routines written and compiled in C accessible from the command line.  These functions are included with the Davinci executable and are not editable.  Most of the math, matrix, I/O, and data manipulation functions are part of the Davinci Core.  Examples include [[sum]] and [[display]].
#User Defined Functions are scripts written in the davinci language and may call other functions in their code.  The script code is viewable and editable during each session of davinci.  User Defined Functions are contained in dvrc (davinci resource) files and must be 'sourced' to be used.
+
#[[:Category:Scripts|User Defined Functions]] are scripts written in the davinci language and may call other functions in their code.  The script code is viewable and editable during each session of davinci.  User Defined Functions are contained in dvrc (davinci resource) files and must be 'sourced' to be used.   Examples include [[uddw]] and [[do_dcs]].
#Modular Functions are written in C and collected in optional, loadable modules.  Modules must be loaded to be accessible. These functions are not editable.
+
#[[:Category:thm module|Modular Functions]] are written in C and collected in optional, loadable modules.  Modules must be loaded to be accessible. These functions are not editable. Examples include [[thm.rectify]] and [[thm.deplaid]].
 +
 
  
There are three types of functions avaiable in davinci:
 
#Scripts are user defined functions which can contain various math and array manipulations.  These functions are generally the easiest to program and are very flexible.  Some limitations include their inability to handle very large arrays due to poor memory handing.  Anything that can be done on a command line in davinci can be done in a script. An example will be given below.
 
#Command line scripts are also user defined functions which can be run from the command propmt. They are usually a single file which contains all of the necessary steps to read data and write output.
 
#C-programs are the most complicated and difficult method to program in davinci.  Built in functions like [[sum]] are programmed in C.  Other functions such as [[rectify]] are also programmed in modules.  Modules are an easy way for end users to program davinci C functions.
 
  
 
}}
 
}}

Revision as of 13:01, 15 February 2006

Davinci Functions

Davinci functions come from three sources:

  1. The Davinci Core contains routines written and compiled in C accessible from the command line. These functions are included with the Davinci executable and are not editable. Most of the math, matrix, I/O, and data manipulation functions are part of the Davinci Core. Examples include sum and display.
  2. User Defined Functions are scripts written in the davinci language and may call other functions in their code. The script code is viewable and editable during each session of davinci. User Defined Functions are contained in dvrc (davinci resource) files and must be 'sourced' to be used. Examples include uddw and do_dcs.
  3. Modular Functions are written in C and collected in optional, loadable modules. Modules must be loaded to be accessible. These functions are not editable. Examples include thm.rectify and thm.deplaid.



DavinciWiki Navigation Bar

Pages in category "Functions"

The following 200 pages are in this category, out of 612 total.

(previous 200) (next 200)

A

B

C

C cont.

D

D cont.

E

F

G

(previous 200) (next 200)
Personal tools