TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: THOMAS J. PEDERSEN
date: 1998-04-24 01:15:00
subject: Solving linear equations

   I need a program to solve this set of equations:
    a11*x1 + a12*x2 + a13*x3 +  - - - - - - -+ a1n*xn       =   b1
    a21*x1 + a22*x2 + a23*x3 +  - - - - - - -+ a3n*xn       =   b2
    a31*x1 + a32*x2 + a33*x3 +  - - - - - - -+ a3n*xn       =   b3
        - - - - - - - - -
        - - - - - - - - -
        - - - - - - - - --
    am1*x1 + am2*x2 + am3*x3 + - - - - - -+ amn*xn      =   bn
    A(matrice)  X  x(vector) = b(vector)
    There are 3 possible solutions:
    (The letters are vectors in n-dim space)
    1)  x = k                                               (one solution)
    2)  x = k + t*a1 + s*a2 + r*a3              (many solutions)
    3)   x =                                                (no solution)
---
---------------
* Origin: --- (2:236/365.6512)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.