Professionals
  Enhanced tools
for Solution development
Completely New 3-D Plotting
Leading-Edge Solvers

 


Professionals Enhanced Tools for Solution Development

Element-wise Operations
Element-wise operations for applying functions to all members of a structure provide a powerful and easy way to separate data structure operations from mathematical operations, simplifying application development.

  • Apply any operator or function over the elements of any list, set, table, array, matrix, or vector by using a simple tilde (~) character following the operator or function name. For example, sin~(M) will apply the sin function to each element of a matrix M.
  • Can be used with built-in and custom operators, functions, and procedures.
  • More than a convenient short-hand for using the map or zip commands. The tilde character extends to multiple data sets, not just one or two. For example, if u, v, and w are 3-vectors, and s is a scalar, then f~(u,v,s,w) gives the vector
  • Operations are very efficient and incorporate hardware algorithms whenever possible.