Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 4728

Macaulay2-1.3.1-8.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8" ?>  <!-- for emacs: -*- coding: utf-8 -*- -->
<!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"	 "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head><title>matrix -- make a matrix</title>
<link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/>
</head>
<body>
<table class="buttons">
  <tr>
    <td><div><a href="___Matrix_sp_pc_sp__Groebner__Basis.html">next</a> | <a href="___Matrix.html">previous</a> | <a href="___Matrix_sp_pc_sp__Groebner__Basis.html">forward</a> | <a href="___Matrix.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div>

    </td>
  </tr>
</table>
<hr/>
<div><h1>matrix -- make a matrix</h1>
<div class="single"><h2>Synopsis</h2>
<ul><li><div class="single"><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><a href="_matrix_lp__List_rp.html">Degree => ...</a>,  -- create a matrix from a doubly-nested list of ring elements or matrices</span></li>
</ul>
</div>
</li>
</ul>
</div>
<div class="single"><h2>Description</h2>
<div>The simplest use of this function is to define a matrix by giving a doubly nested list of ring elements.  One may also explicitly provide the ring, or give a matrix as a doubly-nested list of matrices.<table class="examples"><tr><td><pre>i1 : matrix{{1,2,3},{4,5,6}}

o1 = | 1 2 3 |
     | 4 5 6 |

              2        3
o1 : Matrix ZZ  &lt;--- ZZ</pre>
</td></tr>
<tr><td><pre>i2 : R = QQ[x,y,z];</pre>
</td></tr>
<tr><td><pre>i3 : matrix{{x,0,2},{1,2,y}}

o3 = | x 0 2 |
     | 1 2 y |

             2       3
o3 : Matrix R  &lt;--- R</pre>
</td></tr>
</table>
The <a href="_map.html" title="make a map">map</a> function provides other methods to define a matrix.</div>
</div>
<div class="waystouse"><h2>Ways to use <tt>matrix</tt> :</h2>
<ul><li><span><a href="_matrix_lp__List_rp.html" title="create a matrix from a doubly-nested list of ring elements or matrices">matrix(List)</a> -- create a matrix from a doubly-nested list of ring elements or matrices</span></li>
<li><span><a href="_matrix_lp__Matrix_rp.html" title="the matrix between generators">matrix(Matrix)</a> -- the matrix between generators</span></li>
<li><span><a href="_matrix_lp__Mutable__Matrix_rp.html" title="make a matrix from a mutable one">matrix(MutableMatrix)</a> -- make a matrix from a mutable one</span></li>
<li><span><a href="_matrix_lp__Ring_cm__List_rp.html" title="create a matrix from a doubly nested list of ring elements or matrices">matrix(Ring,List)</a> -- create a matrix from a doubly nested list of ring elements or matrices</span></li>
<li><span>matrix(RingFamily,List), see <span><a href="_matrix_lp__Ring_cm__List_rp.html" title="create a matrix from a doubly nested list of ring elements or matrices">matrix(Ring,List)</a> -- create a matrix from a doubly nested list of ring elements or matrices</span></span></li>
<li><span><a href="_matrix_lp__Ring__Map_rp.html" title="the matrix associated to a ring map">matrix(RingMap)</a> -- the matrix associated to a ring map</span></li>
<li><span><a href="../../Classic/html/_matrix_lp__String_rp.html" title="make a matrix using classic Macaulay syntax">matrix(String)</a> -- make a matrix using classic Macaulay syntax</span></li>
<li><span><a href="_matrix_lp__Vector_rp.html" title="">matrix(Vector)</a></span></li>
</ul>
</div>
</div>
</body>
</html>