Package org.robwork.sdurw_geometry
Class Covariance
- java.lang.Object
-
- org.robwork.sdurw_geometry.Covariance
-
public class Covariance extends java.lang.Object
class for estimating the covariance of different data
-
-
Constructor Summary
Constructors Constructor Description Covariance()
Default constructor.Covariance(long cPtr, boolean cMemoryOwn)
Covariance(SWIGTYPE_p_Eigen__MatrixT_double_Eigen__Dynamic_Eigen__Dynamic_t matrix)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
EigenDecomposition
eigenDecompose()
Do eigen decomposition.static long
getCPtr(Covariance obj)
SWIGTYPE_p_Eigen__MatrixT_double_Eigen__Dynamic_Eigen__Dynamic_t
getMatrix()
Get the covariance matrix.void
initialize(Geometry geom)
initialize covariance using a geometry object.void
initialize(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t points)
Initialize covariance from points.
-
-
-
Constructor Detail
-
Covariance
public Covariance(long cPtr, boolean cMemoryOwn)
-
Covariance
public Covariance()
Default constructor.
-
Covariance
public Covariance(SWIGTYPE_p_Eigen__MatrixT_double_Eigen__Dynamic_Eigen__Dynamic_t matrix)
Constructor.- Parameters:
matrix
- [in] Eigen matrix.
-
-
Method Detail
-
getCPtr
public static long getCPtr(Covariance obj)
-
delete
public void delete()
-
getMatrix
public SWIGTYPE_p_Eigen__MatrixT_double_Eigen__Dynamic_Eigen__Dynamic_t getMatrix()
Get the covariance matrix.- Returns:
- Eigen matrix.
-
eigenDecompose
public EigenDecomposition eigenDecompose()
Do eigen decomposition.- Returns:
- the EigenDecomposition.
-
initialize
public void initialize(Geometry geom)
initialize covariance using a geometry object.- Parameters:
geom
- [in] the geometry.
-
initialize
public void initialize(SWIGTYPE_p_std__vectorT_rw__math__Vector3DT_double_t_t points)
Initialize covariance from points.- Parameters:
points
- [in] the points.
-
-