- Timestamp:
- 07/21/06 14:47:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/CALCULS/determ2.html
r138 r142 711 711 <div class="routine_details" id="_determ2"> 712 712 713 <h2><a class="top" href="#container">top</a>determ2 </h2> 713 <h2><a class="top" href="#container">top</a>determ2 <span class="categories"> 714 Without loop 715 </span></h2> 714 716 715 717 <p class="header"> … … 717 719 718 720 <div class="comments"> 719 NAME:determ2 720 721 PURPOSE: computes the determinant of n 2 by 2 arrays 722 723 CATEGORY: no DO loops and better accuracy 724 725 CALLING SEQUENCE: 2 cases: 726 res = determ2(z2ds) 727 res = determ2(z1d00,z1d01,z1d10,z1d11) 728 729 INPUTS: 730 z2ds: an 2*2*n array 731 or 732 z1d00,z1d01,z1d10,z1d11: the four n elements arrays 733 defined as: 734 z2ds[0, 0, *] = z1d00 735 z2ds[0, 1, *] = z1d01 736 z2ds[1, 0, *] = z1d10 737 z2ds[1, 1, *] = z1d11 738 739 OUTPUTS: n elements array, the determinent of each 2*2 arrrays 740 741 EXAMPLE: 742 721 722 file_comments 723 computes the determinant of n 2 by 2 arrays 724 Z2DS is an 2*2*n array 725 </div> 726 727 <h3>Return value</h3><div class="preformat"> 728 n elements array, the determinent of each 2*2 arrrays 729 </div> 730 731 732 <h3>Parameters</h3> 733 734 735 <h4 id="_determ2_param_a">a 736 <span class="attr">in</span> 737 738 739 <span class="attr">required</span> 740 741 742 743 744 </h4> 745 746 <div class="comments"> 747 n element array 748 Defined as z2ds[0, 0, *] = z1d00 749 </div> 750 751 <h4 id="_determ2_param_b">b 752 <span class="attr">in</span> 753 754 755 <span class="attr">required</span> 756 757 758 759 760 </h4> 761 762 <div class="comments"> 763 n element array 764 Defined as z2ds[0, 1, *] = z1d01 765 </div> 766 767 <h4 id="_determ2_param_c">c 768 <span class="attr">in</span> 769 770 771 <span class="attr">required</span> 772 773 774 775 776 </h4> 777 778 <div class="comments"> 779 n element array 780 Defined as z2ds[1, 0, *] = z1d10 781 </div> 782 783 <h4 id="_determ2_param_d">d 784 <span class="attr">in</span> 785 786 787 <span class="attr">required</span> 788 789 790 791 792 </h4> 793 794 <div class="comments"> 795 n element array 796 Defined as z2ds[1, 1, *] = z1d11 797 </div> 798 799 800 801 802 803 804 <h3>Examples</h3><div class="preformat"> 743 805 a=findgen(2,2,5) 744 806 print, determ2(a) 745 807 FOR i=0,4 DO print, determ(a[*,*,i]) ; IDL solution 746 747 MODIFICATION HISTORY:</div> 748 749 750 751 752 <h3>Parameters</h3> 753 754 755 <h4 id="_determ2_param_a">a 756 757 758 759 760 761 762 763 764 </h4> 765 766 <div class="comments"></div> 767 768 <h4 id="_determ2_param_b">b 769 770 771 772 773 774 775 776 777 </h4> 778 779 <div class="comments"></div> 780 781 <h4 id="_determ2_param_c">c 782 783 784 785 786 787 788 789 790 </h4> 791 792 <div class="comments"></div> 793 794 <h4 id="_determ2_param_d">d 795 796 797 798 799 800 801 802 803 </h4> 804 805 <div class="comments"></div> 806 807 808 809 810 811 812 813 814 815 816 808 </div> 809 <h3>Version history</h3> 810 811 <h4>Version</h4><div class="preformat"> 812 $Id$ 813 </div> 814 <h4>History</h4><div class="preformat"></div> 817 815 818 816
Note: See TracChangeset
for help on using the changeset viewer.