Previous SAXO Documentation Assistant: Overview Next

ToBeReviewed/CALCULS/

determ2.pro

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

determ2 Without loop

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

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


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

    

Version history

Version

$Id: determ2.pro 371 2008-08-07 09:32:02Z pinsard $

History

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

 


  Produced by IDLdoc 2.0.