interactive_matrix_inverse: compstatslib interactive_matrix_inverse() function

View source: R/matrix_inverse_interactive.R

interactive_matrix_inverseR Documentation

compstatslib interactive_matrix_inverse() function

Description

Interactive function that allows one to *manipulate* a matrix inversion.

Usage

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.

Arguments

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).

Details

Inspired by: https://math.stackexchange.com/questions/295250/geometric-interpretations-of-matrix-inverses/1922830#1922830?newreg=d55776428dd2418e8a6a971dfdbfa17

See Also

plot_matrix_inverse


soumyaray/compstatslib documentation built on March 11, 2023, 8:39 p.m.