Questions tagged [evaluate]

execution of evaluations of expressions or evaluation functions. Use tag evaluation for rules, algorithms, and strategies of the evaluation.

What is it?

Evaluation is about rules, algorithms and strategies used for the evaluation of expressions or the computation of evaluation functions.

This tag may should be used for the execution of evaluations.

Related tags

  • Prefer the tag if the question is about rules, algorithms and strategies used for the evaluation of expressions or the computation of evaluation functions.
  • For more specific questions use tag

See also:

470 questions
2
votes
1 answer

Using XPath and WebBrowser Control to select multiple nodes

In C# WinForms sample application I have used WebBrowser control and JavaScript-XPath to select single node and change that node .innerHtml by the following code: private void MainForm_Load(object sender, EventArgs e) { …
ShamilS
  • 1,410
  • 2
  • 20
  • 40
2
votes
2 answers

Evaluate Match function with variables

I would like to use this through VBA - =MATCH("PlanA",A:A,0) with EVALUATE. Sub Test() Dim SectionStartRow As Integer Dim planname As String planname = "PlanA" SectionStartRow = [MATCH(planname,A:A,0)] 'Error 2029 /// Type mismatch '13 End…
e700k
  • 136
  • 2
  • 14
2
votes
2 answers

Evaluate page & store in variable?

I want to grab a php file, evaluate any php, then store the contents in a variable. We'll call this.. page.php <?php echo $content ?>
Luke Burns
  • 1,911
  • 3
  • 24
  • 30
2
votes
1 answer

Prolog Prefix Expression

I'm able to get the sum from the prefix expression but whenever I add a list within a list the program doesn't run. expr(Z) --> num(Z). expr(Z) --> [+], num(X), expr(Y), {Z is X+Y}. expr(Z) --> [-], num(X), expr(Y), {Z is X-Y}. num(D) --> [D],…
PLOW
  • 379
  • 2
  • 15
2
votes
1 answer

Lotus Script: Passing a string variable to Evaluate statement

I can't get simple DbLookup formula working with a variable. I have a view with employees and their managers, i get unique managers' records with DbColumn and then i need a list of people managed by this…
Qarlog
  • 23
  • 1
  • 3
2
votes
4 answers

Evaluate command line argument as boolean expression

I'm trying to take a string, passed as an argument, and evaluate it as a boolean expression in an if conditional statement. For example, the user invokes MyProgram like $ java MyProgram x==y. Example Program Defined variables: int x; int…
Shane
  • 315
  • 1
  • 5
  • 12
2
votes
6 answers

C# evaluation string doesn't work

I am trying to evaluate a math string and googled it a lot. I found a code snippet but didn't work for me. Here is the code static decimal evaluate(string expression) { var loDataTable = new DataTable(); // ******* throws "The…
Arif YILMAZ
  • 5,754
  • 26
  • 104
  • 189
2
votes
1 answer

problems with excel's application.evaluate command in vba

I have a problem with some excel code that I am having trouble getting my head around. Okay so I am using the application.evaluate command in excel vba, office 2007. If i have Evaluate("SIN(45)") it returns a nice predicted number. However if I do…
Samuel
  • 574
  • 3
  • 7
  • 22
2
votes
5 answers

java in-memory on-the-fly class compilation (and loading)

I want to revisit an old question of mine about in-memory "compilation" of classes. Since about 1/2 a year have passed since I asked (and was somewhat answered), I'd like to re-raise the issue and see if something new would come up (so no, I don't…
Ran Biron
  • 6,317
  • 5
  • 37
  • 67
2
votes
1 answer

Evaluate constant before displaying it in preprocessor

On this site I found tricks to display constant values in preprocessor, like: #define VALUE_TO_STRING(x) #x #define VALUE(x) VALUE_TO_STRING(x) #define VAR_NAME_VALUE(var) #var "=" VALUE(var) #define A 5 #pragma display(VAR_NAME_VALUE(A)) that…
B.B.
  • 57
  • 1
  • 3
2
votes
1 answer

Sympy function evaluation

I have a little question about sympy. I did load the library with : from sympy import * At some point of my program I would like to evaluate a function. x=Symbol('x', real=True) sqrt(1-x).subs(x, 9).evalf() >>> 2.82842712474619*I Sympy answer me…
sloan
  • 319
  • 1
  • 3
  • 9
2
votes
1 answer

ANTLR Propositional Logic Evaluator

I'm trying to create a grammar in ANTLR that evaluates propositional logic formulas. So for the input (1 & 0) | 1, it should return true. I have constructed the following: code returns[boolean value] : formula EOF {$value = $formula.value;} ;…
charlie123
  • 253
  • 1
  • 5
  • 17
2
votes
4 answers

How to evaluate a function at a point in Matlab?

For example, if I have a function f(x)=x^2, how can I evaluate it at x=2? I have tried employing the symbolic toolbox and using the following code in the Command Window: syms x; f = sym(x^2); subs(f,x,2); But I just get this error on the first…
Shrey Gupta
  • 5,509
  • 8
  • 45
  • 71
2
votes
1 answer

How to evaluate LaTeX formula in javascript?

I have javascipt string in LaTeX format. For example: \frac{y^2}{2}x-\frac{2}{\sqrt{y}}+2(x-y)^2 I want to be able evaluate it with defined variables. Does anyone know framework or lib for this purpose? I've tried to find it in google and stack but…
XiM
  • 396
  • 3
  • 15
2
votes
1 answer

How to evauluate a function in excel without macro?

there used to be a function called evaluate that would evaluate the contents of a cell. However, that function doesn't seem to exist any longer. This is the problem I am looking to solve (this is supposed to run in batch): A1 contains a concatenate…
mpdegn
  • 51
  • 10