```<html><div style='background-color:'><DIV></DIV>
<DIV></DIV>
<P>Hello,</P>
<P>Examples (P4_01)</P>
<P>&nbsp;&nbsp; latitude = new
RealType("latitude",SI.meter,null);<BR>&nbsp;&nbsp;&nbsp;longitude = new
RealType("longitude",SI.meter,null);</P>
<P>&nbsp;&nbsp; domain_tuple = new RealTupleType(latitude, longitude);</P>
<P>&nbsp;&nbsp;&nbsp; temperature = new
RealType("temperature",SI.kelvin,null);<BR>&nbsp;&nbsp;&nbsp; altitude = new
RealType("altitude",SI.meter,null);</P>
<P>&nbsp;&nbsp;&nbsp; // Create the range tuple ( altitude, temperature
)<BR>&nbsp;&nbsp;&nbsp; // Use RealTupleType( RealType[] )</P>
<P>&nbsp;&nbsp;&nbsp; range_tuple = new RealTupleType( altitude,
temperature&nbsp; );</P>
<P>&nbsp;&nbsp;&nbsp; // Create a FunctionType (domain_tuple -&gt; range_tuple
)<BR>&nbsp;&nbsp;&nbsp; // Use FunctionType(MathType domain, MathType range)</P>
<P>&nbsp;&nbsp;&nbsp; func_domain_range = new FunctionType( domain_tuple,
range_tuple);</P>
<P>&nbsp;&nbsp;&nbsp; // Create the domain Set<BR>&nbsp;&nbsp;&nbsp; // Use
LinearDSet(MathType type, double first1, double last1, int
lengthX,<BR>&nbsp;&nbsp;&nbsp;
//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double first2, double last2,
int lengthY)</P>
<P>&nbsp;&nbsp;&nbsp; int NCOLS = 50;<BR>&nbsp;&nbsp;&nbsp; int NROWS =
NCOLS;</P>
<P>&nbsp;&nbsp;&nbsp; domain_set = new Linear2DSet(domain_tuple, -Math.PI,
Math.PI, NROWS,<BR>&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -Math.PI,
Math.PI, NCOLS);<BR>&nbsp;&nbsp;&nbsp; // Get the Set samples to facilitate the
calculations</P>
<P>&nbsp;&nbsp;&nbsp; float[][] set_samples = domain_set.getSamples( true );</P>
<P>
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</P>
<P class=MsoNormal><SPAN lang=EN-CA style="mso-ansi-language: EN-CA">How I can
read data set (domain_typle) from a file? When I don?t use Linear2Dset (..
)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></P>
<P>thanks.<BR><BR></P><WAIT...>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<CENTER><A href="http://www.visualrevolutions.com/vr.htm";><IMG