All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class rsf.vector.Rsf6

java.lang.Object
   |
   +----rsf.vector.Rsf
           |
           +----rsf.vector.Rsf6

public class Rsf6
extends Rsf
Regularly Sampled Function (in 6 dimensions)

See Also:
RsfSpace

Variable Index

 o d

Constructor Index

 o Rsf6()
 o Rsf6(Rsf6)
copy constructor
 o Rsf6(RsfSpace)

Method Index

 o add(Vector)
this = this + vec2
 o add(Vector, Vector)
this = vec1 + vec2
 o addMul(Vector, Vector)
this = this + vec1 x vec2 (point-wise multiplication)
 o addMul(Vector, Vector, Vector)
this = vec1 + vec2 x vec3 (point-wise multiplication)
 o addScale(float, Vector)
this = this + a*vec2
 o addScale(float, Vector, Vector)
this = vec1 + a*vec2
 o allocateData()
 o copy()
WARNING: the space copied is a shallow copy, meaning that if you subsequently change any of the internals of the space of one vector, then the space of the other vector is affected.
 o copyFrom(Vector)
 o dot(Vector)
 o equalData(Object)
we may assume that obj2 is an Rsf of the appropriate dimensions
 o fill(float)
 o getData()
 o getDatum(int, int, int, int, int, int)
 o getDatum(int[])
get/set Datum is for encapsulated access (alternative to direct access to x.d)
 o mul(Vector)
this = this x vec2 (point-wise multiplication)
 o mul(Vector, Vector)
this = vec1 x vec2 (point-wise multiplication)
 o neg()
this = -this
 o neg(Vector)
this = -vec2
 o norm2()
 o rand()
 o rand(Random)
 o scale(float)
this = a*this
 o scale(float, Vector)
this = a*vec
 o setDatum(int, int, int, int, int, int, float)
 o setDatum(int[], float)
 o sub(Vector)
this = this - vec2
 o sub(Vector, Vector)
this = vec1 - vec2
 o toString()
Returns a string representation of the object.
 o write(OutputStream)

Variables

 o d
 public float d[][][][][][]

Constructors

 o Rsf6
 public Rsf6()
 o Rsf6
 public Rsf6(RsfSpace space)
 o Rsf6
 protected Rsf6(Rsf6 src)
copy constructor

Methods

 o allocateData
 protected void allocateData()
Overrides:
allocateData in class Rsf
 o copy
 public JamObject copy()
WARNING: the space copied is a shallow copy, meaning that if you subsequently change any of the internals of the space of one vector, then the space of the other vector is affected.

Overrides:
copy in class Rsf
 o copyFrom
 public void copyFrom(Vector src)
Overrides:
copyFrom in class Rsf
 o equalData
 public boolean equalData(Object obj2)
we may assume that obj2 is an Rsf of the appropriate dimensions

Overrides:
equalData in class Rsf
 o getData
 public float[][][][][][] getData()
 o getDatum
 public float getDatum(int i[])
get/set Datum is for encapsulated access (alternative to direct access to x.d)

Overrides:
getDatum in class Rsf
 o getDatum
 public float getDatum(int n,
                       int m,
                       int l,
                       int k,
                       int j,
                       int i)
 o setDatum
 public void setDatum(int i[],
                      float v)
Overrides:
setDatum in class Rsf
 o setDatum
 public void setDatum(int n,
                      int m,
                      int l,
                      int k,
                      int j,
                      int i,
                      float v)
 o fill
 public void fill(float a)
Overrides:
fill in class Rsf
 o rand
 public void rand()
Overrides:
rand in class Rsf
 o rand
 public void rand(Random r)
Overrides:
rand in class Rsf
 o mul
 public void mul(Vector vec2)
this = this x vec2 (point-wise multiplication)

Overrides:
mul in class Rsf
 o mul
 public void mul(Vector vec1,
                 Vector vec2)
this = vec1 x vec2 (point-wise multiplication)

Overrides:
mul in class Rsf
 o addMul
 public void addMul(Vector vec1,
                    Vector vec2)
this = this + vec1 x vec2 (point-wise multiplication)

Overrides:
addMul in class Rsf
 o addMul
 public void addMul(Vector vec1,
                    Vector vec2,
                    Vector vec3)
this = vec1 + vec2 x vec3 (point-wise multiplication)

Overrides:
addMul in class Rsf
 o neg
 public void neg()
this = -this

Overrides:
neg in class Rsf
 o neg
 public void neg(Vector vec2)
this = -vec2

Overrides:
neg in class Rsf
 o addScale
 public void addScale(float a,
                      Vector vec2)
this = this + a*vec2

Overrides:
addScale in class Rsf
 o addScale
 public void addScale(float a,
                      Vector vec1,
                      Vector vec2)
this = vec1 + a*vec2

Overrides:
addScale in class Rsf
 o add
 public void add(Vector vec2)
this = this + vec2

Overrides:
add in class Rsf
 o add
 public void add(Vector vec1,
                 Vector vec2)
this = vec1 + vec2

Overrides:
add in class Rsf
 o sub
 public void sub(Vector vec2)
this = this - vec2

Overrides:
sub in class Rsf
 o sub
 public void sub(Vector vec1,
                 Vector vec2)
this = vec1 - vec2

Overrides:
sub in class Rsf
 o scale
 public void scale(float a)
this = a*this

Overrides:
scale in class Rsf
 o scale
 public void scale(float a,
                   Vector vec)
this = a*vec

Overrides:
scale in class Rsf
 o dot
 public float dot(Vector vec2)
Overrides:
dot in class Rsf
 o norm2
 public float norm2()
Overrides:
norm2 in class Rsf
 o toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Rsf
 o write
 public void write(OutputStream outstr)
Overrides:
write in class Rsf

All Packages  Class Hierarchy  This Package  Previous  Next  Index