Difference between revisions of "Package hermite/HNF.SolveDioph"

From ApCoCoAWiki
 
Line 2: Line 2:
 
<command>
 
<command>
 
   <title>HNF.SolveDioph</title>
 
   <title>HNF.SolveDioph</title>
   <short_description>Solves linear systems of equations over the integers </short_description>
+
   <short_description>This function solves linear systems of equations over the integers. </short_description>
 
    
 
    
 
   <syntax>HNF.SolveDioph(A:MAT, B:MAT>):LIST</syntax>
 
   <syntax>HNF.SolveDioph(A:MAT, B:MAT>):LIST</syntax>

Latest revision as of 15:05, 7 November 2020

HNF.SolveDioph

This function solves linear systems of equations over the integers.

Syntax

HNF.SolveDioph(A:MAT, B:MAT>):LIST

Description

Computes a solution of the linear system AX=B. If only one argument A is given then the function computes a basis of the solution space of the homogeneous system AX=0.

  • @param A integer matrix of dimension nxm

  • @param B (optional) integer matrix of dimension mx1

  • @return a solution or basis of the solution space if system is homogeneous

Example

<<first example>>

Example

<<second example>>