AngouriMath
ContainsNode(AngouriMath.Entity)
Method (no overloads)
Summary
Example
using System;
using static AngouriMath.MathS;
var (x, y) = Var("x", "y");
var expr1 = Sin(x + y) - Sqr(x);
Console.WriteLine(expr1);
Console.WriteLine(expr1.ContainsNode(y + x));
Console.WriteLine(expr1.ContainsNode(x + y));
Prints
sin(x + y) - x ^ 2
False
True
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1534 pages online