Skip to content

Commit

Permalink
use .// for ReplaceRepeated
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre committed Aug 16, 2018
1 parent d7c472d commit bbf18a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symsrc/autoloaded.sj
Expand Up @@ -31,7 +31,7 @@ ExpandSinRule := Sin(a_ + b__) .> Cos(Plus(b))*Sin(a) + Cos(a)*Sin(Plus(b))
ExpandCosRule := Cos(a_ + b__) .> Cos(a)*Cos(Plus(b)) - Sin(a)*Sin(Plus(b))
ExpandCos(ex_) := ReplaceRepeated(ex, ExpandCosRule)
ExpandSin(ex_) := ReplaceRepeated(ex, ExpandSinRule)
ExpandSinCos(ex_) := ReplaceRepeated(ex, [ExpandSinRule, ExpandCosRule])
ExpandSinCos(ex_) := ex .// [ExpandSinRule, ExpandCosRule]

Protect(ExpandSinRule, ExpandCosRule, ExpandCos, ExpandSin, ExpandSinCos)

Expand Down

0 comments on commit bbf18a7

Please sign in to comment.