View source: R/matrix_inverse_interactive.R
interactive_matrix_inverse | R Documentation |
Interactive function that allows one to *manipulate* a matrix inversion.
interactive_matrix_inverse(x1_init=1, y1_init=2, x2_init=2, y2_init=1) After running the function, the user can click on the gear icon in the top-left corner of the plot area. A window with four slider bars will pop up, allowing the user to change the value of the 4 parameters.
x1_init |
The first row (or column) vector of matrix A. This parameter is set to 1 by default. |
y1_init |
The second row (or column) vector of matrix A. This parameter is set to 2 by default. The area of the parallelogram resulting from these two vectors is the determinant of matrix A. |
x2_init |
The first row (or column) vector of the inverse matrix A^(-1). This parameter is set to 2 by default. |
y2_init |
The second row (or column) vector of the inverse matrix A^(-1). This parameter is set to 1 by default. The area of the parallelogram resulting from these two vectors is the determinant of the inverse matrix A^(-1). |
Inspired by: https://math.stackexchange.com/questions/295250/geometric-interpretations-of-matrix-inverses/1922830#1922830?newreg=d55776428dd2418e8a6a971dfdbfa17
plot_matrix_inverse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.