Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 03 16:41

    axkr on master

    Update CONTRIBUTING.md (compare)

  • Dec 03 16:40

    axkr on master

    CONTRIBUTING.md describe more d… (compare)

  • Dec 01 18:25

    axkr on master

    LogicNG version 2.4.1 (compare)

  • Nov 30 07:44

    dependabot[bot] on maven

    (compare)

  • Nov 30 07:43

    axkr on master

    Bump json-flattener from 0.15.1… (compare)

  • Nov 30 07:43
    axkr closed #637
  • Nov 30 04:04
    gitpod-io[bot] commented #637
  • Nov 30 04:04
    dependabot[bot] labeled #637
  • Nov 30 04:04
    dependabot[bot] labeled #637
  • Nov 30 04:04
    dependabot[bot] opened #637
  • Nov 30 04:04

    dependabot[bot] on maven

    Bump json-flattener from 0.15.1… (compare)

  • Nov 28 04:08
    gitpod-io[bot] commented #636
  • Nov 28 04:07
    dependabot[bot] labeled #636
  • Nov 28 04:07
    dependabot[bot] labeled #636
  • Nov 28 04:07

    dependabot[bot] on maven

    Bump pebble from 3.1.6 to 3.2.0… (compare)

  • Nov 28 04:07
    dependabot[bot] opened #636
  • Nov 27 23:35

    axkr on master

    define pointSize, opacity, colo… (compare)

  • Nov 27 17:12

    axkr on master

    thread Quantity over list if fi… define symbols Tiny, Small, Med… IAST#evalReal() return ISignedN… and 2 more (compare)

  • Nov 26 14:17

    axkr on master

    Rewrite ListPlot to a Graphics … Return a double value for Label… LogicNG change deprectaed metho… and 1 more (compare)

  • Nov 25 07:56

    axkr on master

    revert pebble 3.2.0 to 3.1.6 (compare)

OleksandrMariupol
@OleksandrMariupol
I'm a bit confused and just want to make sure we're on the same page. My understanding that the flow will be the same - when new feature needs to be done I'm branching out from master, do my changes, then create a pr. The only difference would be is that now I will use master from your repo directly and not my fork. Is my understanding correct? I confirm I can work on the repo with new branches. If not, please let me know how you envision this. Thanks in advance.
Axel Kramer
@axkr
yes you're understanding is right
OleksandrMariupol
@OleksandrMariupol
yes, I confirm I can work with the repo :)
Axel Kramer
@axkr
you can now open the github project in the Gitpod online IDE: https://gitpod.io/#https://github.com/axkr/symja_android_library
by the first time it will run Maven (takes some time) and opens the console org.matheclipse.core.eval.Console
If you use that workspace again the initial Maven pre-built run will be skipped
OleksandrMariupol
@OleksandrMariupol
Hi axkr. Thank you for your time. Do you have any remarks on issue # 184, maybe something still need to be implemented? Could I take issue # 39?
Axel Kramer
@axkr
@OleksandrMariupol assigned #39 to you.
Axel Kramer
@axkr
@OleksandrMariupol could you please check these cases:
check("Gamma(2.0+1.0)/Gamma(2.0-0.9+1.0)", //
                "1.91116"); 
        check("FactorialPower(2, 0.9)", //
                "1.91116");
Can you implement an expansion for FunctionExpand?
OleksandrMariupol
@OleksandrMariupol
Hi axkr. I was offline. I will think about these problems.
Створити точковий рисунок (4).bmp
OleksandrMariupol
@OleksandrMariupol
https://en.wikipedia.org/wiki/Falling_and_rising_factorials "The rising factorial can be extended to real values of n using the gamma function provided x and x + n are real numbers that are not negative integers:" if I understood correct, x + n should be 0 or positive integers, in case x = 2, n = 0.9 x + n = 2.9 it is not integers. So, can we use these numbers
OleksandrMariupol
@OleksandrMariupol
Hi axkr. Thank you for your time. With the information that I have, check("Gamma(2.0+1.0)/Gamma(2.0-0.9+1.0)", "1.91116"), is it valid case? x(n) = gamma(x + n)/ gamma(x), because, we have limitations for this equation: provided x and x + n are real numbers that are not negative integers => n can be real positive integers. You have other information?
Axel Kramer
@axkr
@OleksandrMariupol you can generalize the formula for floating-point real and complex numbersby using the Gamma() formula
you can check the numbers with method IExpr#isInexactNumber() if they are floating-point real or complex numbers
With EvalEngine#isDoubleMode() method you can check if the user runs a numeric evaluation:
OleksandrMariupol
@OleksandrMariupol
@axkr we can use this formula Gamma(x+n)/Gamma(x-n+1) instead (x)n = x(x-1)(x-2)......(x-n+1) but in case if we have a step " for example h = 0.5, etc", we should think, if we can replace f(x) f(x-h) f(x-2h) .... f(x-(k-1)h) with Gamma(x+n)/Gamma(x-n+1) or another formula which depends on Gamma". Work (x)n = Gamma(x+n)/Gamma(x-n+1) or another formula which depends on Gamma in case when we have custom step.
OleksandrMariupol
@OleksandrMariupol
Hi @axkr I did changes that I think you wanted to see. Please, let me know if I actually understood the requirements correct. In case if so, I do not understand the benefit
of those changes because of next:
  1. It does not seem to be shorter.
  2. For me it makes logic more confusing and less generalized if to look the entire function logic (I mean where we use similar while loops in both cases, for second case we can't use gamma)
factorialgamma.png
OleksandrMariupol
@OleksandrMariupol
Maybe I am missing something, can you please help me to understand?
Also, based on the information I found (I posted the screenshort above) n can't be anything else but 0 or positive integer. Maybe I should add a verification for this case and throw an exception if it fails? Please let me what do you think.
Thanks in advance for your time. Stay safe.
Axel Kramer
@axkr
Yes the screenshot shows the formulas for Java double values.
you can also use ApfloatMath.gamma(arg1)
for apfloat floating point numbers which can have higher precision than Java double values.
to evaluate for a higher precision you can use the N()function.
Axel Kramer
@axkr
Example N(FactorialPower(1/3, 7 ), 30)
but the arguments of the function should be symbolic.
breandan
@breandan
Hi Axel, I've been reading about SymJa. It's an amazing piece of work! I'm particularly impressed by the effort you've put into usability. Been reading through the source code and I'm not sure how it all fits together yet, but I was curious if you currently support or plan to implement Knuth–Bendix completion for general purpose term rewriting? Is there some documentation on how the different CAS's (e.g. JAS, Rubi) fit together? Can you describe your long-term goals for the project, i.e. do you plan to focus on the user-facing application and notebook support, or do you see Symja as becoming more of a library like Sympy? Thanks for your hard work on this project!
Axel Kramer
@axkr
@breandan Yes general purpose term rewriting is the goal. JAS is supported by converting from Symja IExpr to JAS and backward:
https://github.com/axkr/symja_android_library/blob/master/symja_android_library/matheclipse-core/src/main/java/org/matheclipse/core/convert/JASConvert.java.
The conversion of Rubi (Mathematica pattern matching rules) is described in this wiki page:
https://github.com/axkr/symja_android_library/wiki/Porting-Rubi-Integration-rules-to-Symja.
Symja is used currently in the Android and Apple Store NCalc programs by github user @tranleduy2000.
(Very) long term goal is to use Symja as a programming language (similar to Mathematica packages) and providing a JSON API interface (with NLP functions in the future?):
https://github.com/axkr/symja_android_library/wiki/API
Евгений Буйволов
@ereborDeveloper
Hello! Did you reduce Config.EXPLICIT_TIMES_OPERATOR? I can't use it anymore. How to enable times operator?
Axel Kramer
@axkr
@ereborDeveloper please use FEConfig.EXPLICIT_TIMES_OPERATOR
The project is now splitted in more maven submodules:
<module>matheclipse-external</module> <module>matheclipse-frontend</module> <module>matheclipse-core</module> <module>matheclipse-api</module> <module>matheclipse-io</module>
Евгений Буйволов
@ereborDeveloper
Thanks! Found it in unit tests. How should I properly listen for change log? Instead of reading commits I mean
Axel Kramer
@axkr
A short summary of changes can be found in the release notes:
Евгений Буйволов
@ereborDeveloper
Ahh! Thanks! Very helpful
TiMauzi
@TiMauzi
@axkr Hello, I just found the Symja project while looking for a Java CAS. Did you happen to publish any papers concerning your work on this library? Would be very helpful, since I am working on a thesis at the moment! Thank you in advance! :)
Axel Kramer
@axkr
@TiMauzi No there is no paper.
There is the tutorial with the available functions in markdown: https://github.com/axkr/symja_android_library/tree/master/symja_android_library/doc
A feature "highlight" is the port of the RUBI integration engine: https://github.com/axkr/symja_android_library/wiki/Porting-Rubi-Integration-rules-to-Symja
Axel Kramer
@axkr
Another is the "partial" Wolfram language package support: https://github.com/axkr/symja_android_library/wiki/Context
The Compile function https://github.com/axkr/symja_android_library/blob/master/symja_android_library/doc/functions/Compile.md will be independent from the JDK in next version and will be realized with the Janino compiler: http://janino-compiler.github.io/janino/
TiMauzi
@TiMauzi
@axkr Too bad there is no paper... Thank you nevetheless for the information! :)
TiMauzi
@TiMauzi
@axkr Different question... does Symja have a method to get all literals within an IExpr object? E.g. if I have "a || b && c || c", is there a function that returns "[a, b, c, c]"?