Rewrite Rulesphysics/matrixdeterminant-to-mdet

physics/matrixdeterminant-to-mdet

Collapse matrixdeterminant to the shorter mdet determinant helper.

Rewrite patterns#

  1. \matrixdeterminant{#1}\mdet{#1}

Examples#

Each example shows this rule applied in isolation. A complete normalization profile may make additional changes.

matrixdeterminant characteristic polynomial#

Before

p(\lambda)=\matrixdeterminant{\lambda I-A}

After this rule

p(\lambda)=\mdet{\lambda I-A}

Rendering verified with the declared packages.

Downstream rules#

Same family#

Disable this rule#

TransformEngine(profile="corpus", disable_rules=["physics/matrixdeterminant-to-mdet"])
new TransformEngine({ profile: 'corpus', disableRules: ['physics/matrixdeterminant-to-mdet'] })

Open in Playground