Skip to main content

Crate symplex_macros

Crate symplex_macros 

Source
Expand description

Proc macros for the symplex symbolic mathematics library.

This crate provides two proc macros:

  • expr! — build symbolic expressions with natural math syntax.
  • rule! — define rewrite rules with pattern/template syntax.

This crate should not be used directly. Instead, depend on symplex which re-exports these macros.

Macros§

dim
Build a dimension-checked physical quantity using natural math syntax.
eq
Build a symbolic equation using natural math syntax.
expr
Build a symbolic expression using natural math syntax.
matrix
Build a symbolic matrix using natural math syntax.
rule
Define a rewrite rule with pattern/template syntax.