2

Expressions

In the previous chapter, we learnt about the fundamentals of numEclipse workbench. We looked at the numEclipse project, perspective, interpreter and how to write and execute a simple program in m-script. This chapter and the next chapter focus on the programming language. A programming language has two major parts, either it is evaluating or it is execution. The evaluation part is related with the expressions. For example, y = x + 2 is an expression where the program evaluates the value of y by using the value of x. The execution part of the program is related with statements. For example, write (“Hello World”) is a statement which prints the string “Hello World!” on the screen.

In this chapter, we will focus on different types ...

Get Practical Scientific Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.