Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some predicates; coeff #284

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jverzani
Copy link
Contributor

@jverzani jverzani commented Mar 4, 2025

  • Adds some generic predicates: isreal, isinteger
  • useis_a_Symbol for is_symbol
  • add is_symbol check in
  • adds internal functions to expose several is_a_XXX functions (e.g. is_a_Number, is_a_Integer, ...)
  • exposes basic_coeff as unexported coeff function

This started out by trying to find a zero allocation check for whether an object is a symbol and for has_symbol. But along the way, realized some other useful pieces of cwrapper might be exposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant