Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/4ti2interface/doc/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 23.10.2024 mit Größe 4 kB image not shown  

Quelle  chap4.html   Sprache: HTML

 
 products/Sources/formale Sprachen/GAP/pkg/4ti2interface/doc/chap4.html


<?xml version="1.0" encoding="UTF-8"?>

<!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" xml:lang="en">
<head>
<title>GAP (4ti2Interface) - Chapter 4: Tool functions</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
<script src="manual.js" type="text/javascript"></script>
<script type="text/javascript">overwriteStyle();</script>
</head>
<body class="chap4"  onload="jscontent()">


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chapInd.html">Ind</a>  </div>

<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap3.html">[Previous Chapter]</a>    <a href="chapInd.html">[Next Chapter]</a>   </div>

<p id="mathjaxlink" class="pcenter"><a href="chap4_mj.html">[MathJax on]</a></p>
<p><a id="X7A15CCB67FBCF3E3" name="X7A15CCB67FBCF3E3"></a></p>
<div class="ChapSects"><a href="chap4.html#X7A15CCB67FBCF3E3">4 <span class="Heading">Tool functions</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap4.html#X86BDFBD07D23807E">4.1 <span class="Heading">Read and write matrix</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss">  </span><a href="chap4.html#X7B786D5E8267CBD0">4.1-1 4ti2Interface_Read_Matrix_From_File</a></span>
<span class="ContSS"><br /><span class="nocss">  </span><a href="chap4.html#X847592CF87F6DBEC">4.1-2 4ti2Interface_Write_Matrix_To_File</a></span>
<span class="ContSS"><br /><span class="nocss">  </span><a href="chap4.html#X80F4C48487375746">4.1-3 4ti2Interface_Cut_Vector</a></span>
</div></div>
</div>

<h3>4 <span class="Heading">Tool functions</span></h3>

<p><a id="X86BDFBD07D23807E" name="X86BDFBD07D23807E"></a></p>

<h4>4.1 <span class="Heading">Read and write matrix</span></h4>

<p><a id="X7B786D5E8267CBD0" name="X7B786D5E8267CBD0"></a></p>

<h5>4.1-1 4ti2Interface_Read_Matrix_From_File</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ 4ti2Interface_Read_Matrix_From_File</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: a list of vectors</p>

<p>The argument must be a string, representing a filename of a matrix to read. Numbers must be seperated by whitespace, and the first two numbers must be the number of rows and columns. The function then returns the matrix as list of lists.</p>

<p><a id="X847592CF87F6DBEC" name="X847592CF87F6DBEC"></a></p>

<h5>4.1-2 4ti2Interface_Write_Matrix_To_File</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ 4ti2Interface_Write_Matrix_To_File</code>( <var class="Arg">arg</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: nothing</p>

<p>First argument must be a matrix, i.e. a list of list of integers. Second argument has to be a filename. The method stores the matrix in this file, seperated by whitespace, line by line. The content of the file, if there is any, will be deleted.</p>

<p><a id="X80F4C48487375746" name="X80F4C48487375746"></a></p>

<h5>4.1-3 4ti2Interface_Cut_Vector</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ 4ti2Interface_Cut_Vector</code>( <var class="Arg">vec</var>, <var class="Arg">d</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: a matrix</p>

<p>Takes the vector <var class="Arg">vec</var> and produces a matrix with <var class="Arg">d</var> columns out of the entries of the vector.</p>


<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a>   <a href="chap0.html#contents">[Contents]</a>    <a href="chap3.html">[Previous Chapter]</a>    <a href="chapInd.html">[Next Chapter]</a>   </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chapInd.html">Ind</a>  </div>

<hr />
<p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>

100%


¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.