summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Matrices.html
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-05-24 08:09:03 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-05-24 08:09:03 -0400
commit03072ef67af0623758a660e2cd3fb5e153133efa (patch)
treeeea30b2b8fd47aa7d1bd6494ed64b4313f03eb4a /manuals/chickadee/Matrices.html
parentbcccc363a3b814930856be06c52914fb88c2ece6 (diff)
Update chickadee manual.
Diffstat (limited to 'manuals/chickadee/Matrices.html')
-rw-r--r--manuals/chickadee/Matrices.html58
1 files changed, 29 insertions, 29 deletions
diff --git a/manuals/chickadee/Matrices.html b/manuals/chickadee/Matrices.html
index 354a9ef..bf65917 100644
--- a/manuals/chickadee/Matrices.html
+++ b/manuals/chickadee/Matrices.html
@@ -1,6 +1,6 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
-<!-- Copyright (C) 2017-2021 David Thompson davet@gnu.org
+<!-- Copyright (C) 2017-2023 David Thompson dthompson2@worcester.edu
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
@@ -17,25 +17,25 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html.
The document was typeset with
http://www.texinfo.org/ (GNU Texinfo).
- -->
-<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
+ -->
+<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Matrices (The Chickadee Game Toolkit)</title>
-<meta name="description" content="Matrices (The Chickadee Game Toolkit)">
-<meta name="keywords" content="Matrices (The Chickadee Game Toolkit)">
-<meta name="resource-type" content="document">
-<meta name="distribution" content="global">
-<meta name="Generator" content="makeinfo">
-<link href="index.html" rel="start" title="Top">
-<link href="Index.html" rel="index" title="Index">
-<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
-<link href="Math.html" rel="up" title="Math">
-<link href="Quaternions.html" rel="next" title="Quaternions">
-<link href="Rectangles.html" rel="prev" title="Rectangles">
+<meta name="description" content="Matrices (The Chickadee Game Toolkit)" />
+<meta name="keywords" content="Matrices (The Chickadee Game Toolkit)" />
+<meta name="resource-type" content="document" />
+<meta name="distribution" content="global" />
+<meta name="Generator" content="makeinfo" />
+<link href="index.html" rel="start" title="Top" />
+<link href="Index.html" rel="index" title="Index" />
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents" />
+<link href="Math.html" rel="up" title="Math" />
+<link href="Quaternions.html" rel="next" title="Quaternions" />
+<link href="Rectangles.html" rel="prev" title="Rectangles" />
<style type="text/css">
-<!--
+&lt;!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
@@ -72,9 +72,9 @@ ul.no-bullet {list-style: none}
}
}
--->
+--&gt;
</style>
-<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css">
+<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css" />
</head>
@@ -84,7 +84,7 @@ ul.no-bullet {list-style: none}
<p>
Next: <a href="Quaternions.html" accesskey="n" rel="next">Quaternions</a>, Previous: <a href="Rectangles.html" accesskey="p" rel="prev">Rectangles</a>, Up: <a href="Math.html" accesskey="u" rel="up">Math</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>
-<hr>
+<hr />
<span id="Matrices-1"></span><h4 class="subsection">5.2.4 Matrices</h4>
<p>The <code>(chickadee math matrix)</code> module provides an interface for
@@ -118,10 +118,10 @@ format.
identity matrix yields the original matrix. This procedure is
equivalent to the following code:
</p>
-<div class="example">
-<pre class="example">(make-matrix3 1 0 0
- 0 1 0
- 0 0 1)
+<div class="lisp">
+<pre class="lisp"><span class="syntax-open">(</span><span class="syntax-symbol">make-matrix3</span> <span class="syntax-symbol">1</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span>
+ <span class="syntax-symbol">0</span> <span class="syntax-symbol">1</span> <span class="syntax-symbol">0</span>
+ <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">1</span><span class="syntax-close">)</span>
</pre></div>
</dd></dl>
@@ -247,11 +247,11 @@ column-major format.
identity matrix yields the original matrix. This procedure is
equivalent to the following code:
</p>
-<div class="example">
-<pre class="example">(make-matrix4 1 0 0 0
- 0 1 0 0
- 0 0 1 0
- 0 0 0 1)
+<div class="lisp">
+<pre class="lisp"><span class="syntax-open">(</span><span class="syntax-symbol">make-matrix4</span> <span class="syntax-symbol">1</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span>
+ <span class="syntax-symbol">0</span> <span class="syntax-symbol">1</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span>
+ <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">1</span> <span class="syntax-symbol">0</span>
+ <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">0</span> <span class="syntax-symbol">1</span><span class="syntax-close">)</span>
</pre></div>
</dd></dl>
@@ -397,7 +397,7 @@ particular transformation will not be included in the result.
matrix <var>matrix</var>.
</p></dd></dl>
-<hr>
+<hr />
<div class="header">
<p>
Next: <a href="Quaternions.html" accesskey="n" rel="next">Quaternions</a>, Previous: <a href="Rectangles.html" accesskey="p" rel="prev">Rectangles</a>, Up: <a href="Math.html" accesskey="u" rel="up">Math</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>