Class Pi

java.lang.Object
  extended by Pi

public class Pi
extends java.lang.Object

Computes Pi. To compile and run: javac -classpath mpp.jar Pi.java java -classpath mpp.jar:. Pi


Constructor Summary
Pi()
           
 
Method Summary
private static double[] compPi(int size, int rank, int n)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pi

public Pi()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

compPi

private static double[] compPi(int size,
                               int rank,
                               int n)