Description Usage Arguments Details Value Author(s) See Also Examples

Solve the equation system *Ax = b*, given the coefficient matrix
*A* and right-hand side vector *b*, using `link{gaussianElimination}`

.
Display the solutions using `showEqn`

.

1 2 |

`A, ` |
the matrix of coefficients of a system of linear equations |

`b, ` |
the vector of constants on the right hand side of the equations. The default is a vector of zeros,
giving the homogeneous equations |

`vars` |
a numeric or character vector of names of the variables.
If supplied, the length must be equal to the number of unknowns in the equations.
The default is |

`verbose, ` |
logical; show the steps of the Gaussian elimination algorithm? |

`simplify` |
logical; try to simplify the equations? |

`fractions` |
logical; express numbers as rational fractions? |

`..., ` |
arguments to be passed to |

This function mimics the base function `solve`

when supplied with two arguments,
`(A, b)`

, but gives a prettier result, as a set of equations for the solution. The call
`solve(A)`

with a single argument overloads this, returning the inverse of the matrix `A`

.
For that sense, use the function `inv`

instead.

the function is used primarily for its side effect of printing the solution in a readable form, but it invisibly returns the solution as a character vector

John Fox

`gaussianElimination`

, `showEqn`

`inv`

, `solve`

1 2 3 4 5 6 7 8 9 10 11 12 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.