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

.AlgebraicExpand() hangs on C * (2 ^ (x + 1)) #6

Open
AlekseyCherepanov opened this issue Jan 10, 2016 · 2 comments
Open

.AlgebraicExpand() hangs on C * (2 ^ (x + 1)) #6

AlekseyCherepanov opened this issue Jan 10, 2016 · 2 comments

Comments

@AlekseyCherepanov
Copy link

using System;
using Symbolism;
using Symbolism.AlgebraicExpand;

namespace my
{
    public class My
    {
        static void Main(string[] args)
        {
            var C = new Symbol("C");
            var x = new Symbol("x");
            var t = C * (2 ^ (x + 1));
            Console.WriteLine("before hang");
            t.AlgebraicExpand();
        }
    }
}
@gruckion
Copy link

Will take a look

@sbruyere
Copy link

Hello !

Same issue when the expression is within a func, exemple:
cos(4*(2x+4))
Will result in: cos(4
(2x+4))
Instead of: cos(8
x+16)

Thanks

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

No branches or pull requests

3 participants