list

From DavinciWiki
Revision as of 11:48, 14 April 2016 by Rswinkle (Talk | contribs)

Jump to: navigation, search


Description

Prints all defined variables and modules to the screen.

Identical to ls

Arguments and Return Values

Arguments: None

Return Value: None

Usage

Syntax: list([ufunc = BOOL][,sfunc = BOOL] )

ufunc - return an array of strings with all the loaded User Defined Functions

sfunc - return an array of strings with all the Davinci Core Functions

Examples

dv> list()
tmp: 2x2x2 array of float, bsq format [32 bytes]
0.00000 1.00000
2.00000 3.00000

4.00000 5.00000
6.00000 7.00000

a: 4x3x2 array of float, bsq format [96 bytes]
0.00000 1.00000 2.00000 3.00000
4.00000 5.00000 6.00000 7.00000
8.00000 9.00000 10.0000 11.0000

0.871736        0.252256        0.855913        0.793858
0.540481        0.816743        0.604638        0.125098
0.651419        0.322488        0.0191050       0.786868

$0: "davinci"

after loading the davinci library (source("library.dvrc")) you can see all 460 user functions
dv> list(1)
Text Buffer with 460 lines of text
    1: restore_session
    2: getos
    3: getbrowser
    4: wiki
    5: library_version
    6: install_check
    7: library
    8: library_update
    9: gdal_version
    10: isis3_version
dv> list(0,1)
Text Buffer with 249 lines of text
    1: nop
    2: exit
    3: echo
    4: cos
    5: sin
    6: tan
    7: acos
    8: asin
    9: atan
    10: cosd
dv> list(1,1)
Text Buffer with 709 lines of text
    1: restore_session
    2: getos
    3: getbrowser
    4: wiki
    5: library_version
    6: install_check
    7: library
    8: library_update
    9: gdal_version
    10: isis3_version

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 04-14-2016

Personal tools