<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/CALCULS/

determ2.pro

topdeterm2 Without loop

result = determ2(a, b, c, d)

file_comments computes the determinant of n 2 by 2 arrays Z2DS is an 2*2*n array

Return value

n elements array, the determinent of each 2*2 arrrays

Parameters

a        in required

n element array Defined as z2ds[0, 0, *] = z1d00

b        in required

n element array Defined as z2ds[0, 1, *] = z1d01

c        in required

n element array Defined as z2ds[1, 0, *] = z1d10

d        in required

n element array Defined as z2ds[1, 1, *] = z1d11

Examples

a=findgen(2,2,5) print, determ2(a) FOR i=0,4 DO print, determ(a[*,*,i]) ; IDL solution

Version history

Version

$Id: determ2.pro 157 2006-08-21 09:01:50Z navarro $

History

S. Masson (smasson@lodyc.jussieu.fr) July 11th, 2002

Statistics

McCabe cyclic 4
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.