Skip to contents

kroneckersimp(expr) sets to zero the products of KroneckerDeltas that cannot both be one, such as KroneckerDelta(0, j)*KroneckerDelta(1, j).

Usage

kroneckersimp(expr)

Arguments

expr

An expression.

Value

An expression.

Examples

j <- Symbol("j")
kroneckersimp(1 + KroneckerDelta(0, j)*KroneckerDelta(1, j))
#> 1