Function: getDetText()
getDetText(
matrix,options):VGroup
Defined in: mobjects/matrix/MatrixHelpers.ts:44
Creates a VGroup with determinant notation positioned around a Matrix.
In Python Manim, get_det_text places vertical bars around the matrix content (matching the bracket height) and optionally appends "= value".
Parameters
matrix
options
GetDetTextOptions = {}
Returns
Example
const matrix = new Matrix([[2, 0], [-1, 1]]);
const det = getDetText(matrix, { determinant: 3 });
scene.add(matrix);
scene.add(det);