02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Basics<br />

The Index4 class definition is:<br />

public sealed class Index4 : ICloneable<br />

{<br />

public Index4 ();<br />

public Index4 (Index4 rhs);<br />

public Index4 (int i, int j, int k);<br />

public Index4 (int[ ] arg);<br />

public int this[ int pos ];<br />

public int I { get; set; }<br />

public int J { get; set; }<br />

public int K { get; set; }<br />

public int L { get; set; }<br />

public object Clone ();<br />

public static int Dot (Index4 p1, Index4 p2);<br />

public override bool Equals (object obj);<br />

public override int GetHashCode ();<br />

public bool IsAllNegative ();<br />

public bool IsAllNonNegative ();<br />

public bool IsAllNonPositive ();<br />

public bool IsAllNonZero ();<br />

public bool IsAllPositive ();<br />

public bool IsAllZero ();<br />

public static Index4 Max (Index4 p1, Index4 p2);<br />

public static Index4 Min (Index4 p1, Index4 p2);<br />

public static Index4 One ();<br />

public static int Product (Index4 p1);<br />

public static int Sum (Index4 p1);<br />

public override string ToString ();<br />

public static Index4 Zero ();<br />

4-84 <strong>Ocean</strong> Application Development Framework 2008.1<br />

<strong>Schlumberger</strong> Private

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!