Skip to content

Fix Issue #16#17

Open
RubyTheRoobster wants to merge 20 commits intomasterfrom
fix16
Open

Fix Issue #16#17
RubyTheRoobster wants to merge 20 commits intomasterfrom
fix16

Conversation

@RubyTheRoobster
Copy link
Collaborator

This PR aims to fix issue #16 .

@RubyTheRoobster RubyTheRoobster added the enhancement New feature or request label Mar 9, 2023
@RubyTheRoobster RubyTheRoobster linked an issue Mar 9, 2023 that may be closed by this pull request
@RubyTheRoobster
Copy link
Collaborator Author

Final commit of the day

@RubyTheRoobster
Copy link
Collaborator Author

Just realized I'll have to implement constants, if we want to make Summations usable at run time.

@RubyTheRoobster
Copy link
Collaborator Author

Constant syntax in a function definition: %type(val)% , where type is the type of the constant and val can be converted to that type via .fromDstring.

@RubyTheRoobster
Copy link
Collaborator Author

Now I can get back to implementing summations.

@RubyTheRoobster
Copy link
Collaborator Author

Turns out summations in the form of a function as an argument are impossible to achieve, as that would require passing a Tuple with unknown template parameters at run time. I'll just have to implement it in a different way.

@RubyTheRoobster
Copy link
Collaborator Author

Or I could literally just make Operators templates.

@RubyTheRoobster
Copy link
Collaborator Author

The return type also has to bee included.

@RubyTheRoobster
Copy link
Collaborator Author

Work is beginning again.

@RubyTheRoobster
Copy link
Collaborator Author

Said bug has been fixed, but the main loop of the summation function hangs. I will fix that before pushing again.

@RubyTheRoobster
Copy link
Collaborator Author

Actually, given the difficulty of summations, I have just decided to do logarithms outright and to rework the special operations list into something usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

Add Summations: Logarithms #1

1 participant