mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
some hyperplane changes:
- the coefficients are stored in a single vector - added transformation methods - removed Line* typedef since in 2D this is really an hyperplane and not really a line... - HyperPlane => Hyperplane
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
template<typename PlaneType> void hyperplane(const PlaneType& _plane)
|
||||
{
|
||||
/* this test covers the following files:
|
||||
HyperPlane.h
|
||||
Hyperplane.h
|
||||
*/
|
||||
|
||||
const int dim = _plane.dim();
|
||||
@@ -62,10 +62,10 @@ template<typename PlaneType> void hyperplane(const PlaneType& _plane)
|
||||
void test_hyperplane()
|
||||
{
|
||||
for(int i = 0; i < g_repeat; i++) {
|
||||
CALL_SUBTEST( hyperplane(HyperPlane<float,2>()) );
|
||||
CALL_SUBTEST( hyperplane(HyperPlane<float,3>()) );
|
||||
CALL_SUBTEST( hyperplane(HyperPlane<double,4>()) );
|
||||
CALL_SUBTEST( hyperplane(HyperPlane<std::complex<double>,5>()) );
|
||||
CALL_SUBTEST( hyperplane(HyperPlane<double,Dynamic>(13)) );
|
||||
CALL_SUBTEST( hyperplane(Hyperplane<float,2>()) );
|
||||
CALL_SUBTEST( hyperplane(Hyperplane<float,3>()) );
|
||||
CALL_SUBTEST( hyperplane(Hyperplane<double,4>()) );
|
||||
CALL_SUBTEST( hyperplane(Hyperplane<std::complex<double>,5>()) );
|
||||
CALL_SUBTEST( hyperplane(Hyperplane<double,Dynamic>(13)) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user