[138] | 1 | |
---|
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 4 | |
---|
| 5 | <!-- Generated by IDLdoc 2.0 --> |
---|
| 6 | |
---|
| 7 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 8 | <head> |
---|
| 9 | <title>zero_one.pro (SAXO Documentation)</title> |
---|
| 10 | |
---|
| 11 | |
---|
[191] | 12 | <link rel="stylesheet" type="text/css" media="all" href="./../main_files.css" /> |
---|
| 13 | <link rel="stylesheet" type="text/css" media="print" href="./../main_files_print.css" /> |
---|
[138] | 14 | |
---|
| 15 | |
---|
| 16 | <script type="text/javascript"> |
---|
| 17 | function setTitle() { |
---|
| 18 | parent.document.title="zero_one.pro (SAXO Documentation)"; |
---|
| 19 | } |
---|
| 20 | </script> |
---|
| 21 | </head> |
---|
| 22 | |
---|
| 23 | <body onload="setTitle();"> |
---|
| 24 | |
---|
| 25 | <div id="navbar_title"> |
---|
| 26 | <h1>SAXO Documentation</h1> |
---|
| 27 | </div> |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | <div id="main_navbar"> |
---|
| 31 | |
---|
| 32 | <table cellspacing="0"> |
---|
| 33 | <tr> |
---|
| 34 | |
---|
[189] | 35 | <td><a href="./../overview.html" title="Overview of library">Overview</a></td> |
---|
[138] | 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | <td >Directory</td> |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | |
---|
[189] | 43 | <td><a href="./../idldoc-categories.html" title="Browse library by category">Categories</a></td> |
---|
[138] | 44 | |
---|
| 45 | |
---|
| 46 | |
---|
[189] | 47 | <td><a href="./../idldoc-index.html" title="Index of files, routines, and parameters">Index</a></td> |
---|
[138] | 48 | |
---|
| 49 | |
---|
| 50 | |
---|
[189] | 51 | <td><a href="./../search-page.html" title="Search library">Search</a></td> |
---|
[138] | 52 | |
---|
| 53 | |
---|
| 54 | <td id="selected">File</td> |
---|
| 55 | |
---|
| 56 | |
---|
[189] | 57 | <td><a href="../../../Matrix//zero_one.pro" title="Source code of a file">Source</a></td> |
---|
[138] | 58 | |
---|
| 59 | |
---|
| 60 | |
---|
[189] | 61 | <td><a href="./../idldoc-help.html" title="Help on IDLdoc">Help</a></td> |
---|
[138] | 62 | |
---|
| 63 | |
---|
| 64 | <td >Etc</td> |
---|
| 65 | |
---|
| 66 | <td id="flexible">Developer documentation</td> |
---|
| 67 | </tr> |
---|
| 68 | </table> |
---|
| 69 | |
---|
| 70 | </div> |
---|
| 71 | |
---|
| 72 | <div id="secondary_navbar"> |
---|
| 73 | |
---|
[189] | 74 | <a href="union.html"><<prev file</a> | next file >> <a href="zero_one.html" target="_TOP">view single page</a> | <a href="./../index.html" target="_TOP">view frames</a> summary: fields | routine details: <a href="#routine_details">routine</a> |
---|
[138] | 75 | |
---|
| 76 | </div> |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | <div id="container"> |
---|
| 80 | |
---|
[189] | 81 | <h1 class="directory"><a href="directory-overview.html">Matrix/</a></h1> |
---|
[138] | 82 | <h2 class="pro_file">zero_one.pro</h2> |
---|
| 83 | |
---|
| 84 | <div id="file_attr"> |
---|
| 85 | <dl> |
---|
| 86 | </dl> |
---|
| 87 | </div> |
---|
| 88 | |
---|
[242] | 89 | <div id="file_comments"> |
---|
[163] | 90 | Send back a vector or a matrix constituted of 0 and 1 in alternation |
---|
[138] | 91 | </div> |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | <div id="routine_details"> |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | <div class="routine_details" id="_zero_one"> |
---|
| 105 | |
---|
[242] | 106 | <h2><a class="top" href="#container">top</a>zero_one <span class="categories"> |
---|
[321] | 107 | Matrix |
---|
[138] | 108 | </span></h2> |
---|
| 109 | |
---|
| 110 | <p class="header"> |
---|
| 111 | <span class="result">result = </span>zero_one(<span class="result"><a href="#_zero_one_param_n1">n1</a>, <a href="#_zero_one_param_n2">n2</a></span>)</p> |
---|
| 112 | |
---|
| 113 | <div class="comments"></div> |
---|
| 114 | |
---|
[242] | 115 | <h3>Return value</h3><div class="preformat"> |
---|
[402] | 116 | an array of n1 dimension or n1xn2 dimensions |
---|
[242] | 117 | </div> |
---|
[138] | 118 | |
---|
| 119 | |
---|
| 120 | <h3>Parameters</h3> |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | <h4 id="_zero_one_param_n1">n1 |
---|
| 124 | <span class="attr">in</span> |
---|
| 125 | |
---|
| 126 | |
---|
| 127 | <span class="attr">required</span> |
---|
| 128 | |
---|
[402] | 129 | <span class="attr">type:</span> <span class="value">integer</span> |
---|
[138] | 130 | |
---|
| 131 | |
---|
| 132 | </h4> |
---|
| 133 | |
---|
[242] | 134 | <div class="comments"> |
---|
| 135 | number of elements in the first dimension |
---|
| 136 | </div> |
---|
[138] | 137 | |
---|
| 138 | <h4 id="_zero_one_param_n2">n2 |
---|
| 139 | <span class="attr">in</span> |
---|
| 140 | |
---|
| 141 | |
---|
| 142 | |
---|
| 143 | |
---|
[402] | 144 | <span class="attr">type:</span> <span class="value">integer</span> |
---|
[138] | 145 | |
---|
| 146 | |
---|
| 147 | </h4> |
---|
| 148 | |
---|
[242] | 149 | <div class="comments"> |
---|
| 150 | number of elements in the second dimension |
---|
[138] | 151 | </div> |
---|
| 152 | |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | |
---|
| 156 | |
---|
| 157 | |
---|
[402] | 158 | <h3>Examples</h3><div class="preformat"> |
---|
| 159 | |
---|
| 160 | IDL> a=zero_one(3) |
---|
| 161 | IDL> help,a |
---|
| 162 | A FLOAT = Array[3] |
---|
| 163 | IDL> print,a |
---|
| 164 | 0.00000 1.00000 0.00000 |
---|
| 165 | |
---|
| 166 | IDL> a=zero_one(2,3) |
---|
| 167 | IDL> help,a |
---|
| 168 | A FLOAT = Array[2, 3] |
---|
| 169 | IDL> print,a |
---|
| 170 | 0.00000 1.00000 |
---|
| 171 | 1.00000 0.00000 |
---|
| 172 | 0.00000 1.00000 |
---|
| 173 | </div> |
---|
[138] | 174 | <h3>Version history</h3> |
---|
| 175 | |
---|
[242] | 176 | <h4>Version</h4><div class="preformat"> |
---|
[402] | 177 | $Id: zero_one.pro 373 2008-08-08 14:11:31Z pinsard $ |
---|
[138] | 178 | </div> |
---|
[242] | 179 | <h4>History</h4><div class="preformat"> |
---|
| 180 | Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
[138] | 181 | 1/12/98 |
---|
| 182 | </div> |
---|
| 183 | |
---|
| 184 | |
---|
| 185 | |
---|
| 186 | |
---|
| 187 | |
---|
| 188 | |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | |
---|
| 197 | |
---|
| 198 | |
---|
[163] | 199 | <h3>Statistics</h3> |
---|
| 200 | <table class="statistics"> |
---|
| 201 | <tr><td>McCabe cyclic</td><td> 5</td></tr> |
---|
| 202 | <tr><td>McCabe essential</td><td> 1</td></tr> |
---|
| 203 | <tr><td>McCabe modular design</td><td> 1</td></tr> |
---|
| 204 | </table> |
---|
[138] | 205 | |
---|
| 206 | |
---|
| 207 | </div> |
---|
| 208 | |
---|
| 209 | </div> |
---|
| 210 | |
---|
| 211 | |
---|
| 212 | |
---|
| 213 | <div id="tagline">Produced by IDLdoc 2.0.</div> |
---|
| 214 | |
---|
| 215 | </div> |
---|
| 216 | |
---|
| 217 | </body> |
---|
[249] | 218 | </html> |
---|