Mathematica 9 is now available
Previous section-----Next section

RegionProcessing

The argument roi may be defined by graphics primitives Circle, Disk, Point, Line, Rectangle, and Polygon, or by a list of integer coordinate pairs (i.e., vertexes of a polygon).

Examples

In[1]:=
In[2]:=
Here we use a pure function (see pure functions tutorial in Documentation Center) to change the values of all the elements on a major diagonal of matrix A to a constant value a.
In[3]:=
Out[3]//MatrixForm=Out[3]//MatrixForm=
In[4]:=
Out[4]//MatrixForm=Out[4]//MatrixForm=
In[5]:=
In[6]:=
Out[6]//InputForm=Out[6]//InputForm=
In[7]:=
In[8]:=
Out[8]=Out[8]=


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.