Reference

Table of Contents  ▸  List of Commands  ▸  Matrix Computation  ▸  solve◀  mproj    |    svd  ▶

solve

Built-in command

Arguments:

Description:

Solve linear system AX = B for selected B-matrices and specified A-matrix.

If the system is under- or over-determined, the least squares solution is returned
(using SVD-based solver).

Example of use:

$ gmic (0,1,0;1,0,0;0,0,1) (1;2;3) +solve[-1] [-2]

Command: (0,1,0;1,0,0;0,0,1) (1;2;3) +solve[-1] [-2]
Command: (0,1,0;1,0,0;0,0,1) (1;2;3) +solve[-1] [-2]
Command: (0,1,0;1,0,0;0,0,1) (1;2;3) +solve[-1] [-2]