Skip to content

Commit

Permalink
add missing pages
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisws committed Jun 16, 2024
1 parent 7045320 commit 385533f
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 0 deletions.
200 changes: 200 additions & 0 deletions reference/1802.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SmallBASIC | TRANSPOSE</title>
<meta name="description" content="Transpose of a vector or a 2D matrix.">
<link rel="canonical" href="1802">
<link rel="keywords" href="TRANSPOSE (A)">
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" type="image/png" href="/images/sb-desktop-32x32.png">
<script src="/clipboard.js"></script>
</head>
<body>
<div class="wrapAll clearfix">
<div class="sidebar">
<div class="logo">
<a href="/"><img src='/images/sb-desktop-128x128.png' alt="logo"></a>
</div>
<div class="navigation">
<h4>SmallBASIC</h4>
<ul>
<li><a href="/">Main page</a></li>
<li><a href="/pages/download.html">Download</a></li>
<li><a href="/pages/reference.html">Language reference</a></li>
<li><a href="/pages/samples.html">Code library</a></li>
</ul>
<hr class="menuSeparator"/>
<ul>
<li><a href="/pages/articles.html">Articles</a></li>
<li><a href="/pages/community.html">Community</a></li>
<li><a href="/pages/changelog.html">Changelog</a></li>
<li><a href="/pages/screenshots.html">Screenshots</a></li>
<li><a href="/pages/links.html">Links</a></li>
</ul>
</div>
</div>
<div class="mainsection">
<div class="tabs clearfix">
<div class="tabsLeft">
<ul>
<li><a href="#" class="active">Article</a></li>
<li><a href="https://www.syntaxbomb.com/smallbasic">Discuss</a></li>
</ul>
</div>
<div id="simpleSearch">
<form action="https://github.com/smallbasic/smallbasic.github.io/search"
target="_github" accept-charset="UTF-8" method="get" style="display:inline">
<div id="submitSearch">
<button type="submit">&nbsp;</button>
<input type="hidden" class="js-site-search-type-field" name="type">
<input type="hidden" name="utf8" value="">
<input type="hidden" name="l" value="Visual Basic">
<input type="text" name="q" placeholder="Search" id="searchInput">
</div>
</form>
</div>
<div class="tabsRight">
<ul>
<li><a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/reference/1802-math-transpose.markdown">View source</a></li>
<li><a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/commits/master/_build/reference/1802-math-transpose.markdown">View history</a></li>
</ul>
</div>
</div>
<div class="article">
<h1>TRANSPOSE</h1>
<blockquote>A = TRANSPOSE (M)</blockquote>
<div class="siteSub">
<p>
<a href="/">Home</a> &gt;
<a href="/pages/reference.html">Reference</a> &gt;
<a href="/pages/math.html">Math</a>
</p>
</div>
<p>Calculates the transpose <code>A</code> of a 2D matrix or a vector
<code>M</code>.</p>
<h3 id="example-1-transpose-of-a-vetor">Example 1: Transpose of a
vetor</h3>
<div class="sourceCode" id="cb1"><pre
class="sourceCode smallbasic"><code class="sourceCode smallbasic"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>A = [<span class="dv">1</span>;<span class="dv">2</span>;<span class="dv">3</span>;<span class="dv">4</span>]</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="kw">print</span> <span class="fu">transpose</span>(A) <span class="co">&#39; output: [1,2,3,4]</span></span></code></pre></div>
<h3 id="example-2-transpose-of-a-matrix">Example 2: Transpose of a
matrix</h3>
<div class="sourceCode" id="cb2"><pre
class="sourceCode smallbasic"><code class="sourceCode smallbasic"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a>A = [<span class="dv">1</span>,<span class="dv">2</span>; <span class="dv">3</span>,<span class="dv">4</span>; <span class="dv">5</span>,<span class="dv">6</span>]</span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="kw">print</span> <span class="fu">transpose</span>(A) <span class="co">&#39; output: [1,3,5;2,4,6] </span></span></code></pre></div>
<div class="lavenderBox">
<div class="header">Math</div>
<div class="linklist">
<a href="/reference/704.html">ABS </a>&nbsp;
<a href="/reference/705.html">ABSMAX </a>&nbsp;
<a href="/reference/706.html">ABSMIN </a>&nbsp;
<a href="/reference/707.html">ACOS </a>&nbsp;
<a href="/reference/708.html">ACOSH </a>&nbsp;
<a href="/reference/709.html">ACOT </a>&nbsp;
<a href="/reference/710.html">ACOTH </a>&nbsp;
<a href="/reference/711.html">ACSC </a>&nbsp;
<a href="/reference/712.html">ACSCH </a>&nbsp;
<a href="/reference/713.html">ASEC </a>&nbsp;
<a href="/reference/714.html">ASECH </a>&nbsp;
<a href="/reference/715.html">ASIN </a>&nbsp;
<a href="/reference/716.html">ASINH </a>&nbsp;
<a href="/reference/717.html">ATAN </a>&nbsp;
<a href="/reference/718.html">ATAN2 </a>&nbsp;
<a href="/reference/719.html">ATANH </a>&nbsp;
<a href="/reference/720.html">ATN </a>&nbsp;
<a href="/reference/721.html">CEIL </a>&nbsp;
<a href="/reference/722.html">COS </a>&nbsp;
<a href="/reference/723.html">COSH </a>&nbsp;
<a href="/reference/724.html">COT </a>&nbsp;
<a href="/reference/725.html">COTH </a>&nbsp;
<a href="/reference/726.html">CSC </a>&nbsp;
<a href="/reference/727.html">CSCH </a>&nbsp;
<a href="/reference/728.html">DEG </a>&nbsp;
<a href="/reference/693.html">DERIV </a>&nbsp;
<a href="/reference/729.html">DETERM </a>&nbsp;
<a href="/reference/694.html">DIFFEQN </a>&nbsp;
<a href="/reference/730.html">EXP </a>&nbsp;
<a href="/reference/695.html">EXPRSEQ </a>&nbsp;
<a href="/reference/731.html">FIX </a>&nbsp;
<a href="/reference/732.html">FLOOR </a>&nbsp;
<a href="/reference/733.html">FRAC </a>&nbsp;
<a href="/reference/734.html">INT </a>&nbsp;
<a href="/reference/696.html">INTERSECT </a>&nbsp;
<a href="/reference/735.html">INVERSE </a>&nbsp;
<a href="/reference/736.html">LINEQN </a>&nbsp;
<a href="/reference/737.html">LOG </a>&nbsp;
<a href="/reference/738.html">LOG10 </a>&nbsp;
<a href="/reference/697.html">M3APPLY </a>&nbsp;
<a href="/reference/698.html">M3IDENT </a>&nbsp;
<a href="/reference/699.html">M3ROTATE </a>&nbsp;
<a href="/reference/700.html">M3SCALE </a>&nbsp;
<a href="/reference/701.html">M3TRANS </a>&nbsp;
<a href="/reference/739.html">MAX </a>&nbsp;
<a href="/reference/740.html">MIN </a>&nbsp;
<a href="/reference/741.html">POLYAREA </a>&nbsp;
<a href="/reference/742.html">POLYCENT </a>&nbsp;
<a href="/reference/702.html">POLYEXT </a>&nbsp;
<a href="/reference/743.html">POW </a>&nbsp;
<a href="/reference/744.html">PTDISTLN </a>&nbsp;
<a href="/reference/745.html">PTDISTSEG </a>&nbsp;
<a href="/reference/746.html">PTSIGN </a>&nbsp;
<a href="/reference/747.html">RAD </a>&nbsp;
<a href="/reference/748.html">RND </a>&nbsp;
<a href="/reference/703.html">ROOT </a>&nbsp;
<a href="/reference/749.html">ROUND </a>&nbsp;
<a href="/reference/750.html">SEC </a>&nbsp;
<a href="/reference/751.html">SECH </a>&nbsp;
<a href="/reference/752.html">SEGCOS </a>&nbsp;
<a href="/reference/753.html">SEGLEN </a>&nbsp;
<a href="/reference/754.html">SEGSIN </a>&nbsp;
<a href="/reference/755.html">SEQ </a>&nbsp;
<a href="/reference/756.html">SGN </a>&nbsp;
<a href="/reference/757.html">SIN </a>&nbsp;
<a href="/reference/758.html">SINH </a>&nbsp;
<a href="/reference/759.html">SQR </a>&nbsp;
<a href="/reference/760.html">STATMEAN </a>&nbsp;
<a href="/reference/761.html">STATMEANDEV </a>&nbsp;
<a href="/reference/1801.html">STATMEDIAN </a>&nbsp;
<a href="/reference/762.html">STATSPREADP </a>&nbsp;
<a href="/reference/763.html">STATSPREADS </a>&nbsp;
<a href="/reference/1800.html">STATSTD </a>&nbsp;
<a href="/reference/764.html">SUM </a>&nbsp;
<a href="/reference/765.html">SUMSQ </a>&nbsp;
<a href="/reference/766.html">TAN </a>&nbsp;
<a href="/reference/767.html">TANH </a>&nbsp;
<a href="/reference/1802.html"><strong>TRANSPOSE</strong> </a>&nbsp;
</div>
<div class="subtitle">
If there is insufficient information on this page and you wish learn more about TRANSPOSE,
please send an email to [email protected]. You can help to improve information about
TRANSPOSE by submitting a <a href="https://github.com/smallbasic/smallbasic.github.io/pulls">pull request</a>,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.
</div>
</div>
<div class="categories">
<a href="/pages/console.html">Console </a>
<a href="/pages/data.html">Data </a>
<a href="/pages/date.html">Date </a>
<a href="/pages/file.html">File </a>
<a href="/pages/graphics.html">Graphics </a>
<a href="/pages/language.html">Language </a>
<a href="/pages/math.html">Math </a>
<a href="/pages/string.html">String </a>
<a href="/pages/system.html">System </a>
</div>
</div>
<div class="pagefooter">
This page was last edited on Sat, 18 May 2024 23:57:33 +0200
|
<a href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="nofollow">Markdown</a>
processed with
<a href="https://pandoc.org/MANUAL.html#pandocs-markdown" target="_blank" rel="nofollow">pandoc 3.1.3</a>
| Template by <a href="http://html5-templates.com/" target="_blank" rel="nofollow">HTML5 Templates</a>
</div>
</div>
</div>
</body>
</html>
14 changes: 14 additions & 0 deletions reference/ide/1802.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<h1 id="transpose">TRANSPOSE</h1>
<blockquote>
<p>A = TRANSPOSE (M)</p>
</blockquote>
<p>Calculates the transpose <code>A</code> of a 2D matrix or a vector
<code>M</code>.</p>
<h3 id="example-1-transpose-of-a-vetor">Example 1: Transpose of a
vetor</h3>
<pre><code>A = [1;2;3;4]
print transpose(A) &#39; output: [1,2,3,4]</code></pre>
<h3 id="example-2-transpose-of-a-matrix">Example 2: Transpose of a
matrix</h3>
<pre><code>A = [1,2; 3,4; 5,6]
print transpose(A) &#39; output: [1,3,5;2,4,6] </code></pre>

0 comments on commit 385533f

Please sign in to comment.