Top "Expression" questions

Combination of several programming symbols and values intending to produce a result

What is the best way to evaluate mathematical expressions in C++?

What is the best way to evaluate any custom math expression, for example 3+sqrt(5)+pow(3)+log(5) I know that embedding …

c++ math expression
How to calculate expression using sympy in python

I need a calculate below expression using sympy in python? exp = '(a+b)*40-(c-a)/0.5' In a=6, b=5, …

python expression sympy
Use scanf with Regular Expressions

I've been trying to use regular expressions on scanf, in order to read a string of maximum n characters and …

c unix scanf expression formatted-input
Best and shortest way to evaluate mathematical expressions

There are many algorithms to evaluate expressions, for example: By Recursive Descent Shunting-yard algorithm Reverse Polish notation Is there any …

c# .net expression evaluation
Calling a Generic Method using Lambda Expressions (and a Type only known at runtime)

You can use Lambda Expression Objects to represent a lambda as an expression. How do you create a Lambda Expression …

c# generics lambda expression expression-trees
C# Float expression: strange behavior when casting the result float to int

I have the following simple code : int speed1 = (int)(6.2f * 10); float tmp = 6.2f * 10; int speed2 = (int)tmp; speed1 and speed2 …

c# casting floating-point int expression
Expression to create an instance with object initializer

Is there any way to create an instance of an object with object initializer with an Expression Tree? I mean …

c# dynamic lambda expression expression-trees
AngularJS expression not working within style attribute on IE8

Using an expression like this on the style attribute works on Chrome but doesn't work on IE8 style="width:{{progress}}%" …

templates internet-explorer-8 expression angularjs
Adding italicised r with correlation coefficient to a scatter plot chart in ggplot

I'm trying to use the code below to generate a simple scatter plot with a correlation coefficient that would have …

r ggplot2 annotations expression scatter-plot
How do I use IF/ELSE or CASE In DataColumn.Expression?

I have a table with 1 column: 'Status' I want to add in another column named 'Action', its value will be …

c# sql expression datacolumn