generate equations from the coefficient Matrix
GenerateEquations(A, v, B)
m x n Matrix
list; specifies the n unknowns
(optional) m x 1 Vector
The GenerateEquations(A, v) function generates a list of linear equations from the coefficient Matrix A, using the variable names given in v.
If the optional m x 1 right-hand side Vector B is included in the calling sequence, then the list of linear equations is equivalent to the Matrix equation A·x=B, where the x[i] are equal to the corresponding v[i]. In this case, v must specify exactly n unknowns.
If the optional right-hand side Vector B is not included in the calling sequence, and v specifies exactly n unknowns, then the right-hand sides of the m linear equations are set to zero. The list of equations is then equivalent to A·x=ZeroVector⁡m.
If the optional right-hand side Vector B is not included in the calling sequence, and v specifies exactly n-1 unknowns, then the right-hand sides of the m linear equations are taken from the last column of the Matrix A. That is, the Matrix A is treated as an augmented matrix. The list of equations is then equivalent to A1..−1,1..−2·x=A1..−1,−1.
This function is part of the LinearAlgebra package, and so it can be used in the form GenerateEquations(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[GenerateEquations](..).
V ≔ Transpose⁡VandermondeMatrix⁡1,2,3,4
UseHardwareFloats ≔ false:
A ≔ 0.40,0.10,0.50|0.20,0.70,0.10|0.20,0.20,0.60
B ≔ a,c|b,d|1,1
Download Help Document