formatting only
parent
38ed1a5cdd
commit
0004d90feb
|
|
@ -823,15 +823,12 @@ TEST( matrix, inverse_square_root )
|
|||
-0.0101952, 0.0054906, 0.0892453, -0.0059468, 0.0028726, 0.0175868,
|
||||
0.0047064, -0.0059468, 0.0816517);
|
||||
|
||||
expected = Matrix_(5, 5, 3.567126953241796, 0.000000000000000,
|
||||
0.000000000000000, 0.000000000000000, 0.000000000000000,
|
||||
-0.590030436566913, 3.362022286742925, 0.000000000000000,
|
||||
0.000000000000000, 0.000000000000000, 0.618207860252376,
|
||||
-0.168166020746503, 3.253086082942785, 0.000000000000000,
|
||||
0.000000000000000, 0.683045380655496, 0.283773848115276,
|
||||
-0.099969232183396, 3.433537147891568, 0.000000000000000,
|
||||
-0.006740136923185, -0.669325697387650, -0.169716689114923,
|
||||
0.171493059476284, 3.583921085468937);
|
||||
expected = Matrix_(5, 5,
|
||||
3.567126953241796, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000,
|
||||
-0.590030436566913, 3.362022286742925, 0.000000000000000, 0.000000000000000, 0.000000000000000,
|
||||
0.618207860252376, -0.168166020746503, 3.253086082942785, 0.000000000000000, 0.000000000000000,
|
||||
0.683045380655496, 0.283773848115276, -0.099969232183396, 3.433537147891568, 0.000000000000000,
|
||||
-0.006740136923185, -0.669325697387650, -0.169716689114923, 0.171493059476284, 3.583921085468937);
|
||||
EQUALITY(expected, inverse_square_root(M));
|
||||
|
||||
}
|
||||
|
|
@ -847,15 +844,12 @@ TEST( matrix, LLt )
|
|||
0.0125325, 0.0103894, 0.0747324, 0.0036415, 0.0048741, -0.0037363,
|
||||
-0.0021113, 0.0036415, 0.0909464);
|
||||
|
||||
Matrix expected = Matrix_(5, 5, 0.295668226226627, 0.000000000000000,
|
||||
0.000000000000000, 0.000000000000000, 0.000000000000000,
|
||||
-0.010437374483502, 0.295235094820875, 0.000000000000000,
|
||||
0.000000000000000, 0.000000000000000, 0.039560896175007,
|
||||
0.063407813693827, 0.301721866387571, 0.000000000000000,
|
||||
0.000000000000000, 0.027552165831157, 0.043423266737274,
|
||||
0.021695600982708, 0.267613525371710, 0.000000000000000,
|
||||
0.016485031422565, -0.012072546984405, -0.006621889326331,
|
||||
0.014405837566082, 0.300462176944247);
|
||||
Matrix expected = Matrix_(5, 5,
|
||||
0.295668226226627, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000,
|
||||
-0.010437374483502, 0.295235094820875, 0.000000000000000, 0.000000000000000, 0.000000000000000,
|
||||
0.039560896175007, 0.063407813693827, 0.301721866387571, 0.000000000000000, 0.000000000000000,
|
||||
0.027552165831157, 0.043423266737274, 0.021695600982708, 0.267613525371710, 0.000000000000000,
|
||||
0.016485031422565, -0.012072546984405, -0.006621889326331, 0.014405837566082, 0.300462176944247);
|
||||
|
||||
EQUALITY(expected, LLt(M));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue