public class LatticePointsInEllipsoid_old extends Object implements Serializable, Cloneable
B
, a center vector C
and, a radius r
.
Given this data this class determines all lattice points
N∈Zg
that lay inside the specified ellipsoid,
e.g. the lattice points fulfill:
(N-C)t B (N-C) < r2
,
getLatticePoints()
).Constructor and Description |
---|
LatticePointsInEllipsoid_old(de.jtem.blas.RealMatrix B)
Creates object that delivers the lattice points inside ellipsoid
given by the matrix
B . |
LatticePointsInEllipsoid_old(de.jtem.blas.RealMatrix B,
double r)
Creates object that delivers the lattice points inside ellipsoid
given by the matrix
B . |
LatticePointsInEllipsoid_old(de.jtem.blas.RealMatrix B,
de.jtem.blas.RealVector C,
double r)
Creates object that delivers the lattice points inside ellipsoid
given by the matrix
B . |
Modifier and Type | Method and Description |
---|---|
de.jtem.blas.RealMatrix |
getB()
Returns matrix specifying the ellipsoid.
|
de.jtem.blas.RealVector |
getCenter()
Returns center of ellipsoid.
|
int |
getDim()
Returns dimension of vectorspace.
|
de.jtem.blas.RealMatrix |
getLatticePoints()
Returns lattice points in ellipsoid.
|
int |
getNumOfLatticePoints()
Returns number of lattice points in specified ellipsoid.
|
double |
getRadius()
Returns radius of ellipsoid.
|
void |
setB(de.jtem.blas.RealMatrix B)
Sets matrix specifiying the ellipsoid.
|
void |
setCenter(de.jtem.blas.RealVector c)
Sets center of ellipsoid to
c . |
void |
setRadius(double r)
Sets radius of ellipsoid.
|
String |
toString()
Returns matrix containing the lattice points as string.
|
public LatticePointsInEllipsoid_old(de.jtem.blas.RealMatrix B)
B
.
The ellipsoid is centered in zero and has radius 1.B
- symmetric and positive definite.public LatticePointsInEllipsoid_old(de.jtem.blas.RealMatrix B, double r)
B
.
The ellipsoid is centered in zero and has radius r
.B
- symmetric and positive definite.r
- radius of ellipsoidpublic LatticePointsInEllipsoid_old(de.jtem.blas.RealMatrix B, de.jtem.blas.RealVector C, double r)
B
.
The ellipsoid is centered in c
and has radius r
.B
- symmetric and positive definite.C
- center of ellipsoidr
- radius of ellipsoidpublic final de.jtem.blas.RealMatrix getB()
public final de.jtem.blas.RealVector getCenter()
public final int getDim()
public final de.jtem.blas.RealMatrix getLatticePoints()
public final int getNumOfLatticePoints()
public final double getRadius()
public final void setB(de.jtem.blas.RealMatrix B)
public final void setCenter(de.jtem.blas.RealVector c)
c
.c
- vector of length dim
public final void setRadius(double r)
r
- radius of ellipsoidpublic final String toString()
toString
in class Object
getLatticePoints()