Skip to content

Commit

Permalink
adding flat-sharp to operators dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
quffaro committed Dec 14, 2024
1 parent b030b92 commit 89a4686
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ function default_dec_matrix_generate(sd::HasDeltaSet, my_symbol::Symbol, hodge::

:♭ => dec_♭(sd)

:♭♯ => ♭♯_mat(sd)

# Averaging Operator
:avg₀₁ => dec_avg₀₁(sd)

Expand Down Expand Up @@ -169,6 +171,7 @@ function default_dec_generate(sd::HasDeltaSet, my_symbol::Symbol, hodge::Discret
:plus => (+)
:(-) || :neg => x -> -1 .* x
:ln => (x -> log.(x))
:mag => x -> norm.(x)

_ => error("Unmatched operator $my_symbol")
end
Expand Down

0 comments on commit 89a4686

Please sign in to comment.