Category:Functions

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
| style="border:none; margin:none; padding:none;" valign="top" | <!-- LEFT COLUMN -->
 
| style="border:none; margin:none; padding:none;" valign="top" | <!-- LEFT COLUMN -->
 
<div style="border:0; margin:0.2em 0 0.2em 0.2em; ">
 
<div style="border:0; margin:0.2em 0 0.2em 0.2em; ">
{{Box| Types of Davinci Functions |
+
{{Box| Davinci Functions |
 +
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.
 +
#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. 
 +
#Modular Functions are written in C and collected in optional, loadable modules.  Modules must be loaded to be accessible. These functions are not editable.
 +
 
 
There are three types of functions avaiable in davinci:
 
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.
 
#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.

Revision as of 12:27, 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.
  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.
  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.

There are three types of functions avaiable in davinci:

  1. 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.
  2. 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.
  3. 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.


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