Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Apr 05:45
· 70 commits to master since this release

Handcalcs v0.3.0

Diff since v0.2.1

Added Features

  • Recursion through functions now works
  • @handcalcs macro suggested to be used for all cases now
  • not_funcs keyword to pass functions you do not want to unroll

Breaking changes

  • The @handcalcs macro will now automatically try to "unroll" the expressions within a function when the expression has the following pattern: variable = function_name(args...; kwargs...).
  • One issue that can arise are for the functions that you do not want to unroll. Consider the expression: y = sin(x) or y = x + 5. Both of these expressions match the format: variable = function_name(args...; kwargs...) and would be unrolled. This would result in an error since these functions don't have generic math expressions that can be latexified defining the function. You will need to use the not_funcs keyword to manually tell the @handcalcs macro to pass over these functions. Some of the common math functions that you will not want to unroll are automatically passed over.

Merged pull requests: