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

Support Modulo-Operator #153

Closed
ronnycsharp opened this issue Oct 27, 2016 · 2 comments
Closed

Support Modulo-Operator #153

ronnycsharp opened this issue Oct 27, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@ronnycsharp
Copy link

Hi,

complex-numbers works quite nice.
It would also be nice to support a %-Operator and mod-function.
Like 25%7=4, mod(25,7)=4. Maybe I can implement it.

I've implemented the definite-integral,
If you want to support it. You can look into my code.

https://github.com/ronnycsharp/xFunc/blob/complex/xFunc.Maths/Expressions/DefiniteIntegral.cs

Another change,
I have modified the abs-Function, to support vectors.

https://github.com/ronnycsharp/xFunc/blob/complex/xFunc.Maths/Expressions/Abs.cs

The code is untested, I've merged it into the new version with your new Execution-Method.

Regards
Ronny

@sys27
Copy link
Owner

sys27 commented Oct 27, 2016

I will think about it later, after complete work on complex numbers.

@sys27 sys27 added the feature label Oct 30, 2016
@sys27 sys27 self-assigned this Nov 8, 2016
@sys27 sys27 added this to the xFunc 3.2.0 milestone Nov 8, 2016
@sys27
Copy link
Owner

sys27 commented Nov 8, 2016

The priority of % should be higher than +, - and etc.

sys27 added a commit that referenced this issue Nov 8, 2016
sys27 added a commit that referenced this issue Nov 9, 2016
sys27 added a commit that referenced this issue Nov 9, 2016
@sys27 sys27 closed this as completed Nov 9, 2016
sys27 added a commit that referenced this issue Aug 31, 2020
sys27 added a commit that referenced this issue Aug 31, 2020
sys27 added a commit that referenced this issue Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants