Skip to content

Commit

Permalink
help v1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Oct 25, 2024
1 parent 235ce2c commit 7ce0bcb
Show file tree
Hide file tree
Showing 90 changed files with 957 additions and 177 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
<span class = "next"><a href = "2_direct_compution_with_table.html">Direct computation with Table &gt;&gt;</a></span>
</td>

</tr></table>
Expand Down Expand Up @@ -163,7 +163,7 @@ <h3>See also</h3>
<hr/>

<p>
<a href = "table.html" class = "link">table</a>.</p>
<a href = "table.html" class = "link">table</a>, <a href = "2_direct_compution_with_table.html" class = "link">Direct computation with Table</a>.</p>

<h3>History</h3>
<hr/>
Expand Down Expand Up @@ -193,7 +193,7 @@ <h3>Author</h3>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
<span class = "next"><a href = "2_direct_compution_with_table.html">Direct computation with Table &gt;&gt;</a></span>
</td>

</tr></table>
Expand Down
126 changes: 126 additions & 0 deletions help/en_US/2_direct_compution_with_table.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<!--
SAME AS NELSON SOFTWARE
-->

<head>
<meta name="generator" content=
"HTML Generated by Nelson"/>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="mono-blue.css" type="text/css" />
<script src = "highlight.pack.js" type = "text/javascript">
</script>
<script type = "text/javascript">hljs.highlightAll();</script>
</script>
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" />
<title>Direct computation with Table</title>

</head>
<body>

<div class = "manualnavbar">
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="1_accessing_manipulating_table.html">&lt;&lt; Accessing and Manipulating Tables in Nelson</a></span>
</td>

<td width="40%" class="center">
<span class="top"><a href="chapter_table.html">Tables</a></span>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
</td>

</tr></table>
<hr />

<h1 class="refname">Direct computation with Table</h1>
<hr/>

<h3>Description</h3>
<hr/>

<p></p>

<p>You can perform calculations directly on tableswithout needing to index into them.</p>
<p>To perform such operations using the same syntax as you would for arrays, your tables must meet several criteria:</p>
<p>All variables within the table must have data types that support the intended calculations (e.g., numeric or logical types).</p>
<p>When performing an operation where only one operand is a table, the other operand must be either a numeric or logical array.</p>
<p>For operations involving two tables, they must have compatible sizes (i.e., the same number of rows and columns or the operation must make sense for the structures involved).</p>
<p/>
<p>Below is an example that demonstrates how to perform calculations without explicitly indexing into the table.</p>


<h3>Example</h3>
<hr/>

<p>Adding a New Column</p>
<pre>
<code class = "nelson">% Create a sample table with sensor data
T = table([1.5; -2.3; 4.7], [0.5; 1.1; -0.7], [-1; 2; 3], ...
'VariableNames', {'Voltage', 'Current', 'Resistance'});

% Apply functions directly to the table columns
abs(T)
acos(T)
acosh(T)
T > 1
T + 2
T .* T
abs(sin(T)) + 1
</code>
</pre>

<h3>See also</h3>
<hr/>

<p>
<a href = "abs.html" class = "link">abs</a>, <a href = "acos.html" class = "link">acos</a>, <a href = "acosh.html" class = "link">acosh</a>, <a href = "acot.html" class = "link">acot</a>, <a href = "acotd.html" class = "link">acotd</a>, <a href = "acoth.html" class = "link">acoth</a>, <a href = "acsc.html" class = "link">acsc</a>, <a href = "acscd.html" class = "link">acscd</a>, <a href = "acsch.html" class = "link">acsch</a>, <a href = "asec.html" class = "link">asec</a>, <a href = "asecd.html" class = "link">asecd</a>, <a href = "asech.html" class = "link">asech</a>, <a href = "asin.html" class = "link">asin</a>, <a href = "asind.html" class = "link">asind</a>, <a href = "asinh.html" class = "link">asinh</a>, <a href = "atan.html" class = "link">atan</a>, <a href = "atand.html" class = "link">atand</a>, <a href = "atanh.html" class = "link">atanh</a>, <a href = "ceil.html" class = "link">ceil</a>, <a href = "cosd.html" class = "link">cosd</a>, <a href = "cosh.html" class = "link">cosh</a>, <a href = "cospi.html" class = "link">cospi</a>, <a href = "cot.html" class = "link">cot</a>, <a href = "cotd.html" class = "link">cotd</a>, <a href = "coth.html" class = "link">coth</a>, <a href = "csc.html" class = "link">csc</a>, <a href = "cscd.html" class = "link">cscd</a>, <a href = "csch.html" class = "link">csch</a>, <a href = "exp.html" class = "link">exp</a>, <a href = "fix.html" class = "link">fix</a>, <a href = "floor.html" class = "link">floor</a>, <a href = "log.html" class = "link">log</a>, <a href = "log10.html" class = "link">log10</a>, <a href = "log1p.html" class = "link">log1p</a>, <a href = "log2.html" class = "link">log2</a>, <a href = "nextpow2.html" class = "link">nextpow2</a>, <a href = "round.html" class = "link">round</a>, <a href = "sec.html" class = "link">sec</a>, <a href = "secd.html" class = "link">secd</a>, <a href = "sech.html" class = "link">sech</a>, <a href = "sin.html" class = "link">sin</a>, <a href = "sind.html" class = "link">sind</a>, <a href = "sinh.html" class = "link">sinh</a>, <a href = "sinpi.html" class = "link">sinpi</a>, <a href = "sqrt.html" class = "link">sqrt</a>, <a href = "tan.html" class = "link">tan</a>, <a href = "tand.html" class = "link">tand</a>, <a href = "tanh.html" class = "link">tanh</a>, <a href = "var.html" class = "link">var</a>, <a href = "acosd.html" class = "link">acosd</a>, <a href = "not.html" class = "link">not</a>, <a href = "plus.html" class = "link">plus</a>, <a href = "minus.html" class = "link">minus</a>, <a href = "times.html" class = "link">times</a>, <a href = "eq.html" class = "link">eq</a>, <a href = "ge.html" class = "link">ge</a>, <a href = "gt.html" class = "link">gt</a>, <a href = "le.html" class = "link">le</a>, <a href = "ne.html" class = "link">ne</a>, <a href = "lt.html" class = "link">lt</a>, <a href = "mrdivide.html" class = "link">mrdivide</a>, <a href = "rem.html" class = "link">rem</a>, <a href = "power.html" class = "link">power</a>, <a href = "pow2.html" class = "link">pow2</a>, <a href = "or.html" class = "link">or</a>, <a href = "rem.html" class = "link">mod</a>, <a href = "ldivide.html" class = "link">ldivide</a>.</p>

<h3>History</h3>
<hr/>

<table summary = "history" style="width:50%">
<tr>
<th>Version</th>
<th>Description</th>
</tr>
<tr>
<td>1.9.0</td>
<td>initial version</td>
</tr>

</table>

<h3>Author</h3>
<hr/>

<p>Allan CORNET</p>

<div class = "manualnavbar">
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="1_accessing_manipulating_table.html">&lt;&lt; Accessing and Manipulating Tables in Nelson</a></span>
</td>

<td width="40%" class="center">
<span class="top"><a href="chapter_table.html">Tables</a></span>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "array2table.html">array2table &gt;&gt;</a></span>
</td>

</tr></table>
<hr />

</body>

</html>

4 changes: 2 additions & 2 deletions help/en_US/array2table.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="accessing_manipulating_table.html">&lt;&lt; Accessing and Manipulating Tables in Nelson</a></span>
<span class="top"><a href="2_direct_compution_with_table.html">&lt;&lt; Direct computation with Table</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -126,7 +126,7 @@ <h3>Author</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="accessing_manipulating_table.html">&lt;&lt; Accessing and Manipulating Tables in Nelson</a></span>
<span class="top"><a href="2_direct_compution_with_table.html">&lt;&lt; Direct computation with Table</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/asec.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "asecd.html">secd &gt;&gt;</a></span>
<span class = "next"><a href = "asecd.html">asecd &gt;&gt;</a></span>
</td>

</tr></table>
Expand Down Expand Up @@ -130,7 +130,7 @@ <h3>Author</h3>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "asecd.html">secd &gt;&gt;</a></span>
<span class = "next"><a href = "asecd.html">asecd &gt;&gt;</a></span>
</td>

</tr></table>
Expand Down
6 changes: 3 additions & 3 deletions help/en_US/asecd.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script type = "text/javascript">hljs.highlightAll();</script>
</script>
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8" />
<title>secd</title>
<title>asecd</title>

</head>
<body>
Expand All @@ -39,7 +39,7 @@
</tr></table>
<hr />

<h1 class="refname">secd</h1>
<h1 class="refname">asecd</h1>
<hr/>

<h3>Inverse secant of argument in degrees.</h3>
Expand Down Expand Up @@ -81,7 +81,7 @@ <h3>Description</h3>
<hr/>

<p></p>
<b>secd</b> computes the inverse secant of argument in degrees for each element of <b>x</b>.
<b>asecd</b> computes the inverse secant of argument in degrees for each element of <b>x</b>.

<h3>Example</h3>
<hr/>
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/asech.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="asecd.html">&lt;&lt; secd</a></span>
<span class="top"><a href="asecd.html">&lt;&lt; asecd</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -122,7 +122,7 @@ <h3>Author</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="asecd.html">&lt;&lt; secd</a></span>
<span class="top"><a href="asecd.html">&lt;&lt; asecd</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/cell2table.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "height.html">height &gt;&gt;</a></span>
<span class = "next"><a href = "head.html">head &gt;&gt;</a></span>
</td>

</tr></table>
Expand Down Expand Up @@ -136,7 +136,7 @@ <h3>Author</h3>
</td>

<td width = "30%" class = "next">
<span class = "next"><a href = "height.html">height &gt;&gt;</a></span>
<span class = "next"><a href = "head.html">head &gt;&gt;</a></span>
</td>

</tr></table>
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_JSON.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ <h3>Functions to transmit data objects consisting of attribute–value pairs and
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_MEX.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -61,7 +61,7 @@ <h3>MEX C API is allow to access Nelson, GNU Octave and commercial software func
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_assert_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3>The aim of these functions is to provide tools to test some other functions.
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -70,7 +70,7 @@ <h3>Audio playback functions.</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_characters_encoding.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ <h3>characters encoding functions</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_com_engine.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -65,7 +65,7 @@ <h3>Component Object Model (COM) client interface: binary-interface standard for
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_console.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -49,7 +49,7 @@ <h3>Console</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
4 changes: 2 additions & 2 deletions help/en_US/chapter_constructors_functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down Expand Up @@ -55,7 +55,7 @@ <h3>Create scalars, vectors, or matrices</h3>
<table width = "100%"><tr>

<td width="30%" class="previous">
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.8.0.0</a></span>
<span class="top"><a href="index.html">&lt;&lt; Nelson 1.9.0.0</a></span>
</td>

<td width="40%" class="center">
Expand Down
Loading

0 comments on commit 7ce0bcb

Please sign in to comment.