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
-
d
-
-
Rsf6()
-
-
Rsf6(Rsf6)
- copy constructor
-
Rsf6(RsfSpace)
-
-
add(Vector)
- this = this + vec2
-
add(Vector, Vector)
- this = vec1 + vec2
-
addMul(Vector, Vector)
- this = this + vec1 x vec2 (point-wise multiplication)
-
addMul(Vector, Vector, Vector)
- this = vec1 + vec2 x vec3 (point-wise multiplication)
-
addScale(float, Vector)
- this = this + a*vec2
-
addScale(float, Vector, Vector)
- this = vec1 + a*vec2
-
allocateData()
-
-
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.
-
copyFrom(Vector)
-
-
dot(Vector)
-
-
equalData(Object)
- we may assume that obj2 is an Rsf of the appropriate dimensions
-
fill(float)
-
-
getData()
-
-
getDatum(int, int, int, int, int, int)
-
-
getDatum(int[])
- get/set Datum is for encapsulated access (alternative to direct
access to x.d)
-
mul(Vector)
- this = this x vec2 (point-wise multiplication)
-
mul(Vector, Vector)
- this = vec1 x vec2 (point-wise multiplication)
-
neg()
- this = -this
-
neg(Vector)
- this = -vec2
-
norm2()
-
-
rand()
-
-
rand(Random)
-
-
scale(float)
- this = a*this
-
scale(float, Vector)
- this = a*vec
-
setDatum(int, int, int, int, int, int, float)
-
-
setDatum(int[], float)
-
-
sub(Vector)
- this = this - vec2
-
sub(Vector, Vector)
- this = vec1 - vec2
-
toString()
- Returns a string representation of the object.
-
write(OutputStream)
-
d
public float d[][][][][][]
Rsf6
public Rsf6()
Rsf6
public Rsf6(RsfSpace space)
Rsf6
protected Rsf6(Rsf6 src)
- copy constructor
allocateData
protected void allocateData()
- Overrides:
- allocateData in class Rsf
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
copyFrom
public void copyFrom(Vector src)
- Overrides:
- copyFrom in class Rsf
equalData
public boolean equalData(Object obj2)
- we may assume that obj2 is an Rsf of the appropriate dimensions
- Overrides:
- equalData in class Rsf
getData
public float[][][][][][] getData()
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
getDatum
public float getDatum(int n,
int m,
int l,
int k,
int j,
int i)
setDatum
public void setDatum(int i[],
float v)
- Overrides:
- setDatum in class Rsf
setDatum
public void setDatum(int n,
int m,
int l,
int k,
int j,
int i,
float v)
fill
public void fill(float a)
- Overrides:
- fill in class Rsf
rand
public void rand()
- Overrides:
- rand in class Rsf
rand
public void rand(Random r)
- Overrides:
- rand in class Rsf
mul
public void mul(Vector vec2)
- this = this x vec2 (point-wise multiplication)
- Overrides:
- mul in class Rsf
mul
public void mul(Vector vec1,
Vector vec2)
- this = vec1 x vec2 (point-wise multiplication)
- Overrides:
- mul in class Rsf
addMul
public void addMul(Vector vec1,
Vector vec2)
- this = this + vec1 x vec2 (point-wise multiplication)
- Overrides:
- addMul in class Rsf
addMul
public void addMul(Vector vec1,
Vector vec2,
Vector vec3)
- this = vec1 + vec2 x vec3 (point-wise multiplication)
- Overrides:
- addMul in class Rsf
neg
public void neg()
- this = -this
- Overrides:
- neg in class Rsf
neg
public void neg(Vector vec2)
- this = -vec2
- Overrides:
- neg in class Rsf
addScale
public void addScale(float a,
Vector vec2)
- this = this + a*vec2
- Overrides:
- addScale in class Rsf
addScale
public void addScale(float a,
Vector vec1,
Vector vec2)
- this = vec1 + a*vec2
- Overrides:
- addScale in class Rsf
add
public void add(Vector vec2)
- this = this + vec2
- Overrides:
- add in class Rsf
add
public void add(Vector vec1,
Vector vec2)
- this = vec1 + vec2
- Overrides:
- add in class Rsf
sub
public void sub(Vector vec2)
- this = this - vec2
- Overrides:
- sub in class Rsf
sub
public void sub(Vector vec1,
Vector vec2)
- this = vec1 - vec2
- Overrides:
- sub in class Rsf
scale
public void scale(float a)
- this = a*this
- Overrides:
- scale in class Rsf
scale
public void scale(float a,
Vector vec)
- this = a*vec
- Overrides:
- scale in class Rsf
dot
public float dot(Vector vec2)
- Overrides:
- dot in class Rsf
norm2
public float norm2()
- Overrides:
- norm2 in class Rsf
toString
public String toString()
- Returns a string representation of the object.
- Overrides:
- toString in class Rsf
write
public void write(OutputStream outstr)
- Overrides:
- write in class Rsf
All Packages Class Hierarchy This Package Previous Next Index