Debian Codegraph @

docs/manual/TableOfReal__Select_columns_where_row___.html

raw symbols SCIP
1 <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2 <title>TableOfReal: Select columns where row...</title>
3 <style>
4 td { padding-left: 5pt; padding-right: 5pt; }
5 th { padding-left: 5pt; padding-right: 5pt; }
6 code { white-space: pre-wrap; }
7 dd { white-space: pre-wrap; }
8 </style>
9 </head><body bgcolor="#FFFFFF">
10
11 <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b>
12 TableOfReal: Select columns where row...
13 </b></font></table></table>
14 <p>Copy columns from the selected <a href="TableOfReal.html">TableOfReal</a> object to a new TableOfReal object.</p>
15 <h2>Settings</h2>
16 <dl>
17 <dt><b>Columns</b>
18 <dd>defines the indices of the columns to be selected. Ranges can be defined with a colon ":". Columns will be selected in the specified order.</dd>
19 <dt><b>Row condition</b>
20 <dd>specifies a condition for the selection of rows. If the condition evaluates as <i>true</i> for a particular row, the selected elements in this row will be copied. See <a href="Matrix__Formula___.html">Matrix: Formula...</a> for the kind of expressions that can be used here.</dd>
21 </dl>
22 <h2>Examples</h2>
23 <code> Select columns where row: "1 2 3", "1"<br></code>
24 <code> Select columns where row: "1 : 3", "1"<br></code>
25 <p>Two alternative expressions to copy the first three columns to a new table with the same number of rows.</p>
26 <code> Select columns where row: "3 : 1", "1"<br></code>
27 <p>Copy the first three columns to a new table with the same number of rows. The new table will have the 3 columns reversed.</p>
28 <code> Select columns where row: "1:6 9:11", "self[row,8]&gt;0"<br></code>
29 <p>Copy the first six columns and columns 9, 10, and 11 to a new table. Copy only elements from rows where the element in column 8 is greater than zero.</p>
30 <hr>
31 <address>
32 <p>© djmw 20140117</p>
33 </address>
34 </body>
35 </html>