<?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>getMatrix -- reads a matrix from a 4ti2-formatted input file</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_hilbert__Basis.html">next</a> | <a href="index.html">previous</a> | <a href="_hilbert__Basis.html">forward</a> | <a href="index.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>getMatrix -- reads a matrix from a 4ti2-formatted input file</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>getMatrix s</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>s</tt>, <span>a <a href="../../Macaulay2Doc/html/___String.html">string</a></span>, file name</span></li> </ul> </div> </li> <li><div class="single">Outputs:<ul><li><span><tt>A</tt>, <span>a <a href="../../Macaulay2Doc/html/___Matrix.html">matrix</a></span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div><p>The file should contain a matrix in the format such as</p> <p>2 4<br>1 1 1 1<br>1 2 3 4<br></p> <div>The first two numbers are the numbers of rows and columns.</div> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_put__Matrix.html" title="writes a matrix into a file formatted for 4ti2">putMatrix</a> -- writes a matrix into a file formatted for 4ti2</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>getMatrix</tt> :</h2> <ul><li>getMatrix(String)</li> </ul> </div> </div> </body> </html>