All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class juice.vector.ProductVec

java.lang.Object
   |
   +----juice.vector.ProductVec

public class ProductVec
extends Object
implements ProductVector


Constructor Index

 o ProductVec(ProductSpace)
 o ProductVec(ProductVec)
 o ProductVec(Vector, Vector)

Method Index

 o add(Vector)
 o add(Vector, Vector)
 o addScale(float, Vector)
 o addScale(float, Vector, Vector)
 o copy()
 o copyFrom(Vector)
 o dot(Vector)
 o elements()
 o getSpace()
 o getSubVector(int)
 o neg()
 o neg(Vector)
 o norm()
 o norm2()
 o scale(float)
 o scale(float, Vector)
 o setSubVector(int, Vector)
 o size()
 o sub(Vector)
 o sub(Vector, Vector)
 o toString()
Returns a string representation of the object.
 o zero()

Constructors

 o ProductVec
 protected ProductVec(ProductSpace space)
 o ProductVec
 public ProductVec(Vector vec0,
                   Vector vec1)
 o ProductVec
 public ProductVec(ProductVec src)

Methods

 o copy
 public JamObject copy()
 o getSpace
 public Space getSpace()
 o neg
 public void neg()
 o neg
 public void neg(Vector vec2)
 o add
 public void add(Vector vec2)
 o add
 public void add(Vector vec1,
                 Vector vec2)
 o addScale
 public void addScale(float a,
                      Vector vec2)
 o addScale
 public void addScale(float a,
                      Vector vec1,
                      Vector vec2)
 o sub
 public void sub(Vector vec2)
 o sub
 public void sub(Vector vec1,
                 Vector vec2)
 o scale
 public void scale(float a)
 o scale
 public void scale(float a,
                   Vector vec)
 o copyFrom
 public void copyFrom(Vector src)
 o zero
 public void zero()
 o dot
 public float dot(Vector vec2)
 o norm2
 public float norm2()
 o norm
 public float norm()
 o getSubVector
 public Vector getSubVector(int i)
 o setSubVector
 public void setSubVector(int i,
                          Vector vec)
 o elements
 public Enumeration elements()
 o size
 public int size()
Returns:
number of vectors in the product vector
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index