Jpetra  Development
 All Classes Functions Variables
Public Member Functions | List of all members
Jpetra.Vector Class Reference
Inheritance diagram for Jpetra.Vector:
Inheritance graph
[legend]
Collaboration diagram for Jpetra.Vector:
Collaboration graph
[legend]

Public Member Functions

 Vector (VectorSpace vectorSpace)
 
 Vector (VectorSpace vectorSpace, double[] vectorValues)
 
- Public Member Functions inherited from Jpetra.MultiVector
 MultiVector (VectorSpace vectorSpace)
 
 MultiVector (VectorSpace vectorSpace, double[][] values)
 
void putScalar (double scalar)
 
void putRandom (RandomNumberGenerator random)
 
double[] maxValue ()
 
double[] minValue ()
 
double[] meanValue ()
 
void scale (double scalar)
 
double[] dot (MultiVector otherMultiVector)
 
double[] norm1 ()
 
double[] norm2 ()
 
double[] normInf ()
 
void Reciprocal ()
 
void abs ()
 
VectorSpace getVectorSpace ()
 
double[][] getValues ()
 
void update (double scalarA, MultiVector A, double scalarThis)
 
void update (double scalarA, MultiVector A, double scalarB, MultiVector B, double scalarThis)
 
void printOutAllVnodes (String iostream)
 
void printOut (String iostream)
 
void printOut (String iostream, boolean all)
 
int getNumCols ()
 
int getNumRows ()
 
void copyAndPermute (DistObject distObjectSource, int numSameGids, int[] permuteToLids, int[] permuteFromLids, int combineMode)
 
Serializable[] packAndPrepare (DistObject distObjectSource, int[] exportGids, int[] exportLids)
 
int[][] unpackAndCombine (Serializable[] importData, int combineMode)
 
void writeExternal (ObjectOutput out) throws java.io.IOException
 
void readExternal (ObjectInput in) throws java.io.IOException, ClassNotFoundException
 
Object clone ()
 
boolean equals (Object obj)
 
void setBlas (Blas blas)
 
Blas getBlas ()
 
- Public Member Functions inherited from Jpetra.DistObject
 DistObject ()
 
void importValues (DistObject distObjectSource, Import importer, int combineMode)
 
void importValues (DistObject distObjectSource, Export exporter, int combineMode)
 
void exportValues (DistObject distObjectSource, Import importer, int combineMode)
 
void exportValues (DistObject distObjectSource, Export exporter, int combineMode)
 
void doTransfer (DistObject distObjectSource, int numSameGids, int[] permuteToLids, int[] permuteFromLids, int[] exportGids, int[] exportLids, int combineMode, boolean doReverse)
 
abstract Serializable[] packAndPrepare (DistObject distObjectSource, int[] exportGids, int[] exportLids)
 
abstract int[][] unpackAndCombine (Serializable[] importData, int combineMode)
 
abstract void copyAndPermute (DistObject distObjectSource, int numSameGids, int[] permuteToLids, int[] permuteFromLids, int combineMode)
 
abstract VectorSpace getVectorSpace ()
 
void setFlopCounter (FlopCounter flops)
 
void updateFlops (double numFlops)
 
void resetFlops ()
 
double getFlops ()
 
double getGlobalMegaFlops (Comm comm)
 
FlopCounter getFlopCounter ()
 
- Public Member Functions inherited from Jpetra.JpetraObject
 JpetraObject ()
 
void initializeOutput ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Jpetra.MultiVector
static MultiVector readFromFile (String fileName, Comm comm)
 
static void writeToFile (String fileName, MultiVector multiVector)
 
- Static Public Member Functions inherited from Jpetra.JpetraObject
static void setRootPrint (String key, boolean rootPrint)
 
static void setRootStream (String key, PrintStream rootStream)
 
static void setVnodesPrint (String key, boolean vnodesPrint)
 
static void setVnodesStream (String key, PrintStream vnodesStream)
 
static void print (String key, String message)
 
static void println (String key, String message)
 
static void setAmIroot (Comm comm)
 
- Static Public Attributes inherited from Jpetra.DistObject
static final int ADD = 0
 
static final int ZERO = 1
 
static final int AVERAGE = 2
 
static final int ABSMAX = 3
 
static final int REPLACE = 4
 
- Static Public Attributes inherited from Jpetra.JpetraObject
static HashMap outputStreams = new HashMap(4)
 
static boolean amIroot
 

Detailed Description

Vector is a simple wrapper class to MultiVector which creates a MultiVector with only one column.

Author
Jason Cross

The documentation for this class was generated from the following file: