Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a test which hangs on djibouti, an intel mac running 10.4.9

  • Loading branch information...
commit dfc8058b4b7392ae9fc171bcb430a03f67935a37 1 parent a8b2dc5
Randy Sargent authored
Showing with 20 additions and 0 deletions.
  1. +20 −0 src/vw/Math/tests/TestLinearAlgebra.h
View
20 src/vw/Math/tests/TestLinearAlgebra.h
@@ -34,6 +34,26 @@ class TestLinearAlgebra : public CxxTest::TestSuite
{
public:
+
+ void test_least_squares_lapack_hang() {
+ double hessian[64][64] = {100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52035903211.8207550048828125, -3428337940.53478860855102539062, 76606055.4305936545133590698242, 201112954.763717770576477050781, -360757219.056918501853942871094, 3516118919.04611873626708984375, -71856295.9016342014074325561523, -216727242.677746802568435668945, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3428337940.5347881317138671875, 2304129589152.9697265625, -509759118.046770453453063964844, -1338264473.63572788238525390625, 2400584141.5771121978759765625, -23397284575.55725860595703125, 478152827.724064886569976806641, 1442166516.25160503387451171875, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 76606055.4305936545133590698242, -509759118.046770393848419189453, 1150445076.25349020957946777344, 29903458.8265066966414451599121, -53640943.5140964463353157043457, 522811260.211098074913024902344, -10684303.1988879628479480743408, -32225145.2454196996986865997314, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 201112954.763717740774154663086, -1338264473.63572764396667480469, 29903458.8265066966414451599121, 7929024323.65255832672119140625, -140822923.015630573034286499023, 1372530105.27423834800720214844, -28049372.5181634537875652313232, -84600285.7289541959762573242188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -360757219.056918501853942871094, 2400584141.5771121978759765625, -53640943.5140964463353157043457, -140822923.015630573034286499023, 336995472307.47540283203125, 4875847621.8385028839111328125, 245732476.937676340341567993164, 3575120134.79177808761596679688, -3387598769.4252300262451171875, -7162299064.1318492889404296875, -55236485.4167294353246688842773, -3431240642.98232269287109375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3516118919.04611825942993164062, -23397284575.557254791259765625, 522811260.211098015308380126953, 1372530105.27423834800720214844, 4875847621.8385028839111328125, 4187041644539.6552734375, -25427443.372287750244140625, 6666320913.04433536529541015625, -8060315543.30811977386474609375, -17041684804.4369182586669921875, -131427460.058298796415328979492, -8164155252.705287933349609375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -71856295.9016341865062713623047, 478152827.72406482696533203125, -10684303.1988879628479480743408, -28049372.5181634537875652313232, 245732476.937676370143890380859, -25427443.3722876310348510742188, 2262858412.96819734573364257812, 247149667.398677408695220947266, -214656295.487476140260696411133, -453841404.760226190090179443359, -3500077.82572045270353555679321, -217421676.969618946313858032227, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -216727242.677746802568435668945, 1442166516.25160503387451171875, -32225145.2454196996986865997314, -84600285.7289541959762573242188, 3575120134.79177808761596679688, 6666320913.04433536529541015625, 247149667.398677408695220947266, 393017700198.2322998046875, -3760394875.0888519287109375, -7950490754.01122283935546875, -61315111.6223340630531311035156, -3808839419.09581899642944335938, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3387598769.42523050308227539062, -8060315543.3081207275390625, -214656295.487476110458374023438, -3760394875.08885240554809570312, 916238666807.683349609375, 17805550101.09456634521484375, -23660528.8439779356122016906738, 5167426613.172054290771484375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5335120734.869167327880859375, -9834805784.9388256072998046875, -385286702.085365235805511474609, -2092683774.08351945877075195312, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7162299064.13185024261474609375, -17041684804.436920166015625, -453841404.760226190090179443359, -7950490754.01122379302978515625, 17805550101.09456634521484375, 3544384439464.1044921875, -28361405.7532672882080078125, 10566130999.84996795654296875, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -9909441707.9911403656005859375, -18267146982.87990570068359375, -715630686.710729718208312988281, -3886946313.51169919967651367188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -55236485.4167294353246688842773, -131427460.058298796415328979492, -3500077.82572045223787426948547, -61315111.6223340630531311035156, -23660528.8439779356122016906738, -28361405.7532672882080078125, 234179715.423725873231887817383, 39415062.1700558736920356750488, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84091689.5222829431295394897461, 155015317.492961853742599487305, 6072854.08127158042043447494507, 32984691.9955160357058048248291, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3431240642.98232316970825195312, -8164155252.70528888702392578125, -217421676.969618946313858032227, -3808839419.09581899642944335938, 5167426613.172054290771484375, 10566130999.84996795654296875, 39415062.1700558811426162719727, 422490306613.73321533203125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1394344027.16107916831970214844, -2570345337.24661159515380859375, -100695417.872392967343330383301, -546926914.335672736167907714844, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1426722443785.33984375, 11348878840.4476909637451171875, 571729777.707125186920166015625, -3947798073.17946290969848632812, -3917902.63891778513789176940918, -81468297.3408521711826324462891, 1542461.95929508702829480171204, 18688562.2456819936633110046387, 0, 0, 0, 0, 0, 0, 0, 0, -13978703741.9352855682373046875, -11558763581.79933929443359375, -1752911678.19793677330017089844, 3290236944.1035976409912109375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11348878840.4476909637451171875, 3230770400965.05126953125, -212557988.043796360492706298828, -8409155361.9000186920166015625, -1105506693.75286173820495605469, -22987745316.672344207763671875, 435233383.270312368869781494141, 5273313954.7656841278076171875, 0, 0, 0, 0, 0, 0, 0, 0, -11150133152.5391635894775390625, -9219864401.9577789306640625, -1398212522.232189178466796875, 2624462232.51023578643798828125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 571729777.707125186920166015625, -212557988.043796360492706298828, 4330790018.471668243408203125, -5912734.38734260201454162597656, 32227103.5804399512708187103271, 670125702.166744947433471679688, -12687676.5229729935526847839355, -153724654.941261172294616699219, 0, 0, 0, 0, 0, 0, 0, 0, -568132652.433414459228515625, -469779682.995789349079132080078, -71243112.3515767455101013183594, 133724204.811654046177864074707, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3947798073.179462432861328125, -8409155361.9000186920166015625, -5912734.38734260201454162597656, 232575536066.046112060546875, 253546032.836815595626831054688, 5272199310.81513881683349609375, -99820017.6533732712268829345703, -1209425361.86285042762756347656, 0, 0, 0, 0, 0, 0, 0, 0, 3888222388.36966085433959960938, 3215108079.42782306671142578125, 487578144.428164899349212646484, -915190219.728730678558349609375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5335120734.869167327880859375, -9909441707.991138458251953125, 84091689.5222829580307006835938, -1394344027.16107916831970214844, 0, 0, 0, 0, 0, 0, 0, 0, -3917902.63891778560355305671692, -1105506693.75286173820495605469, 32227103.5804399512708187103271, 253546032.836815565824508666992, 1338772758344.756103515625, -315797017.6686229705810546875, 1145011055.71792697906494140625, 3354611006.27231550216674804688, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7845856826.0749053955078125, 11305959840.2995014190673828125, -1288795023.23526239395141601562, -628848035.648093819618225097656, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -9834805784.9388256072998046875, -18267146982.87990570068359375, 155015317.492961883544921875, -2570345337.24661159515380859375, 0, 0, 0, 0, 0, 0, 0, 0, -81468297.3408521860837936401367, -22987745316.672344207763671875, 670125702.166744947433471679688, 5272199310.81513881683349609375, -315797017.6686229705810546875, 5761405395963.5087890625, -840290959.799969315528869628906, -3590908456.09719800949096679688, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11175191332.78399658203125, -16103564877.225391387939453125, 1835686183.50624370574951171875, 895695304.336634039878845214844, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -385286702.085365176200866699219, -715630686.7107295989990234375, 6072854.08127158042043447494507, -100695417.872392952442169189453, 0, 0, 0, 0, 0, 0, 0, 0, 1542461.95929508726112544536591, 435233383.270312428474426269531, -12687676.5229729954153299331665, -99820017.6533732712268829345703, 1145011055.71792697906494140625, -840290959.799969434738159179688, 11464825098.934902191162109375, 401370212.129423677921295166016, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -778139674.118347406387329101562, 1121307219.94413638114929199219, -127820652.558013007044792175293, -62368153.8392246663570404052734, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2092683774.08351969718933105469, -3886946313.51169872283935546875, 32984691.9955160357058048248291, -546926914.335672736167907714844, 0, 0, 0, 0, 0, 0, 0, 0, 18688562.2456819973886013031006, 5273313954.76568508148193359375, -153724654.941261172294616699219, -1209425361.86285042762756347656, 3354611006.27231550216674804688, -3590908456.09719896316528320312, 401370212.129423677921295166016, 234436918854.249725341796875, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1514389282.67150163650512695312, 2182250427.45643711090087890625, -248760258.313846617937088012695, -121378804.982721433043479919434, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -13978703741.9352874755859375, -11150133152.539165496826171875, -568132652.433414578437805175781, 3888222388.3696613311767578125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2850527813578.3935546875, 4622392458.34859371185302734375, 4494137203.90339756011962890625, 3237005147.4480762481689453125, -336276588.832778871059417724609, -2230925708.69995927810668945312, 7479014.07260653935372829437256, 809909543.788650035858154296875, 0, 0, 0, 0, 0, 0, 0, 0, -14024547629.797252655029296875, 9575458898.694610595703125, -3718830163.84450864791870117188, -6419475795.7882633209228515625, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -11558763581.79933929443359375, -9219864401.9577789306640625, -469779682.995789408683776855469, 3215108079.42782306671142578125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4622392458.34859180450439453125, 3686732628805.1865234375, -776329499.522964596748352050781, -15056295817.1784515380859375, -3186711995.04144620895385742188, -21141280576.91155242919921875, 70874585.5278993695974349975586, 7675076243.18525409698486328125, 0, 0, 0, 0, 0, 0, 0, 0, 8975821333.5864410400390625, -6128369379.92742443084716796875, 2380080698.62449169158935546875, 4108515249.06626033782958984375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1752911678.19793677330017089844, -1398212522.232189178466796875, -71243112.3515767306089401245117, 487578144.428164899349212646484, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4494137203.90339756011962890625, -776329499.5229644775390625, 78879043780.417083740234375, 1189257961.17744874954223632812, 62468556.967953637242317199707, 414428819.469490408897399902344, -1389342.08379006688483059406281, -150453175.020785003900527954102, 0, 0, 0, 0, 0, 0, 0, 0, -2777932320.34110784530639648438, 1896672709.80391478538513183594, -736612600.898017287254333496094, -1271546845.11028838157653808594, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3290236944.10359716415405273438, 2624462232.51023578643798828125, 133724204.811654046177864074707, -915190219.728730678558349609375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3237005147.44807720184326171875, -15056295817.1784496307373046875, 1189257961.17744851112365722656, 739198091121.6763916015625, 1153257058.23730301856994628906, 7650936477.29572963714599609375, -25649200.8493005633354187011719, -2777576343.1824398040771484375, 0, 0, 0, 0, 0, 0, 0, 0, -7238002083.368152618408203125, 4941848627.66654872894287109375, -1919270495.14309430122375488281, -3313060813.83521938323974609375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -7845856826.0749053955078125, 11175191332.78399658203125, -778139674.118347406387329101562, -1514389282.67150139808654785156, 0, 0, 0, 0, 0, 0, 0, 0, -336276588.832778871059417724609, -3186711995.04144620895385742188, 62468556.9679536446928977966309, 1153257058.23730301856994628906, 1003088486624.8897705078125, -2147223009.66246318817138671875, 1401574846.17712092399597167969, -1931974366.13233661651611328125, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1605742820.34344959259033203125, -6022259877.47290325164794921875, -289048055.473094344139099121094, 977435500.953568100929260253906, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11305959840.299503326416015625, -16103564877.2253932952880859375, 1121307219.94413638114929199219, 2182250427.45643711090087890625, 0, 0, 0, 0, 0, 0, 0, 0, -2230925708.69995927810668945312, -21141280576.91155242919921875, 414428819.469490408897399902344, 7650936477.29572963714599609375, -2147223009.66246509552001953125, 5926918840724.5888671875, -1452025732.99509596824645996094, -13617856790.170688629150390625, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -5797279518.79589176177978515625, -21742413169.920009613037109375, -1043562113.87794816493988037109, 3528875694.68324422836303710938, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1288795023.23526263236999511719, 1835686183.50624394416809082031, -127820652.558013007044792175293, -248760258.313846617937088012695, 0, 0, 0, 0, 0, 0, 0, 0, 7479014.07260653935372829437256, 70874585.5278993695974349975586, -1389342.08379006711766123771667, -25649200.8493005670607089996338, 1401574846.17712092399597167969, -1452025732.99509596824645996094, 22335213240.511474609375, 17722769.5224673002958297729492, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -126357555.881047621369361877441, -473897830.559948205947875976562, -22745489.1026308573782444000244, 76915405.983533337712287902832, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -628848035.648093819618225097656, 895695304.336634159088134765625, -62368153.8392246663570404052734, -121378804.982721418142318725586, 0, 0, 0, 0, 0, 0, 0, 0, 809909543.788650035858154296875, 7675076243.18525409698486328125, -150453175.020785003900527954102, -2777576343.1824398040771484375, -1931974366.13233661651611328125, -13617856790.170688629150390625, 17722769.5224672853946685791016, 406667174005.38714599609375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1373989087.58571481704711914062, 5153078842.65254306793212890625, 247330312.785055130720138549805, -836364139.45903873443603515625, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 480525170.144254267215728759766, 317903790.888737738132476806641, 31357120.0579313412308692932129, 115950534.328794106841087341309, -18910929.9191928021609783172607, -317102480.646451473236083984375, -26120407.6410762146115303039551, -117568622.526939362287521362305, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 317903790.888737738132476806641, 2145448580290.332763671875, 2095256509.32735896110534667969, 7747717627.24241161346435546875, -1263612504.50996327400207519531, -21188522270.88619232177734375, -1745343769.936107635498046875, -7855836925.9396820068359375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31357120.0579313449561595916748, 2095256509.32735919952392578125, 20873680727.959564208984375, 764212691.938043832778930664062, -124639120.848011091351509094238, -2089975192.93774533271789550781, -172155714.102206021547317504883, -774877270.112313628196716308594, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 115950534.328794106841087341309, 7747717627.24241161346435546875, 764212691.938043832778930664062, 285411984700.084228515625, -460883290.107587635517120361328, -7728188682.74100971221923828125, -636587384.333368062973022460938, -2865296090.41804933547973632812, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -18910929.9191928058862686157227, -1263612504.50996327400207519531, -124639120.848011091351509094238, -460883290.107587695121765136719, 39060729236.3231048583984375, -1470231842.72939562797546386719, 118681870.282590851187705993652, 395941394.834030330181121826172, -189710406.152065634727478027344, 2742007921.68966531753540039062, -18507339.122667051851749420166, 73525541.9979507476091384887695, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -317102480.646451473236083984375, -21188522270.88619232177734375, -2089975192.93774533271789550781, -7728188682.7410106658935546875, -1470231842.72939562797546386719, 4551763535949.294921875, 1610728989.22468781471252441406, 8461562184.037593841552734375, 1662646554.39708781242370605469, -24031312333.34931182861328125, 162200715.540588974952697753906, -644387366.737710833549499511719, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -26120407.6410762146115303039551, -1745343769.936107635498046875, -172155714.102206021547317504883, -636587384.333368062973022460938, 118681870.282590836286544799805, 1610728989.22468781471252441406, 14555496082.485507965087890625, 642067403.172122716903686523438, -9046616.45028873160481452941895, 130756633.093158587813377380371, -882549.365394255495630204677582, 3506172.33522702986374497413635, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -117568622.526939362287521362305, -7855836925.93968105316162109375, -774877270.112313508987426757812, -2865296090.41804933547973632812, 395941394.834030270576477050781, 8461562184.037593841552734375, 642067403.172122597694396972656, 295084748585.39544677734375, 43457977.6162321940064430236816, -628126423.327586889266967773438, 4239575.1800994481891393661499, -16842889.2393338643014430999756, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -14024547629.797252655029296875, 8975821333.5864410400390625, -2777932320.34110784530639648438, -7238002083.36815357208251953125, 0, 0, 0, 0, 0, 0, 0, 0, -189710406.152065634727478027344, 1662646554.39708781242370605469, -9046616.45028873160481452941895, 43457977.6162321940064430236816, 1483116544814.515625, -14462509042.904636383056640625, 4037989192.30871295928955078125, 8509785517.623775482177734375, -523762703.531414628028869628906, 3333374467.47815370559692382812, -244503335.980549603700637817383, -2202781177.25504922866821289062, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9575458898.6946086883544921875, -6128369379.9274234771728515625, 1896672709.80391478538513183594, 4941848627.66654872894287109375, 0, 0, 0, 0, 0, 0, 0, 0, 2742007921.68966531753540039062, -24031312333.349308013916015625, 130756633.093158587813377380371, -628126423.327586889266967773438, -14462509042.9046344757080078125, 4733433222678.0400390625, -4359786574.51195526123046875, -14486319662.610271453857421875, 2576570239.31463527679443359375, -16398024127.123332977294921875, 1202796637.96802973747253417969, 10836243945.532100677490234375, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -3718830163.84450864791870117188, 2380080698.62449169158935546875, -736612600.898017287254333496094, -1919270495.14309453964233398438, 0, 0, 0, 0, 0, 0, 0, 0, -18507339.122667051851749420166, 162200715.540588974952697753906, -882549.365394255495630204677582, 4239575.1800994481891393661499, 4037989192.30871295928955078125, -4359786574.51195526123046875, 116357113151.8227386474609375, 2798110884.17669200897216796875, -266420974.594706565141677856445, 1695578681.58013033866882324219, -124370858.452482283115386962891, -1120482814.27118778228759765625, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6419475795.7882633209228515625, 4108515249.06626081466674804688, -1271546845.11028838157653808594, -3313060813.83521938323974609375, 0, 0, 0, 0, 0, 0, 0, 0, 73525541.9979507476091384887695, -644387366.737710714340209960938, 3506172.33522702986374497413635, -16842889.2393338643014430999756, 8509785517.623775482177734375, -14486319662.610271453857421875, 2798110884.17669200897216796875, 1019212008690.475341796875, -1710234551.24502873420715332031, 10884417977.992218017578125, -798373099.629319429397583007812, -7192708554.4147167205810546875, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1605742820.34344959259033203125, -5797279518.79589176177978515625, -126357555.881047621369361877441, 1373989087.58571481704711914062, 0, 0, 0, 0, 0, 0, 0, 0, -523762703.531414568424224853516, 2576570239.31463527679443359375, -266420974.594706565141677856445, -1710234551.24502897262573242188, 199648776915.87884521484375, 3282917205.88789606094360351562, 472956201.527055144309997558594, 762859594.998704791069030761719, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -6022259877.47290325164794921875, -21742413169.920009613037109375, -473897830.559948205947875976562, 5153078842.65254306793212890625, 0, 0, 0, 0, 0, 0, 0, 0, 3333374467.47815370559692382812, -16398024127.1233310699462890625, 1695578681.58013033866882324219, 10884417977.992218017578125, 3282917205.88789606094360351562, 3898723015073.0029296875, -154486728.234182715415954589844, -14511258611.8310794830322265625, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -289048055.473094344139099121094, -1043562113.87794804573059082031, -22745489.1026308573782444000244, 247330312.785055130720138549805, 0, 0, 0, 0, 0, 0, 0, 0, -244503335.980549573898315429688, 1202796637.96802973747253417969, -124370858.452482283115386962891, -798373099.629319429397583007812, 472956201.527055144309997558594, -154486728.234182834625244140625, 14121266882.852619171142578125, 629928590.854237914085388183594, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 977435500.953568220138549804688, 3528875694.6832447052001953125, 76915405.983533337712287902832, -836364139.459038853645324707031, 0, 0, 0, 0, 0, 0, 0, 0, -2202781177.2550487518310546875, 10836243945.5320987701416015625, -1120482814.27118778228759765625, -7192708554.4147167205810546875, 762859594.998704791069030761719, -14511258611.8310794830322265625, 629928590.854237794876098632812, 788253920298.1646728515625};
+ double del_J[64]={0, 0, 0, 0, -51879401.1206895336508750915527, 345220721.931542813777923583984, -7713941.33798606880009174346924, -20251317.2964757941663265228271, 60085977.6156569197773933410645, -297528532.086134672164916992188, 8741160.50715760141611099243164, 48197324.407920315861701965332, -15920009.9936054665595293045044, -36273690.7840106561779975891113, -585970.965214778785593807697296, -23774308.3563742823898792266846, 0, 0, 0, 0, 0, 0, 0, 0, -19533967.4717127159237861633301, 3536458.01012331061065196990967, -1355565.05823698081076145172119, 1055282.69741864409297704696655, -27092240.4667053557932376861572, -15049010.0509770475327968597412, -1959159.77428447338752448558807, -2677786.77639175020158290863037, 0, 0, 0, 0, 0, 0, 0, 0, 28170504.2359863072633743286133, 26931334.5266373977065086364746, 3543839.55987171921879053115845, -6475920.25083816982805728912354, 18734840.3757112547755241394043, -19931493.7801269963383674621582, 3073040.57909747073426842689514, 2494469.90114247798919677734375, 204364.908076941268518567085266, 13655492.0584293957799673080444, 1346938.65313535067252814769745, 4980631.39250720385462045669556, -2408244.79752033436670899391174, 365862.393878269940614700317383, -1198100.97325941827148199081421, -4684547.88798932544887065887451, -7755547.88419973477721214294434, -1090775.97667748015373945236206, -2621457.35733163449913263320923, -9007306.06561579741537570953369, -3699611.96560296509414911270142, -26897787.7221815399825572967529, -296697.075326256104744970798492, 8450466.71942384354770183563232};
+ vw::Vector<double> del_J_vw(64);
+ std::copy(&del_J[0], &del_J[64], del_J_vw.begin());
+
+ vw::Matrix<double> hessian_vw(64,64);
+ for (unsigned int i = 0; i < 64; i++) {
+ for (unsigned int j = 0; j < 64; j++) {
+ hessian_vw(i, j) = hessian[i][j];
+ }
+ }
+
+ std::cout << "About to call least_squares. If this hangs, it may be due to a bug in lapack..\n";
+ least_squares(hessian_vw, del_J_vw);
+ std::cout << "least_squares returned\n";
+ // TODO: check the return value
+ }
+
void test_linear_least_squares_static()
{
Matrix<float,4,2> A;
Please sign in to comment.
Something went wrong with that request. Please try again.