Details, Explanation and Meaning About IDL programming language

IDL programming language Guide, Meaning , Facts, Information and Description

IDL, short for interactive data language, is a programming language which has been a popular choice for data analysis among scientists in the past 15 years.

Created by Research Systems, Inc (RSI), IDL's market share has been recently decreasing considerably.

Table of contents
1 Overview
2 Features
3 Problems
4 Examples
5 See also
6 External link

Overview

IDL is vectorized, numerical, interactive, Fortran-like, and is commonly used for interactive processing of large amounts of data (including image processing), right from the keyboard.

IDL originated from early VAX/VMS/Fortran, and its syntax still shows its heritage:

x = findgen(100)/10
y = sin(x)/x
plot,x,y
Note that the operation in the second line applies in a vectorized manner to the whole 100-element array created in the first line, analogous to the way general-purpose array programming languages (such as APL or J) would do it.

As most other array programming languages, IDL is very fast doing vector operations (sometimes faster than the equivalent fortran or C) but quite slow if elements need processing one-by-one. Hence part of the art of using IDL (or any other array programming language, for that matter) for numerically heavy computations is to make use of the inbuilt vector operations.

Features

As a computer language, IDL:
  • is dynamically typed
  • has a single namespace
  • is single threaded
  • has all function arguments passed by reference ("IN-OUT")
  • does not require variables to be predeclared
  • provides only COMMON block declarations to share global values among routines
  • provides a basic form of object-oriented programming, somewhat similar to Smalltalk
  • compiles to an interpreted, stack-based intermediate p-code (à la Java VM)
  • provides a simple and efficient index slice syntax to extract data from large arrays
  • provides various integer sizes, as well as single and double precision floating point real and complex numbers
  • provides composite data types such as character strings, homogeneous-type arrays, and simple (non-hierarchical) record structures of mixed data types

Problems

Some of these features, which make IDL very simple to use interactively, also cause difficulties when building large programs. The single namespace is particularly problematic in those cases. IDL also lacks empty arrays, variable-sized dynamic arrays (
Lists), and nested arrays (that is, arrays of arrays are not permitted). The object-oriented features of the language require that the programmer be responsible for managing memory allocation/deallocation.

Examples

The following graphics were created with IDL (source code included):

See also

IDL is often confused, at the acronym level, with another (unrelated) "IDL": the
Interface description language.

External link


This is an Article on IDL programming language. Page Contains Information, Facts Details or Explanation Guide About IDL programming language


Google
 
Web www.E-paranoids.com

Search Anything