Yeseong Jeong
/
HydraulicControlBoard_Start
20210203
Diff: main.cpp
- Revision:
- 66:a8e6799dbce3
- Parent:
- 65:a2d7c63419c2
- Child:
- 67:c2812cf26c38
--- a/main.cpp Tue Apr 14 01:07:30 2020 +0000 +++ b/main.cpp Tue May 12 06:23:46 2020 +0000 @@ -183,998 +183,106 @@ } } -const float input[22] = { 0.052414f, 0.066907f, 0.085407f, 0.109023f, - 0.139169f, 0.177651f, 0.052414f, 0.066907f, 0.085407f, 0.109023f, - 0.139169f, 0.177651f, 0.052414f, 0.066907f, 0.085407f, 0.109023f, - 0.139169f, 0.177651f, 0.052414f, 0.066907f, 0.085407f, 0.109023f }; -const float h1[22][32] = { { -0.02454003319144249f, 0.13071660697460175f, - 0.08675816655158997f, 0.1402530074119568f, -0.24982963502407074f, - 0.12202739715576172f, -0.13030944764614105f, -0.11353740841150284f, - -0.2542628347873688f, -0.04588286578655243f, -0.14282149076461792f, - -0.2201535552740097f, -0.18691661953926086f, 0.30389177799224854f, - -0.1729012429714203f, -0.12240276485681534f, -0.11355798691511154f, - 0.2349482625722885f, -0.24878336489200592f, 0.07184267044067383f, - -0.3221011161804199f, 0.08763179183006287f, -0.27257153391838074f, - -0.06490874290466309f, -0.06682667881250381f, 0.1505383551120758f, - -0.14478006958961487f, -0.07367490231990814f, 0.23569869995117188f, - -0.1539779156446457f, -0.1400003880262375f, 0.051764924079179764f }, { - -0.19842876493930817f, 0.18337926268577576f, 0.24467620253562927f, - -0.29177823662757874f, -0.08481606096029282f, 0.09983056783676147f, - 0.17972804605960846f, -0.07474377751350403f, -0.1711931675672531f, - 0.12607872486114502f, -0.21832025051116943f, -0.1755477339029312f, - -0.010855759494006634f, 0.2378554791212082f, 0.03758585453033447f, - -0.13797838985919952f, -0.15582887828350067f, 0.08006728440523148f, - 0.280606746673584f, 0.28338202834129333f, -0.06711727380752563f, - -0.09894979000091553f, -0.07788881659507751f, 0.22705963253974915f, - -0.0012174372095614672f, 0.240607351064682f, 0.1039358377456665f, - 0.18501906096935272f, -0.03155122324824333f, 0.08036407828330994f, - -0.20284514129161835f, 0.06699042022228241f }, { 0.14068114757537842f, - 0.13828633725643158f, -0.0034593045711517334f, 0.1392701119184494f, - 0.01057615876197815f, -0.007689331658184528f, 0.07328304648399353f, - -0.14162643253803253f, -0.04415355995297432f, 0.09164466708898544f, - 0.24845272302627563f, -0.05588914453983307f, -0.054479751735925674f, - 0.24456734955310822f, -0.2598671317100525f, -0.15801946818828583f, - 0.2817283868789673f, -0.19191598892211914f, 0.15788163244724274f, - 0.28144943714141846f, 0.14735294878482819f, -0.12544888257980347f, - 0.11103320121765137f, -0.20203278958797455f, 0.0017974432557821274f, - 0.1191059947013855f, -0.12710560858249664f, 0.1702873408794403f, - -0.09684925526380539f, 0.2480504810810089f, -0.28676652908325195f, - -0.17398564517498016f }, { 0.04844924807548523f, -0.06973694264888763f, - -0.1682211458683014f, -0.3513043522834778f, -0.22794683277606964f, - 0.08840374648571014f, 0.026485737413167953f, -0.3492684066295624f, - 0.1813228577375412f, 0.06481858342885971f, 0.11471711844205856f, - 0.1854662299156189f, -0.12381665408611298f, 0.35136616230010986f, - -0.10501053929328918f, -0.016016438603401184f, 0.03148011490702629f, - -0.17074286937713623f, -0.1689852625131607f, 0.1171770691871643f, - -0.23076696693897247f, -0.07204706966876984f, -0.12052477896213531f, - -0.23881052434444427f, -0.004284285008907318f, 0.11600598692893982f, - 0.10962119698524475f, -0.012203623540699482f, 0.33345603942871094f, - 0.1084047257900238f, 0.015447823330760002f, 0.1315833479166031f }, { - 0.12315890938043594f, 0.16742177307605743f, 0.0689031183719635f, - -0.29923000931739807f, -0.10478553920984268f, 0.0034702986013144255f, - -0.06286507844924927f, -0.3965417146682739f, -0.24317654967308044f, - 0.2535353899002075f, -0.18702425062656403f, 0.2042631357908249f, - 0.14613179862499237f, 0.2476590871810913f, -0.20543844997882843f, - 0.15613335371017456f, -0.024847690016031265f, -0.12820857763290405f, - 0.13289833068847656f, -0.033144671469926834f, 0.09313736855983734f, - 0.19325080513954163f, -0.20106908679008484f, -0.061102136969566345f, - -0.028910696506500244f, -0.2806609869003296f, 0.033241331577301025f, - -0.26521533727645874f, 0.33587634563446045f, -0.13370811939239502f, - 0.21700626611709595f, 0.008141759783029556f }, { 0.3156174421310425f, - 0.033245913684368134f, 0.24999621510505676f, 0.14565978944301605f, - 0.02309553697705269f, -0.05169738829135895f, -0.15119729936122894f, - -0.10350330173969269f, -0.3457512855529785f, 0.03809545189142227f, - 0.25342249870300293f, -0.19578632712364197f, -0.05333413928747177f, - 0.09492939710617065f, 0.17943906784057617f, -0.21144242584705353f, - -0.1867227405309677f, -0.23938390612602234f, -0.2632395327091217f, - 0.06656297296285629f, 0.0961865782737732f, -0.00792744755744934f, - 0.10312435030937195f, 0.27112916111946106f, -0.12544961273670197f, - 0.17053177952766418f, -0.23970040678977966f, 0.16830605268478394f, - 0.18481910228729248f, -0.0010759234428405762f, 0.049939122051000595f, - -0.059725455939769745f }, { 0.021065108478069305f, - -0.17225059866905212f, 0.1334478259086609f, 0.09036531299352646f, - 0.22687482833862305f, 0.03710803762078285f, -0.1765347123146057f, - 0.0036233423743396997f, -0.17170532047748566f, -0.11777474731206894f, - -0.054618652909994125f, -0.17656885087490082f, 0.052830975502729416f, - 0.10441931337118149f, -0.14971962571144104f, -0.24781031906604767f, - -0.023929525166749954f, -0.04490154981613159f, 0.2847473621368408f, - 0.014796234667301178f, -0.14429597556591034f, -0.14511936902999878f, - -0.21516084671020508f, -0.20089882612228394f, -0.10562898963689804f, - -0.12727710604667664f, -0.09228193759918213f, -0.08893769234418869f, - -0.12074583023786545f, -0.028564512729644775f, 0.008117200806736946f, - 0.08297917991876602f }, { 0.19532811641693115f, -0.05014912784099579f, - 0.13636812567710876f, 0.048916492611169815f, 0.26100409030914307f, - -0.17881926894187927f, 0.012918300926685333f, 0.06905974447727203f, - 0.16022373735904694f, 0.06287040561437607f, -0.1698886901140213f, - -0.3164767324924469f, 0.06106283515691757f, 0.05603136122226715f, - 0.04491907358169556f, 0.16258767247200012f, 0.06191227212548256f, - -0.2078513652086258f, -0.26503077149391174f, 0.019191648811101913f, - -0.06990422308444977f, 0.018576622009277344f, -0.10467308759689331f, - -0.023303329944610596f, 0.11910765618085861f, 0.014545410871505737f, - -0.2797531187534332f, -0.014093500562012196f, -0.09087783098220825f, - 0.003536820411682129f, -0.08422576636075974f, 0.20006318390369415f }, { - 0.03522654250264168f, -0.15291047096252441f, 0.11232474446296692f, - 0.08317171782255173f, 0.01103570032864809f, -0.23718038201332092f, - -0.043577663600444794f, -0.10673496872186661f, -0.08802048116922379f, - 0.06057487800717354f, -0.2207462638616562f, 0.21330848336219788f, - 0.06867198646068573f, 0.31874582171440125f, 0.19785529375076294f, - 0.11854913830757141f, 0.0048002502880990505f, 0.07107115536928177f, - 0.1471722573041916f, -0.021459000185132027f, -0.25434109568595886f, - -0.01829427480697632f, -0.2427632212638855f, 0.06919881701469421f, - -0.2938772141933441f, -0.06733335554599762f, -0.07296852767467499f, - 0.21985474228858948f, 0.27857765555381775f, -0.09769320487976074f, - -0.2202656865119934f, 0.06659334897994995f }, { -0.18176554143428802f, - 0.05808980390429497f, -0.2002866566181183f, 0.2209930419921875f, - 0.22003944218158722f, -0.12194468080997467f, 0.16832226514816284f, - -0.32419517636299133f, -0.31987497210502625f, 0.020202845335006714f, - -0.2701215445995331f, 0.15670055150985718f, 0.04660305753350258f, - 0.2134874314069748f, -0.21944394707679749f, -0.25474902987480164f, - 0.27780312299728394f, 0.28777045011520386f, 0.10909196734428406f, - -0.06471110135316849f, -0.1670646369457245f, 0.13422733545303345f, - -0.09569443762302399f, -0.2635143995285034f, -0.14163701236248016f, - 0.04615262150764465f, 0.11132439970970154f, 0.23280498385429382f, - 0.23840151727199554f, 0.24882283806800842f, 0.0529453419148922f, - 0.13884255290031433f }, { -0.10154614597558975f, -0.21454781293869019f, - -0.05455450713634491f, 0.2060181051492691f, -0.24331730604171753f, - -0.18322165310382843f, 0.08804970234632492f, -0.09168499708175659f, - -0.3127654492855072f, -0.20708662271499634f, -0.26258623600006104f, - -0.2734098434448242f, -0.1649116575717926f, 0.33747056126594543f, - 0.014040976762771606f, 0.23592090606689453f, -0.13581429421901703f, - -0.1899891048669815f, 0.19671878218650818f, -0.23027168214321136f, - 0.14086498320102692f, -0.20761027932167053f, 0.19642561674118042f, - 0.00928562879562378f, -0.07803404331207275f, 0.08413159847259521f, - 0.06599533557891846f, -0.2540142834186554f, 0.209262415766716f, - 0.0242612361907959f, -0.008453809656202793f, 0.13509076833724976f }, { - 0.19965791702270508f, 0.15909932553768158f, -0.2523933947086334f, - -0.024008844047784805f, -0.3288625478744507f, -0.3593894839286804f, - -0.10659854859113693f, -0.09668480604887009f, -0.25964510440826416f, - 0.24553023278713226f, 0.2584691643714905f, -0.13047806918621063f, - -0.045685749500989914f, -0.027066625654697418f, -0.24520277976989746f, - 0.2635043263435364f, 0.06614753603935242f, -0.14302769303321838f, - -0.22128811478614807f, -0.2489294409751892f, 0.2430250197649002f, - 0.1864563524723053f, -0.19150227308273315f, 0.26879218220710754f, - -0.3449307382106781f, 0.1727219521999359f, 0.2771519124507904f, - 0.08954040706157684f, 0.2631568908691406f, 0.12126106023788452f, - 0.12375504523515701f, -0.054388467222452164f }, { 0.19592446088790894f, - -0.34142163395881653f, 0.15802547335624695f, 0.18388450145721436f, - 0.031184343621134758f, -0.08831250667572021f, -0.20661622285842896f, - 0.06958860903978348f, -0.161506786942482f, 0.25045934319496155f, - -0.10389973968267441f, 0.21004287898540497f, -0.2358747273683548f, - -0.1947477161884308f, 0.05316495895385742f, -0.0015946561470627785f, - -0.15815018117427826f, 0.1855827420949936f, 0.01572786457836628f, - -0.2823503911495209f, -0.19912849366664886f, 0.022287487983703613f, - 0.01019778847694397f, -0.002432197332382202f, 0.1125744953751564f, - 0.024761438369750977f, 0.28052565455436707f, 0.06848252564668655f, - 0.07588296383619308f, -0.2828674018383026f, -0.1949537843465805f, - 0.0682394951581955f }, { -0.06400725990533829f, -0.039301756769418716f, - 0.05148342251777649f, 0.15645751357078552f, -0.015306415967643261f, - -0.027875764295458794f, 0.19478058815002441f, -0.1143186166882515f, - -0.11950938403606415f, 0.21234765648841858f, 0.2555554211139679f, - -0.05989915132522583f, 0.014815526083111763f, 0.12010202556848526f, - 0.08785843849182129f, 0.0018573424313217402f, -0.014310447499155998f, - 0.08359912782907486f, -0.05963675677776337f, 0.08984222263097763f, - -0.17661209404468536f, -0.01255887746810913f, 0.09742525219917297f, - -0.2715410590171814f, 0.019773131236433983f, -0.12170138955116272f, - 0.21204951405525208f, -0.0392717681825161f, 0.22050541639328003f, - 0.1981203556060791f, -0.12718753516674042f, 0.18615314364433289f }, { - 0.207803875207901f, -0.10612393915653229f, 0.2099064588546753f, - 0.048610176891088486f, -0.18356028199195862f, 0.05922550708055496f, - 0.09807947278022766f, 0.05448151379823685f, 0.00759892538189888f, - 0.008583632297813892f, -0.02326703630387783f, 0.03895118832588196f, - 0.142264261841774f, -0.17807096242904663f, 0.03243169188499451f, - 0.29156458377838135f, 0.16580337285995483f, -0.04512497037649155f, - 0.24243946373462677f, 0.19388025999069214f, 0.2613176107406616f, - 0.21572408080101013f, 0.021654754877090454f, 0.19459950923919678f, - -0.12517954409122467f, 0.1592874825000763f, 0.1632046103477478f, - -0.2606440782546997f, -0.08548226952552795f, -0.08548004925251007f, - -0.13906358182430267f, -0.16921734809875488f }, { -0.15630532801151276f, - 0.13156533241271973f, -0.11297933757305145f, 0.12861967086791992f, - -0.19767631590366364f, 0.1394348293542862f, -0.23108699917793274f, - 0.0800437331199646f, -0.21714667975902557f, 0.08518000692129135f, - -0.25191619992256165f, 0.23131662607192993f, 0.03946883976459503f, - -0.09874357283115387f, 0.2303425371646881f, -0.19213639199733734f, - 0.1962396651506424f, -0.10008331388235092f, -0.19810836017131805f, - -0.2060118019580841f, 0.14884798228740692f, 0.05755701661109924f, - -0.10641518235206604f, 0.0359015166759491f, 0.1892276555299759f, - -0.10104718804359436f, -0.10194158554077148f, 0.0636373832821846f, - -0.0030684147495776415f, 0.22902312874794006f, 0.13050015270709991f, - 0.13367223739624023f }, { 0.17304399609565735f, -0.11803605407476425f, - 0.1952093541622162f, -0.058706384152173996f, 0.07460742443799973f, - -0.08487367630004883f, 0.2371104210615158f, -0.27557069063186646f, - 0.20663458108901978f, 0.1713942438364029f, -0.27339255809783936f, - -0.041794922202825546f, 0.0006373148644343019f, 0.022903289645910263f, - -0.03237643837928772f, 0.1001778319478035f, 0.1372859627008438f, - 0.2195289433002472f, 0.1444065421819687f, -0.16924221813678741f, - 0.17550763487815857f, 0.24889472126960754f, -0.005206882953643799f, - -0.09046423435211182f, -0.19790777564048767f, -0.23666583001613617f, - -0.04738515615463257f, 0.19731944799423218f, 0.18761177361011505f, - -0.12751927971839905f, -0.307704359292984f, -0.1543550342321396f }, { - 0.32603657245635986f, -0.3041064739227295f, 0.25856587290763855f, - -0.2557964324951172f, -0.3466465473175049f, -0.3196622133255005f, - 0.12455102801322937f, -0.11209218949079514f, 0.001982415560632944f, - 0.06973601132631302f, 0.14987079799175262f, -0.20265568792819977f, - 0.21144899725914001f, -0.10064118355512619f, 0.09263011813163757f, - 0.2236812561750412f, 0.11661216616630554f, 0.06638764590024948f, - -0.09710270911455154f, -0.1529141068458557f, 0.2093910574913025f, - -0.21584033966064453f, 0.008751243352890015f, 0.06805345416069031f, - -0.2336517572402954f, 0.01942119002342224f, 0.08388552069664001f, - 0.07689709961414337f, -0.1510092169046402f, 0.2813257873058319f, - -0.2768191695213318f, -0.037080224603414536f }, { - -0.003318269969895482f, 0.08421637862920761f, -0.016360998153686523f, - -0.12425577640533447f, -0.35029125213623047f, 0.16315333545207977f, - 0.1867244839668274f, 0.04439976066350937f, -0.1956385225057602f, - 0.12546296417713165f, 0.14696259796619415f, 0.031027860939502716f, - 0.13122601807117462f, 0.28269803524017334f, 0.09633612632751465f, - -0.15478374063968658f, 0.22323313355445862f, -0.0710759162902832f, - -0.27780935168266296f, 0.053979892283678055f, -0.015637023374438286f, - -0.1954222172498703f, -0.0505031943321228f, 0.24318388104438782f, - -0.2976081073284149f, -0.10191759467124939f, -0.07833482325077057f, - -0.288814902305603f, 0.040884505957365036f, 0.138712078332901f, - 0.20733070373535156f, -0.29824215173721313f }, { -0.18242500722408295f, - -0.3011151850223541f, -0.18937499821186066f, 0.21996764838695526f, - 0.08294257521629333f, 0.19795776903629303f, -0.2721400856971741f, - -0.2665696442127228f, -0.1749664843082428f, -0.11208948493003845f, - -0.12227600067853928f, 0.13757038116455078f, 0.15364645421504974f, - -0.1376083493232727f, 0.14986392855644226f, 0.27994680404663086f, - 0.11594970524311066f, -0.0993688553571701f, 0.08206108957529068f, - -0.30797436833381653f, 0.1478293389081955f, 0.029855877161026f, - 0.037324488162994385f, -0.16034488379955292f, -0.22942794859409332f, - -0.07402129471302032f, 0.01556810736656189f, 0.07635907083749771f, - 0.1468832641839981f, 0.2229032814502716f, 0.2030598223209381f, - 0.011082095094025135f }, { -0.031403448432683945f, -0.179839089512825f, - -0.061174169182777405f, 0.08824600279331207f, -0.05152688920497894f, - 0.09737619012594223f, -0.019338518381118774f, -0.149160236120224f, - -0.17775475978851318f, 0.20135465264320374f, -0.26330751180648804f, - -0.20573703944683075f, -0.18354615569114685f, 0.2306104153394699f, - -0.12902851402759552f, -0.32519760727882385f, -0.18613660335540771f, - -0.04431162402033806f, 0.07692430913448334f, 0.2852676808834076f, - 0.18445321917533875f, -0.1602698266506195f, 0.1428212821483612f, - 0.24115940928459167f, -0.15170736610889435f, 0.2710312306880951f, - -0.08893628418445587f, 0.08192634582519531f, 0.1068575456738472f, - -0.2417295277118683f, 0.018182098865509033f, 0.011811523698270321f }, { - 0.1185283288359642f, -0.1314961016178131f, -0.2746659219264984f, - 0.018920723348855972f, 0.11404602974653244f, 0.14093975722789764f, - -0.1613728106021881f, 0.010870097205042839f, 0.05537481606006622f, - -0.1315172165632248f, -0.18558558821678162f, -0.12937135994434357f, - -0.20973187685012817f, 0.1692427098751068f, -0.045904770493507385f, - 0.1710028052330017f, 0.01777065359055996f, 0.29331231117248535f, - -0.12049029022455215f, 0.04678349569439888f, -0.25235429406166077f, - -0.033619701862335205f, -0.042226120829582214f, -0.27914759516716003f, - 0.006846277974545956f, 0.08922392129898071f, 0.171451598405838f, - 0.050000399351119995f, -0.04939000681042671f, -0.2795959711074829f, - 0.26425138115882874f, -0.2566368877887726f }, }; +float x_future[num_input_array] = {0.0f}; + +float input[num_input] = { 0.0f }; -const float h2[32][32] = { { -0.13349971175193787f, -0.10295046865940094f, - -0.04925942420959473f, 0.005893866065889597f, -0.12596699595451355f, - 0.2987118661403656f, 0.07975713163614273f, 0.06396704912185669f, - -0.30411389470100403f, -0.10008957982063293f, 0.014623122289776802f, - -0.0538821816444397f, 0.048359375447034836f, 0.24325567483901978f, - 0.10184130072593689f, -0.24775750935077667f, 0.07803884148597717f, - -0.21483641862869263f, 0.17120853066444397f, 0.00830860622227192f, - -0.29617825150489807f, -0.22132611274719238f, -0.23983746767044067f, - -0.28275105357170105f, -0.3873054087162018f, 0.30998873710632324f, - -0.4226490557193756f, -0.11779281497001648f, 0.23828622698783875f, - 0.11771553754806519f, -0.37041905522346497f, -0.30605563521385193f }, { - -0.16083313524723053f, 0.002147972583770752f, -0.04321768879890442f, - 0.20690490305423737f, 0.022892558947205544f, 0.008302271366119385f, - -0.20543429255485535f, -0.08731026947498322f, 0.24677053093910217f, - 0.048597872257232666f, 0.20651067793369293f, 0.16381694376468658f, - 0.28672969341278076f, -0.3506166338920593f, 0.06659439951181412f, - 0.04734180495142937f, 0.03125026077032089f, -0.2737269401550293f, - -0.21843840181827545f, 0.3144419193267822f, 0.10113385319709778f, - 0.14034439623355865f, -0.16832955181598663f, 0.33271604776382446f, - 0.19579239189624786f, 0.14696596562862396f, 0.06076221913099289f, - 0.24354417622089386f, -0.28620439767837524f, -0.0511949360370636f, - 0.2096933126449585f, 0.040742650628089905f }, { -0.1579037755727768f, - 0.28447648882865906f, -0.1789936125278473f, 0.20799604058265686f, - 0.025723248720169067f, 0.17740526795387268f, -0.1666354387998581f, - -0.06060470640659332f, -0.017253071069717407f, -0.2790656089782715f, - -0.16800916194915771f, -0.2990717589855194f, 0.07126197218894958f, - -0.08032660186290741f, -0.1799015998840332f, -0.1891922950744629f, - 0.2556300461292267f, 0.2080206573009491f, -0.24888339638710022f, - 0.27691522240638733f, -0.21319638192653656f, -0.14012537896633148f, - -0.30466505885124207f, -0.013728171586990356f, -0.1629670113325119f, - 0.2530798614025116f, 0.0633285641670227f, 0.0011726915836334229f, - -0.14820529520511627f, 0.2823629677295685f, 0.10884168744087219f, - -0.2637729346752167f }, { -0.12927524745464325f, -0.01806354522705078f, - -0.23058539628982544f, -0.030255556106567383f, -0.6437712907791138f, - -0.17983144521713257f, 0.12746267020702362f, 0.08151327818632126f, - -0.06944303214550018f, 0.09271347522735596f, -0.0808296874165535f, - -0.24855418503284454f, -0.11665885150432587f, 0.12946322560310364f, - -0.0930287167429924f, -0.3423658609390259f, 0.10996055603027344f, - 0.24023392796516418f, 0.2942558825016022f, -0.17709596455097198f, - -0.1255558878183365f, -0.2134709507226944f, -0.06394433975219727f, - -0.24457648396492004f, 0.10029968619346619f, -0.2400282919406891f, - 0.11666780710220337f, -0.14067168533802032f, -0.22396358847618103f, - 0.2546447217464447f, -0.002586635062471032f, 0.04970479756593704f }, { - -0.18258020281791687f, 0.2506926953792572f, -0.0804666131734848f, - 0.05040470138192177f, 0.02259594015777111f, -0.23578980565071106f, - -0.09264150261878967f, 0.0013416205765679479f, 0.043158918619155884f, - -0.2690317630767822f, 0.04383622854948044f, -0.25736406445503235f, - -0.21347089111804962f, -0.19318343698978424f, -0.21244710683822632f, - -0.13572444021701813f, -0.1285906583070755f, 0.15626338124275208f, - -0.050212472677230835f, 0.0982573851943016f, 0.11135826259851456f, - 0.06453899294137955f, 0.19172045588493347f, -0.22890380024909973f, - -0.12237071990966797f, 0.09743352234363556f, 0.10070990025997162f, - 0.28772199153900146f, 0.2695164978504181f, -0.16498444974422455f, - 0.014173826202750206f, -0.2047310173511505f }, { -0.19158349931240082f, - -0.004258692264556885f, 0.032371193170547485f, -0.3141036927700043f, - -0.026762403547763824f, -0.29336631298065186f, 0.08645252138376236f, - -0.16367173194885254f, -0.03548547625541687f, 0.08825305104255676f, - -0.16509909927845f, 0.22309480607509613f, -0.22282296419143677f, - 0.2915789783000946f, -0.24179422855377197f, -0.19140881299972534f, - 0.21163100004196167f, 0.24713221192359924f, 0.28102827072143555f, - 0.25016462802886963f, 0.020191945135593414f, 0.19882827997207642f, - -0.1307595670223236f, -0.059169698506593704f, 0.2300402969121933f, - -0.261514276266098f, 0.22954094409942627f, -0.12279488891363144f, - 0.05800282955169678f, -0.26823562383651733f, 0.16349054872989655f, - 0.1337476223707199f }, { -0.21433322131633759f, -0.1279313862323761f, - -0.11171227693557739f, 0.27164509892463684f, -0.26441383361816406f, - 0.2845393121242523f, 0.07359254360198975f, -0.20844537019729614f, - -0.26620519161224365f, 0.17144301533699036f, -0.061109013855457306f, - -0.19284695386886597f, 0.29584869742393494f, -0.02723398245871067f, - -0.11244286596775055f, 0.0967603325843811f, -0.16153597831726074f, - 0.18742787837982178f, -0.13470113277435303f, 0.12359786033630371f, - 0.0469309501349926f, 0.02421507239341736f, -0.07988794147968292f, - -0.15143592655658722f, -0.18177983164787292f, 0.1452380120754242f, - 0.2337561547756195f, -0.17263798415660858f, -0.11822041869163513f, - 0.19546762108802795f, -0.16657039523124695f, -0.033323969691991806f }, { - 0.29264822602272034f, 0.11346611380577087f, 0.04012581706047058f, - -0.0461408905684948f, 0.225418359041214f, -0.05009126663208008f, - 0.013211707584559917f, 0.004197537899017334f, 0.2864855229854584f, - 0.01006925106048584f, -0.010690944269299507f, 0.11204484105110168f, - -0.16305525600910187f, -0.09700464457273483f, 0.08624142408370972f, - -0.3024343252182007f, -0.29751643538475037f, 0.2706601917743683f, - 0.19159749150276184f, -0.1787676364183426f, 0.07430826127529144f, - 0.05496254935860634f, -0.07979777455329895f, 0.16874255239963531f, - -0.37327951192855835f, 0.09258365631103516f, 0.44089770317077637f, - -0.042961325496435165f, -0.14135785400867462f, 0.07403197884559631f, - 0.09825335443019867f, 0.07322394847869873f }, { 0.28564146161079407f, - 0.2890130579471588f, -0.021617114543914795f, 0.08250059932470322f, - 0.3030112683773041f, 0.07065775990486145f, -0.236245796084404f, - -0.2608001232147217f, 0.29470762610435486f, -0.06864601373672485f, - 0.2483109086751938f, -0.20344071090221405f, 0.2957691252231598f, - -0.13390012085437775f, 0.19158922135829926f, 0.3726794719696045f, - 0.02077532187104225f, 0.06025278568267822f, 0.05459544435143471f, - 0.41055813431739807f, 0.32145416736602783f, 0.030043581500649452f, - 0.28743305802345276f, 0.19736182689666748f, 0.1656898558139801f, - -0.28868207335472107f, -0.039911627769470215f, -0.006442106794565916f, - 0.2501918375492096f, -0.14010676741600037f, -0.10169651359319687f, - -0.15317825973033905f }, { 0.2615049183368683f, 0.08643358945846558f, - -0.29237738251686096f, -0.2458128184080124f, 0.20376496016979218f, - -0.0771239846944809f, 0.1555452048778534f, -0.15540927648544312f, - 0.18755429983139038f, -0.07031691074371338f, -0.06268419325351715f, - -0.041090548038482666f, 0.042330075055360794f, 0.27333545684814453f, - -0.008807391859591007f, 0.1133832335472107f, -0.040624819695949554f, - -0.2859399914741516f, -0.26647016406059265f, -0.2497035712003708f, - 0.09534543007612228f, 0.09418291598558426f, -0.2307620644569397f, - 0.055859606713056564f, -0.07496815174818039f, -0.19647599756717682f, - 0.02131301537156105f, 0.09323979169130325f, 0.2113950550556183f, - 0.0796298086643219f, -0.06491973996162415f, -0.3819006681442261f }, { - 0.19981321692466736f, 0.1956864297389984f, -0.033508092164993286f, - -0.22838544845581055f, -0.12505969405174255f, 0.026693344116210938f, - 0.07720576971769333f, 0.14285165071487427f, -0.17670965194702148f, - 0.17403557896614075f, -0.22244372963905334f, 0.1680217683315277f, - -0.1060299277305603f, 0.1071399599313736f, -0.11092887073755264f, - -0.05349590629339218f, 0.03990337252616882f, 0.0716913640499115f, - 0.22807641327381134f, -0.13356927037239075f, 0.1965365707874298f, - 0.1245347261428833f, 0.07470300793647766f, 0.1796993613243103f, - -0.004812136758118868f, 0.10351252555847168f, -0.057905394583940506f, - -0.18869787454605103f, 0.13817378878593445f, 0.17853263020515442f, - -0.027914874255657196f, -0.02365732006728649f }, { -0.2546439468860626f, - -0.09556084871292114f, 0.12328919768333435f, 0.03998832777142525f, - -0.30052247643470764f, 0.24699172377586365f, -0.32009536027908325f, - -0.11670328676700592f, 0.17735600471496582f, 0.009893029928207397f, - 0.26776403188705444f, 0.19816415011882782f, -0.05558810010552406f, - -0.19641350209712982f, 0.3241870105266571f, -0.0002136280236300081f, - -0.015536589547991753f, 0.10842388868331909f, 0.2418537586927414f, - 0.25024867057800293f, -0.0643463209271431f, -0.06727208197116852f, - 0.09996896982192993f, 0.08140590041875839f, -0.12102364748716354f, - 0.09566594660282135f, 0.026901600882411003f, 0.24559487402439117f, - -0.288028746843338f, -0.2434448003768921f, 0.1651056408882141f, - 0.23462900519371033f }, { -0.08816954493522644f, 0.2728963792324066f, - -0.07170480489730835f, 0.08861888200044632f, -0.08407828211784363f, - 0.20119628310203552f, -0.021976735442876816f, 0.020944571122527122f, - -0.15294449031352997f, -0.038666754961013794f, -0.1334909051656723f, - 0.2502269148826599f, 0.20107106864452362f, -0.2309870719909668f, - 0.26465773582458496f, 0.09385055303573608f, -0.0016800533048808575f, - 0.21900424361228943f, 0.22734272480010986f, 0.15115073323249817f, - -0.3155216872692108f, 0.03708222880959511f, -0.19714993238449097f, - 0.18521378934383392f, 0.10345728695392609f, 0.21989409625530243f, - -0.008119909092783928f, -0.27566710114479065f, 0.18573936820030212f, - 0.15478622913360596f, 0.03387163206934929f, -0.09682217240333557f }, { - 0.14700931310653687f, 0.1833711564540863f, -0.0858893096446991f, - 0.03548716753721237f, -0.03290480375289917f, 0.2733006179332733f, - -0.00011049837485188618f, -0.1723647564649582f, 0.000652611255645752f, - -0.22920364141464233f, 0.03385178744792938f, -0.11219978332519531f, - 0.23820827901363373f, 0.33258119225502014f, 0.05578869208693504f, - -0.21240083873271942f, -0.07963520288467407f, 0.14483880996704102f, - -0.18910400569438934f, -0.1327388882637024f, -0.024066906422376633f, - 0.2018621563911438f, -0.2228696048259735f, 0.2577541768550873f, - -0.16621330380439758f, 0.06491447985172272f, -0.09694764763116837f, - 0.19547560811042786f, -0.011228948831558228f, 0.26896968483924866f, - -0.360990971326828f, -0.2201414704322815f }, { -0.23982827365398407f, - 0.03880670666694641f, -0.013682037591934204f, -0.11685100197792053f, - -0.020662933588027954f, 0.30190005898475647f, -0.14934301376342773f, - -0.15993990004062653f, 0.1152651309967041f, -0.11991468071937561f, - -0.15497799217700958f, 0.11116543412208557f, -0.2045515924692154f, - 0.2403949797153473f, -0.21275603771209717f, 0.05732181668281555f, - -0.2770107090473175f, 0.088544100522995f, 0.19012078642845154f, - -0.07119561731815338f, -0.18914666771888733f, -0.10413256287574768f, - -0.16050675511360168f, 0.11598068475723267f, -0.03151249885559082f, - -0.1937510371208191f, 0.18474078178405762f, 0.19502457976341248f, - 0.22045472264289856f, -0.29474368691444397f, 0.09864541888237f, - 0.06054645776748657f }, { -0.1617974042892456f, 0.1317739188671112f, - 0.03260180354118347f, -0.19948318600654602f, -0.0928228572010994f, - -0.1987132430076599f, -0.1755896806716919f, 0.11372503638267517f, - 0.05445769429206848f, 0.07657262682914734f, -0.18663887679576874f, - -0.23218511044979095f, 0.2056141495704651f, 0.03608625754714012f, - 0.33959874510765076f, -0.3019200563430786f, -0.25386664271354675f, - -0.18997573852539062f, -0.06610497832298279f, -0.1891406625509262f, - -0.10423542559146881f, -0.11639183014631271f, -0.3044300675392151f, - 0.2589237689971924f, -0.06821785122156143f, 0.17655706405639648f, - 0.1661142259836197f, -0.24122722446918488f, -0.0006675124168395996f, - -0.2239055633544922f, -0.0723206177353859f, 0.2102394998073578f }, { - 0.036086976528167725f, -0.062024205923080444f, 0.10704237222671509f, - -0.1612134575843811f, -0.1631729155778885f, 0.1497061848640442f, - 0.03271482139825821f, 0.27597710490226746f, -0.23304778337478638f, - -0.035415440797805786f, 0.1086379662156105f, 0.07746559381484985f, - 0.13613636791706085f, 0.09150157123804092f, 0.25167548656463623f, - -0.24342824518680573f, -0.027234435081481934f, 0.19620582461357117f, - 0.44021302461624146f, -0.23242811858654022f, -0.05763920396566391f, - -0.09912444651126862f, -0.19671492278575897f, -0.33463647961616516f, - -0.40228715538978577f, -0.000608850852586329f, 0.06298207491636276f, - 0.39882805943489075f, -0.2531542181968689f, 0.24004116654396057f, - -0.30925723910331726f, -0.26930177211761475f }, { 0.1379433274269104f, - -0.16078773140907288f, 0.11784148216247559f, 0.20431241393089294f, - 0.29410573840141296f, 0.19759181141853333f, 0.09952005743980408f, - 0.1544932872056961f, 0.040603965520858765f, -0.2119520902633667f, - 0.18040086328983307f, -0.38904741406440735f, -0.046765703707933426f, - 0.13744039833545685f, -0.3137235641479492f, 0.05679671838879585f, - 0.1565159410238266f, 0.2297056019306183f, 0.032699450850486755f, - 0.20715069770812988f, -0.016263214871287346f, -0.3025153875350952f, - 0.26029130816459656f, 0.42276427149772644f, 0.2875830829143524f, - -0.12763257324695587f, -0.20330224931240082f, -0.07699788361787796f, - -0.08671019971370697f, -0.019541800022125244f, 0.4000849425792694f, - 0.17512208223342896f }, { 0.09298902750015259f, 0.2841971218585968f, - -0.0814327746629715f, -0.010091223753988743f, -0.12308911234140396f, - 0.11057800054550171f, -0.1737426221370697f, 0.20642486214637756f, - -0.2925014793872833f, 0.022429823875427246f, -0.06304851174354553f, - -0.07166500389575958f, -0.26361000537872314f, 0.050878144800662994f, - 0.189671128988266f, 0.30893731117248535f, 0.1296386420726776f, - 0.027322769165039062f, 0.29731038212776184f, 0.14744597673416138f, - 0.2998683750629425f, 0.08306887000799179f, 0.06231796741485596f, - 0.3401893973350525f, -0.004573390819132328f, 0.18759925663471222f, - -0.16945621371269226f, 0.01625938154757023f, 0.14345040917396545f, - -0.11986468732357025f, -0.21137407422065735f, 0.1280972957611084f }, { - -0.14775772392749786f, 0.29651907086372375f, 0.02990397810935974f, - -0.06818585097789764f, 0.1993788629770279f, -0.22813674807548523f, - 0.16850803792476654f, 0.24565419554710388f, -0.2325194776058197f, - -0.2458522766828537f, -0.017307782545685768f, -0.12818260490894318f, - -0.17801909148693085f, -0.2504909038543701f, 0.1731644719839096f, - 0.18156693875789642f, 0.23218704760074615f, 0.11064860224723816f, - -0.15070302784442902f, 0.10314767062664032f, 0.3309069275856018f, - -0.28518369793891907f, -0.07374785840511322f, 0.05567348375916481f, - -0.01467915065586567f, -0.3420534133911133f, -0.21914657950401306f, - 0.23488031327724457f, -0.2205982804298401f, 0.28094157576560974f, - -0.15506510436534882f, 0.07852166146039963f }, { 0.2703488767147064f, - -0.16041381657123566f, 0.12738299369812012f, -0.045484237372875214f, - 0.06815514713525772f, 0.1861400008201599f, -0.15391220152378082f, - 0.28177282214164734f, 0.1474648416042328f, -0.23766008019447327f, - 0.025048013776540756f, 0.06622862070798874f, 0.09594401717185974f, - -0.1663329154253006f, -0.10072105377912521f, -0.044219132512807846f, - -0.2531753182411194f, 0.08700510859489441f, -0.26066508889198303f, - 0.07304855436086655f, -0.13394378125667572f, 0.22174499928951263f, - -0.18301571905612946f, -0.16244065761566162f, -0.004656728822737932f, - 0.2568950057029724f, 0.15513287484645844f, -0.2911604344844818f, - 0.08541131019592285f, 0.08213254809379578f, -0.258662611246109f, - 0.04998021572828293f }, { -0.06283275783061981f, -0.26753589510917664f, - -0.10381917655467987f, -0.13344663381576538f, 0.2644997537136078f, - 0.2204643189907074f, 0.2924788296222687f, -0.17931663990020752f, - -0.09078609943389893f, -0.17306232452392578f, 0.02247890830039978f, - -0.26996222138404846f, 0.22075030207633972f, -0.3029964864253998f, - 0.21873190999031067f, -0.0030784308910369873f, 0.18228653073310852f, - 0.09971508383750916f, -0.242676243185997f, -0.1424383968114853f, - 0.19031599164009094f, 0.3004438579082489f, -0.23650792241096497f, - -0.2683113217353821f, 0.29957786202430725f, 0.08561205863952637f, - -0.1366746425628662f, -0.15950153768062592f, -0.07675467431545258f, - -0.2218506634235382f, -0.2795913517475128f, 0.1869203746318817f }, { - 0.2003176510334015f, -0.27792131900787354f, 0.055196613073349f, - -0.27959588170051575f, 0.18430876731872559f, -0.05316638946533203f, - 0.16156336665153503f, -0.18850930035114288f, 0.09482413530349731f, - 0.021483391523361206f, 0.009039878845214844f, 0.1586727499961853f, - 0.11457142233848572f, 0.2876913249492645f, -0.24802550673484802f, - 0.14089101552963257f, -0.06842575967311859f, -0.10107968747615814f, - 0.06239110231399536f, -0.2528536915779114f, -0.27538973093032837f, - 0.15457189083099365f, -0.15549622476100922f, 0.20245882868766785f, - 0.08544808626174927f, 0.22650876641273499f, -0.05268847942352295f, - 0.20387354493141174f, 0.24724552035331726f, 0.21444126963615417f, - 0.05186706781387329f, -0.11084021627902985f }, { -0.19810965657234192f, - 0.2745245397090912f, 0.1767616868019104f, 0.19752147793769836f, - 0.0650932788848877f, 0.29138168692588806f, -0.29061684012413025f, - 0.010446667671203613f, 0.025284886360168457f, -0.10202452540397644f, - -0.10358673334121704f, 0.14746251702308655f, 0.15136101841926575f, - 0.04500553011894226f, -0.2497977316379547f, -0.29277902841567993f, - 0.02556520700454712f, -0.09509801864624023f, 0.16731274127960205f, - -0.25266408920288086f, -0.3004688322544098f, -0.19769597053527832f, - -0.14847496151924133f, 0.3053832948207855f, 0.07563886046409607f, - -0.10258816182613373f, -0.060128673911094666f, 0.0016401112079620361f, - -0.29647189378738403f, -0.18869297206401825f, 0.05497395992279053f, - 0.16092956066131592f }, { -0.011267274618148804f, -0.25281068682670593f, - -0.10565309226512909f, -0.10787995159626007f, 0.23997481167316437f, - 0.011940985918045044f, 0.10584557056427002f, -0.22430141270160675f, - -0.06814777851104736f, -0.24531681835651398f, -0.07618588954210281f, - 0.12015970051288605f, 0.0185067281126976f, 0.002306112553924322f, - 0.17718534171581268f, 0.3006735146045685f, 0.1760181039571762f, - 0.04417389631271362f, 0.20160885155200958f, 0.16602091491222382f, - 0.2585296034812927f, -0.027029002085328102f, -0.2520882785320282f, - 0.29521048069000244f, 0.25318053364753723f, 0.05056742578744888f, - 0.22924767434597015f, -0.03404907137155533f, -0.18211489915847778f, - -0.15127526223659515f, 0.18461528420448303f, 0.2534249424934387f }, { - -0.10580866038799286f, -0.17215237021446228f, -0.01352420449256897f, - -0.13443149626255035f, -0.10265451669692993f, -0.2169143706560135f, - 0.30098411440849304f, -0.2986297905445099f, 0.07908004522323608f, - -0.30061498284339905f, 0.10424068570137024f, -0.018799901008605957f, - -0.18665757775306702f, 0.005998075008392334f, -0.2969498336315155f, - 0.18525955080986023f, 0.2379322350025177f, 0.15184926986694336f, - 0.215760737657547f, -0.19088758528232574f, 0.08620095252990723f, - 0.019999295473098755f, -0.0752219706773758f, 0.11181813478469849f, - 0.1881926953792572f, 0.2210972011089325f, 0.13236162066459656f, - -0.06690356135368347f, -0.18345263600349426f, -0.14861416816711426f, - 0.08577704429626465f, -0.09683996438980103f }, { 0.03951254487037659f, - 0.23604217171669006f, 0.012746036052703857f, -0.12561996281147003f, - -0.1283164620399475f, 0.25823846459388733f, 0.10610169172286987f, - 0.22718152403831482f, 0.1749366819858551f, 0.007794857025146484f, - 0.11289489269256592f, 0.2725127637386322f, -0.13616766035556793f, - -0.03546282649040222f, -0.1685536652803421f, -0.24492129683494568f, - 0.15760570764541626f, 0.017505377531051636f, -0.273531436920166f, - -0.005667984485626221f, 0.18370777368545532f, -0.023328542709350586f, - 0.2379932701587677f, -0.048420339822769165f, 0.10376441478729248f, - -0.295401930809021f, -0.20498433709144592f, 0.22346952557563782f, - -0.26649031043052673f, -0.08466874063014984f, 0.23347875475883484f, - -0.03380200266838074f }, { 0.3014208972454071f, -0.11652402579784393f, - 0.24921879172325134f, 0.16919833421707153f, -0.33012309670448303f, - -0.19414515793323517f, -0.031346261501312256f, -0.11968852579593658f, - 0.23963233828544617f, 0.21321198344230652f, -0.04236738383769989f, - -0.04909612983465195f, -0.15507397055625916f, 0.041283149272203445f, - -0.0798816904425621f, -0.16132454574108124f, -0.22342979907989502f, - 0.2487291395664215f, -0.275277704000473f, -0.1761859953403473f, - -0.1089298352599144f, 0.14958830177783966f, -0.09928475320339203f, - -0.18516667187213898f, -0.11554347723722458f, 0.2378307580947876f, - 0.042566750198602676f, -0.09927814453840256f, -0.03476092219352722f, - 0.2736774981021881f, 0.01615159772336483f, -0.08927445858716965f }, { - -0.17075178027153015f, 0.009595632553100586f, 0.2466227114200592f, - 0.033388618379831314f, -0.34659287333488464f, -0.2819134294986725f, - -0.07840541750192642f, -0.15331926941871643f, -0.2516406178474426f, - 0.012286126613616943f, 0.20758569240570068f, -0.2048848569393158f, - -0.12051127851009369f, 0.10427423566579819f, 0.0999673530459404f, - 0.028271911665797234f, -0.24087269604206085f, -0.048499464988708496f, - -0.20961162447929382f, 0.10103815048933029f, -0.2312844693660736f, - -0.22412340342998505f, -0.031352698802948f, 0.27904242277145386f, - -0.11300363391637802f, -0.16207841038703918f, -0.33752813935279846f, - 0.3786945641040802f, -0.07090267539024353f, -0.23986908793449402f, - -0.30680611729621887f, -0.0811222642660141f }, { -0.01348048448562622f, - 0.08233943581581116f, 0.18838337063789368f, 0.21852442622184753f, - -0.04740855097770691f, 0.19177213311195374f, -0.0060100555419921875f, - 0.20933791995048523f, 0.06356173753738403f, 0.063028484582901f, - 0.09440034627914429f, 0.29559019207954407f, -0.2545689642429352f, - -0.09652335941791534f, -0.2841038703918457f, -0.03553757071495056f, - 0.02329021692276001f, -0.08720272779464722f, -0.0750999003648758f, - -0.10468094050884247f, -0.03761094808578491f, -0.030853450298309326f, - 0.2112145721912384f, 0.2599640190601349f, -0.2969062626361847f, - -0.13667742908000946f, 0.24173608422279358f, 0.09566575288772583f, - 0.021116197109222412f, -0.005982398986816406f, -0.26417285203933716f, - 0.1879688799381256f }, { -0.1763739138841629f, -0.17203155159950256f, - 0.0620841383934021f, -0.04815051332116127f, -0.08886270225048065f, - -0.19284456968307495f, 0.09443464875221252f, 0.1472807228565216f, - -0.21029016375541687f, 0.2210421860218048f, -0.26095423102378845f, - 0.23557153344154358f, -0.07677116990089417f, -0.16641905903816223f, - -0.16725768148899078f, -0.2004043012857437f, 0.08218716084957123f, - -0.29308468103408813f, -0.057871971279382706f, -0.07429885864257812f, - 0.2029605507850647f, -0.19719278812408447f, -0.22302524745464325f, - 0.2192145586013794f, -0.13908077776432037f, 0.2019682675600052f, - -0.028201768174767494f, 0.08898906409740448f, 0.17976179718971252f, - -0.22928372025489807f, 0.3000858724117279f, 0.08501409739255905f }, { - -0.09888127446174622f, -0.22750279307365417f, -0.22503364086151123f, - -0.0014225258491933346f, -0.012498408555984497f, -0.24329537153244019f, - -0.09442851692438126f, 0.08175003528594971f, -0.016126900911331177f, - 0.06972584128379822f, 0.05360379442572594f, 0.22432491183280945f, - -0.031845152378082275f, -0.2877633273601532f, 0.18349257111549377f, - 0.19327174127101898f, -0.09216172993183136f, 0.04617339372634888f, - -0.09483018517494202f, -0.07904840260744095f, -0.035641368478536606f, - -0.2887636721134186f, -0.06047184765338898f, -0.3070217967033386f, - 4.397468364913948e-05f, -0.19100867211818695f, 0.28239238262176514f, - -0.2758784890174866f, -0.16326025128364563f, 0.11664235591888428f, - -0.03823475539684296f, 0.11660117655992508f }, - +const float h1[num_input][32] = { + {-0.05584605038166046f,-0.11015535145998001f,0.12024858593940735f,0.8710275292396545f,-0.8633008599281311f,0.6032636165618896f,0.1195044070482254f,-0.24131548404693604f,-0.2979300916194916f,-0.06240735203027725f,-0.5634293556213379f,-0.7795512080192566f,-0.2193688154220581f,0.5603419542312622f,-0.2396446317434311f,-0.5459810495376587f,-0.3129505217075348f,0.9516814351081848f,-0.4300021231174469f,0.32531049847602844f,-0.38013890385627747f,0.12145945429801941f,-0.3777896761894226f,-0.0899648368358612f,0.00471434835344553f,0.2086491882801056f,-0.2006681114435196f,-0.8217374086380005f,0.4176312983036041f,-0.21341653168201447f,-0.738452672958374f,0.09072920680046082f}, +{-0.8286606073379517f,0.34443455934524536f,0.33912619948387146f,-0.5367521047592163f,-0.2419569194316864f,0.11375948786735535f,0.7230488657951355f,-0.11622462421655655f,-0.06099450960755348f,0.14800310134887695f,-0.44429513812065125f,-0.15811024606227875f,0.024088174104690552f,0.37633487582206726f,0.05209478735923767f,-0.44525954127311707f,-0.35180044174194336f,0.31975269317626953f,0.4067309498786926f,0.42282143235206604f,-0.03516775369644165f,-0.13714641332626343f,-0.10795548558235168f,0.31470927596092224f,-0.34707048535346985f,0.3334867060184479f,0.14405718445777893f,-0.16725023090839386f,-0.10117192566394806f,0.11138620972633362f,-0.507462739944458f,0.11189708113670349f}, +{-0.35791441798210144f,0.3758581578731537f,-0.004794687032699585f,-0.05841163173317909f,-0.08767881989479065f,-0.15663278102874756f,0.252312570810318f,-0.3261408507823944f,-0.08955887705087662f,0.09258187562227249f,0.14131738245487213f,-0.011780006811022758f,-0.037279367446899414f,0.30396905541419983f,-0.36018112301826477f,-0.4110696315765381f,0.16343103349208832f,0.05796433240175247f,0.10341846942901611f,0.42017245292663574f,0.2516377866268158f,-0.17387470602989197f,0.15389427542686462f,-0.2800215482711792f,-0.674734354019165f,0.16508331894874573f,-0.1761709749698639f,0.06000325456261635f,-0.14043109118938446f,0.3438030183315277f,-0.5538067817687988f,-0.22203606367111206f}, +{-0.15260998904705048f,-0.008754822425544262f,-0.2331579178571701f,-0.49566444754600525f,-0.3155744969844818f,-0.002509156707674265f,0.168622225522995f,-0.5208267569541931f,0.29355648159980774f,0.050865866243839264f,0.01398477889597416f,0.27986469864845276f,-0.13409757614135742f,0.4001019597053528f,-0.14554673433303833f,-0.08893944323062897f,-0.13120734691619873f,-0.24075376987457275f,-0.3130897283554077f,0.08357034623622894f,-0.2832319438457489f,-0.09985870122909546f,-0.16704979538917542f,-0.33099624514579773f,-0.4437883496284485f,0.16078665852546692f,0.15193721652030945f,-0.10225960612297058f,0.34021857380867004f,0.1502511203289032f,-0.0664215236902237f,0.20154133439064026f}, +{0.12635438144207f,0.24193024635314941f,0.09550115466117859f,-0.23847319185733795f,-0.10712115466594696f,-0.07988527417182922f,-0.18517336249351501f,-0.5395429730415344f,-0.3816317319869995f,0.30893078446388245f,-0.41678526997566223f,0.23135076463222504f,0.2400895059108734f,0.2607426047325134f,-0.2847418785095215f,0.23095203936100006f,-0.205430269241333f,-0.35568180680274963f,0.05281441658735275f,-0.16010922193527222f,0.15620997548103333f,0.26784953474998474f,-0.2786858379840851f,-0.08468881249427795f,-0.2860216498374939f,-0.3890018165111542f,0.04607313871383667f,-0.34892332553863525f,0.3036911189556122f,-0.18532218039035797f,0.23122631013393402f,0.030484020709991455f}, +{0.552375316619873f,0.18492630124092102f,0.34649983048439026f,0.3252255320549011f,0.27798062562942505f,-0.2561512887477875f,-0.41888460516929626f,-0.06891436129808426f,-0.554313600063324f,0.008540602400898933f,0.2860400974750519f,-0.13133136928081512f,-0.03570398688316345f,0.08028116822242737f,0.24870619177818298f,-0.13462437689304352f,-0.46191880106925964f,-0.9220594763755798f,-0.50397789478302f,-0.18426336348056793f,0.1535390317440033f,-0.010987609624862671f,0.1429324448108673f,0.3757905066013336f,-0.5380614995956421f,0.23636052012443542f,-0.3322296440601349f,0.41926270723342896f,0.02858952432870865f,-0.0014912784099578857f,0.09470368921756744f,-0.06355711817741394f}, }; -const float h3[32][32] = { { -0.13349971175193787f, -0.10295046865940094f, - -0.04925942420959473f, 0.005893866065889597f, -0.12596699595451355f, - 0.2987118661403656f, 0.07975713163614273f, 0.06396704912185669f, - -0.30411389470100403f, -0.10008957982063293f, 0.014623122289776802f, - -0.0538821816444397f, 0.048359375447034836f, 0.24325567483901978f, - 0.10184130072593689f, -0.24775750935077667f, 0.07803884148597717f, - -0.21483641862869263f, 0.17120853066444397f, 0.00830860622227192f, - -0.29617825150489807f, -0.22132611274719238f, -0.23983746767044067f, - -0.28275105357170105f, -0.3873054087162018f, 0.30998873710632324f, - -0.4226490557193756f, -0.11779281497001648f, 0.23828622698783875f, - 0.11771553754806519f, -0.37041905522346497f, -0.30605563521385193f }, { - -0.16083313524723053f, 0.002147972583770752f, -0.04321768879890442f, - 0.20690490305423737f, 0.022892558947205544f, 0.008302271366119385f, - -0.20543429255485535f, -0.08731026947498322f, 0.24677053093910217f, - 0.048597872257232666f, 0.20651067793369293f, 0.16381694376468658f, - 0.28672969341278076f, -0.3506166338920593f, 0.06659439951181412f, - 0.04734180495142937f, 0.03125026077032089f, -0.2737269401550293f, - -0.21843840181827545f, 0.3144419193267822f, 0.10113385319709778f, - 0.14034439623355865f, -0.16832955181598663f, 0.33271604776382446f, - 0.19579239189624786f, 0.14696596562862396f, 0.06076221913099289f, - 0.24354417622089386f, -0.28620439767837524f, -0.0511949360370636f, - 0.2096933126449585f, 0.040742650628089905f }, { -0.1579037755727768f, - 0.28447648882865906f, -0.1789936125278473f, 0.20799604058265686f, - 0.025723248720169067f, 0.17740526795387268f, -0.1666354387998581f, - -0.06060470640659332f, -0.017253071069717407f, -0.2790656089782715f, - -0.16800916194915771f, -0.2990717589855194f, 0.07126197218894958f, - -0.08032660186290741f, -0.1799015998840332f, -0.1891922950744629f, - 0.2556300461292267f, 0.2080206573009491f, -0.24888339638710022f, - 0.27691522240638733f, -0.21319638192653656f, -0.14012537896633148f, - -0.30466505885124207f, -0.013728171586990356f, -0.1629670113325119f, - 0.2530798614025116f, 0.0633285641670227f, 0.0011726915836334229f, - -0.14820529520511627f, 0.2823629677295685f, 0.10884168744087219f, - -0.2637729346752167f }, { -0.12927524745464325f, -0.01806354522705078f, - -0.23058539628982544f, -0.030255556106567383f, -0.6437712907791138f, - -0.17983144521713257f, 0.12746267020702362f, 0.08151327818632126f, - -0.06944303214550018f, 0.09271347522735596f, -0.0808296874165535f, - -0.24855418503284454f, -0.11665885150432587f, 0.12946322560310364f, - -0.0930287167429924f, -0.3423658609390259f, 0.10996055603027344f, - 0.24023392796516418f, 0.2942558825016022f, -0.17709596455097198f, - -0.1255558878183365f, -0.2134709507226944f, -0.06394433975219727f, - -0.24457648396492004f, 0.10029968619346619f, -0.2400282919406891f, - 0.11666780710220337f, -0.14067168533802032f, -0.22396358847618103f, - 0.2546447217464447f, -0.002586635062471032f, 0.04970479756593704f }, { - -0.18258020281791687f, 0.2506926953792572f, -0.0804666131734848f, - 0.05040470138192177f, 0.02259594015777111f, -0.23578980565071106f, - -0.09264150261878967f, 0.0013416205765679479f, 0.043158918619155884f, - -0.2690317630767822f, 0.04383622854948044f, -0.25736406445503235f, - -0.21347089111804962f, -0.19318343698978424f, -0.21244710683822632f, - -0.13572444021701813f, -0.1285906583070755f, 0.15626338124275208f, - -0.050212472677230835f, 0.0982573851943016f, 0.11135826259851456f, - 0.06453899294137955f, 0.19172045588493347f, -0.22890380024909973f, - -0.12237071990966797f, 0.09743352234363556f, 0.10070990025997162f, - 0.28772199153900146f, 0.2695164978504181f, -0.16498444974422455f, - 0.014173826202750206f, -0.2047310173511505f }, { -0.19158349931240082f, - -0.004258692264556885f, 0.032371193170547485f, -0.3141036927700043f, - -0.026762403547763824f, -0.29336631298065186f, 0.08645252138376236f, - -0.16367173194885254f, -0.03548547625541687f, 0.08825305104255676f, - -0.16509909927845f, 0.22309480607509613f, -0.22282296419143677f, - 0.2915789783000946f, -0.24179422855377197f, -0.19140881299972534f, - 0.21163100004196167f, 0.24713221192359924f, 0.28102827072143555f, - 0.25016462802886963f, 0.020191945135593414f, 0.19882827997207642f, - -0.1307595670223236f, -0.059169698506593704f, 0.2300402969121933f, - -0.261514276266098f, 0.22954094409942627f, -0.12279488891363144f, - 0.05800282955169678f, -0.26823562383651733f, 0.16349054872989655f, - 0.1337476223707199f }, { -0.21433322131633759f, -0.1279313862323761f, - -0.11171227693557739f, 0.27164509892463684f, -0.26441383361816406f, - 0.2845393121242523f, 0.07359254360198975f, -0.20844537019729614f, - -0.26620519161224365f, 0.17144301533699036f, -0.061109013855457306f, - -0.19284695386886597f, 0.29584869742393494f, -0.02723398245871067f, - -0.11244286596775055f, 0.0967603325843811f, -0.16153597831726074f, - 0.18742787837982178f, -0.13470113277435303f, 0.12359786033630371f, - 0.0469309501349926f, 0.02421507239341736f, -0.07988794147968292f, - -0.15143592655658722f, -0.18177983164787292f, 0.1452380120754242f, - 0.2337561547756195f, -0.17263798415660858f, -0.11822041869163513f, - 0.19546762108802795f, -0.16657039523124695f, -0.033323969691991806f }, { - 0.29264822602272034f, 0.11346611380577087f, 0.04012581706047058f, - -0.0461408905684948f, 0.225418359041214f, -0.05009126663208008f, - 0.013211707584559917f, 0.004197537899017334f, 0.2864855229854584f, - 0.01006925106048584f, -0.010690944269299507f, 0.11204484105110168f, - -0.16305525600910187f, -0.09700464457273483f, 0.08624142408370972f, - -0.3024343252182007f, -0.29751643538475037f, 0.2706601917743683f, - 0.19159749150276184f, -0.1787676364183426f, 0.07430826127529144f, - 0.05496254935860634f, -0.07979777455329895f, 0.16874255239963531f, - -0.37327951192855835f, 0.09258365631103516f, 0.44089770317077637f, - -0.042961325496435165f, -0.14135785400867462f, 0.07403197884559631f, - 0.09825335443019867f, 0.07322394847869873f }, { 0.28564146161079407f, - 0.2890130579471588f, -0.021617114543914795f, 0.08250059932470322f, - 0.3030112683773041f, 0.07065775990486145f, -0.236245796084404f, - -0.2608001232147217f, 0.29470762610435486f, -0.06864601373672485f, - 0.2483109086751938f, -0.20344071090221405f, 0.2957691252231598f, - -0.13390012085437775f, 0.19158922135829926f, 0.3726794719696045f, - 0.02077532187104225f, 0.06025278568267822f, 0.05459544435143471f, - 0.41055813431739807f, 0.32145416736602783f, 0.030043581500649452f, - 0.28743305802345276f, 0.19736182689666748f, 0.1656898558139801f, - -0.28868207335472107f, -0.039911627769470215f, -0.006442106794565916f, - 0.2501918375492096f, -0.14010676741600037f, -0.10169651359319687f, - -0.15317825973033905f }, { 0.2615049183368683f, 0.08643358945846558f, - -0.29237738251686096f, -0.2458128184080124f, 0.20376496016979218f, - -0.0771239846944809f, 0.1555452048778534f, -0.15540927648544312f, - 0.18755429983139038f, -0.07031691074371338f, -0.06268419325351715f, - -0.041090548038482666f, 0.042330075055360794f, 0.27333545684814453f, - -0.008807391859591007f, 0.1133832335472107f, -0.040624819695949554f, - -0.2859399914741516f, -0.26647016406059265f, -0.2497035712003708f, - 0.09534543007612228f, 0.09418291598558426f, -0.2307620644569397f, - 0.055859606713056564f, -0.07496815174818039f, -0.19647599756717682f, - 0.02131301537156105f, 0.09323979169130325f, 0.2113950550556183f, - 0.0796298086643219f, -0.06491973996162415f, -0.3819006681442261f }, { - 0.19981321692466736f, 0.1956864297389984f, -0.033508092164993286f, - -0.22838544845581055f, -0.12505969405174255f, 0.026693344116210938f, - 0.07720576971769333f, 0.14285165071487427f, -0.17670965194702148f, - 0.17403557896614075f, -0.22244372963905334f, 0.1680217683315277f, - -0.1060299277305603f, 0.1071399599313736f, -0.11092887073755264f, - -0.05349590629339218f, 0.03990337252616882f, 0.0716913640499115f, - 0.22807641327381134f, -0.13356927037239075f, 0.1965365707874298f, - 0.1245347261428833f, 0.07470300793647766f, 0.1796993613243103f, - -0.004812136758118868f, 0.10351252555847168f, -0.057905394583940506f, - -0.18869787454605103f, 0.13817378878593445f, 0.17853263020515442f, - -0.027914874255657196f, -0.02365732006728649f }, { -0.2546439468860626f, - -0.09556084871292114f, 0.12328919768333435f, 0.03998832777142525f, - -0.30052247643470764f, 0.24699172377586365f, -0.32009536027908325f, - -0.11670328676700592f, 0.17735600471496582f, 0.009893029928207397f, - 0.26776403188705444f, 0.19816415011882782f, -0.05558810010552406f, - -0.19641350209712982f, 0.3241870105266571f, -0.0002136280236300081f, - -0.015536589547991753f, 0.10842388868331909f, 0.2418537586927414f, - 0.25024867057800293f, -0.0643463209271431f, -0.06727208197116852f, - 0.09996896982192993f, 0.08140590041875839f, -0.12102364748716354f, - 0.09566594660282135f, 0.026901600882411003f, 0.24559487402439117f, - -0.288028746843338f, -0.2434448003768921f, 0.1651056408882141f, - 0.23462900519371033f }, { -0.08816954493522644f, 0.2728963792324066f, - -0.07170480489730835f, 0.08861888200044632f, -0.08407828211784363f, - 0.20119628310203552f, -0.021976735442876816f, 0.020944571122527122f, - -0.15294449031352997f, -0.038666754961013794f, -0.1334909051656723f, - 0.2502269148826599f, 0.20107106864452362f, -0.2309870719909668f, - 0.26465773582458496f, 0.09385055303573608f, -0.0016800533048808575f, - 0.21900424361228943f, 0.22734272480010986f, 0.15115073323249817f, - -0.3155216872692108f, 0.03708222880959511f, -0.19714993238449097f, - 0.18521378934383392f, 0.10345728695392609f, 0.21989409625530243f, - -0.008119909092783928f, -0.27566710114479065f, 0.18573936820030212f, - 0.15478622913360596f, 0.03387163206934929f, -0.09682217240333557f }, { - 0.14700931310653687f, 0.1833711564540863f, -0.0858893096446991f, - 0.03548716753721237f, -0.03290480375289917f, 0.2733006179332733f, - -0.00011049837485188618f, -0.1723647564649582f, 0.000652611255645752f, - -0.22920364141464233f, 0.03385178744792938f, -0.11219978332519531f, - 0.23820827901363373f, 0.33258119225502014f, 0.05578869208693504f, - -0.21240083873271942f, -0.07963520288467407f, 0.14483880996704102f, - -0.18910400569438934f, -0.1327388882637024f, -0.024066906422376633f, - 0.2018621563911438f, -0.2228696048259735f, 0.2577541768550873f, - -0.16621330380439758f, 0.06491447985172272f, -0.09694764763116837f, - 0.19547560811042786f, -0.011228948831558228f, 0.26896968483924866f, - -0.360990971326828f, -0.2201414704322815f }, { -0.23982827365398407f, - 0.03880670666694641f, -0.013682037591934204f, -0.11685100197792053f, - -0.020662933588027954f, 0.30190005898475647f, -0.14934301376342773f, - -0.15993990004062653f, 0.1152651309967041f, -0.11991468071937561f, - -0.15497799217700958f, 0.11116543412208557f, -0.2045515924692154f, - 0.2403949797153473f, -0.21275603771209717f, 0.05732181668281555f, - -0.2770107090473175f, 0.088544100522995f, 0.19012078642845154f, - -0.07119561731815338f, -0.18914666771888733f, -0.10413256287574768f, - -0.16050675511360168f, 0.11598068475723267f, -0.03151249885559082f, - -0.1937510371208191f, 0.18474078178405762f, 0.19502457976341248f, - 0.22045472264289856f, -0.29474368691444397f, 0.09864541888237f, - 0.06054645776748657f }, { -0.1617974042892456f, 0.1317739188671112f, - 0.03260180354118347f, -0.19948318600654602f, -0.0928228572010994f, - -0.1987132430076599f, -0.1755896806716919f, 0.11372503638267517f, - 0.05445769429206848f, 0.07657262682914734f, -0.18663887679576874f, - -0.23218511044979095f, 0.2056141495704651f, 0.03608625754714012f, - 0.33959874510765076f, -0.3019200563430786f, -0.25386664271354675f, - -0.18997573852539062f, -0.06610497832298279f, -0.1891406625509262f, - -0.10423542559146881f, -0.11639183014631271f, -0.3044300675392151f, - 0.2589237689971924f, -0.06821785122156143f, 0.17655706405639648f, - 0.1661142259836197f, -0.24122722446918488f, -0.0006675124168395996f, - -0.2239055633544922f, -0.0723206177353859f, 0.2102394998073578f }, { - 0.036086976528167725f, -0.062024205923080444f, 0.10704237222671509f, - -0.1612134575843811f, -0.1631729155778885f, 0.1497061848640442f, - 0.03271482139825821f, 0.27597710490226746f, -0.23304778337478638f, - -0.035415440797805786f, 0.1086379662156105f, 0.07746559381484985f, - 0.13613636791706085f, 0.09150157123804092f, 0.25167548656463623f, - -0.24342824518680573f, -0.027234435081481934f, 0.19620582461357117f, - 0.44021302461624146f, -0.23242811858654022f, -0.05763920396566391f, - -0.09912444651126862f, -0.19671492278575897f, -0.33463647961616516f, - -0.40228715538978577f, -0.000608850852586329f, 0.06298207491636276f, - 0.39882805943489075f, -0.2531542181968689f, 0.24004116654396057f, - -0.30925723910331726f, -0.26930177211761475f }, { 0.1379433274269104f, - -0.16078773140907288f, 0.11784148216247559f, 0.20431241393089294f, - 0.29410573840141296f, 0.19759181141853333f, 0.09952005743980408f, - 0.1544932872056961f, 0.040603965520858765f, -0.2119520902633667f, - 0.18040086328983307f, -0.38904741406440735f, -0.046765703707933426f, - 0.13744039833545685f, -0.3137235641479492f, 0.05679671838879585f, - 0.1565159410238266f, 0.2297056019306183f, 0.032699450850486755f, - 0.20715069770812988f, -0.016263214871287346f, -0.3025153875350952f, - 0.26029130816459656f, 0.42276427149772644f, 0.2875830829143524f, - -0.12763257324695587f, -0.20330224931240082f, -0.07699788361787796f, - -0.08671019971370697f, -0.019541800022125244f, 0.4000849425792694f, - 0.17512208223342896f }, { 0.09298902750015259f, 0.2841971218585968f, - -0.0814327746629715f, -0.010091223753988743f, -0.12308911234140396f, - 0.11057800054550171f, -0.1737426221370697f, 0.20642486214637756f, - -0.2925014793872833f, 0.022429823875427246f, -0.06304851174354553f, - -0.07166500389575958f, -0.26361000537872314f, 0.050878144800662994f, - 0.189671128988266f, 0.30893731117248535f, 0.1296386420726776f, - 0.027322769165039062f, 0.29731038212776184f, 0.14744597673416138f, - 0.2998683750629425f, 0.08306887000799179f, 0.06231796741485596f, - 0.3401893973350525f, -0.004573390819132328f, 0.18759925663471222f, - -0.16945621371269226f, 0.01625938154757023f, 0.14345040917396545f, - -0.11986468732357025f, -0.21137407422065735f, 0.1280972957611084f }, { - -0.14775772392749786f, 0.29651907086372375f, 0.02990397810935974f, - -0.06818585097789764f, 0.1993788629770279f, -0.22813674807548523f, - 0.16850803792476654f, 0.24565419554710388f, -0.2325194776058197f, - -0.2458522766828537f, -0.017307782545685768f, -0.12818260490894318f, - -0.17801909148693085f, -0.2504909038543701f, 0.1731644719839096f, - 0.18156693875789642f, 0.23218704760074615f, 0.11064860224723816f, - -0.15070302784442902f, 0.10314767062664032f, 0.3309069275856018f, - -0.28518369793891907f, -0.07374785840511322f, 0.05567348375916481f, - -0.01467915065586567f, -0.3420534133911133f, -0.21914657950401306f, - 0.23488031327724457f, -0.2205982804298401f, 0.28094157576560974f, - -0.15506510436534882f, 0.07852166146039963f }, { 0.2703488767147064f, - -0.16041381657123566f, 0.12738299369812012f, -0.045484237372875214f, - 0.06815514713525772f, 0.1861400008201599f, -0.15391220152378082f, - 0.28177282214164734f, 0.1474648416042328f, -0.23766008019447327f, - 0.025048013776540756f, 0.06622862070798874f, 0.09594401717185974f, - -0.1663329154253006f, -0.10072105377912521f, -0.044219132512807846f, - -0.2531753182411194f, 0.08700510859489441f, -0.26066508889198303f, - 0.07304855436086655f, -0.13394378125667572f, 0.22174499928951263f, - -0.18301571905612946f, -0.16244065761566162f, -0.004656728822737932f, - 0.2568950057029724f, 0.15513287484645844f, -0.2911604344844818f, - 0.08541131019592285f, 0.08213254809379578f, -0.258662611246109f, - 0.04998021572828293f }, { -0.06283275783061981f, -0.26753589510917664f, - -0.10381917655467987f, -0.13344663381576538f, 0.2644997537136078f, - 0.2204643189907074f, 0.2924788296222687f, -0.17931663990020752f, - -0.09078609943389893f, -0.17306232452392578f, 0.02247890830039978f, - -0.26996222138404846f, 0.22075030207633972f, -0.3029964864253998f, - 0.21873190999031067f, -0.0030784308910369873f, 0.18228653073310852f, - 0.09971508383750916f, -0.242676243185997f, -0.1424383968114853f, - 0.19031599164009094f, 0.3004438579082489f, -0.23650792241096497f, - -0.2683113217353821f, 0.29957786202430725f, 0.08561205863952637f, - -0.1366746425628662f, -0.15950153768062592f, -0.07675467431545258f, - -0.2218506634235382f, -0.2795913517475128f, 0.1869203746318817f }, { - 0.2003176510334015f, -0.27792131900787354f, 0.055196613073349f, - -0.27959588170051575f, 0.18430876731872559f, -0.05316638946533203f, - 0.16156336665153503f, -0.18850930035114288f, 0.09482413530349731f, - 0.021483391523361206f, 0.009039878845214844f, 0.1586727499961853f, - 0.11457142233848572f, 0.2876913249492645f, -0.24802550673484802f, - 0.14089101552963257f, -0.06842575967311859f, -0.10107968747615814f, - 0.06239110231399536f, -0.2528536915779114f, -0.27538973093032837f, - 0.15457189083099365f, -0.15549622476100922f, 0.20245882868766785f, - 0.08544808626174927f, 0.22650876641273499f, -0.05268847942352295f, - 0.20387354493141174f, 0.24724552035331726f, 0.21444126963615417f, - 0.05186706781387329f, -0.11084021627902985f }, { -0.19810965657234192f, - 0.2745245397090912f, 0.1767616868019104f, 0.19752147793769836f, - 0.0650932788848877f, 0.29138168692588806f, -0.29061684012413025f, - 0.010446667671203613f, 0.025284886360168457f, -0.10202452540397644f, - -0.10358673334121704f, 0.14746251702308655f, 0.15136101841926575f, - 0.04500553011894226f, -0.2497977316379547f, -0.29277902841567993f, - 0.02556520700454712f, -0.09509801864624023f, 0.16731274127960205f, - -0.25266408920288086f, -0.3004688322544098f, -0.19769597053527832f, - -0.14847496151924133f, 0.3053832948207855f, 0.07563886046409607f, - -0.10258816182613373f, -0.060128673911094666f, 0.0016401112079620361f, - -0.29647189378738403f, -0.18869297206401825f, 0.05497395992279053f, - 0.16092956066131592f }, { -0.011267274618148804f, -0.25281068682670593f, - -0.10565309226512909f, -0.10787995159626007f, 0.23997481167316437f, - 0.011940985918045044f, 0.10584557056427002f, -0.22430141270160675f, - -0.06814777851104736f, -0.24531681835651398f, -0.07618588954210281f, - 0.12015970051288605f, 0.0185067281126976f, 0.002306112553924322f, - 0.17718534171581268f, 0.3006735146045685f, 0.1760181039571762f, - 0.04417389631271362f, 0.20160885155200958f, 0.16602091491222382f, - 0.2585296034812927f, -0.027029002085328102f, -0.2520882785320282f, - 0.29521048069000244f, 0.25318053364753723f, 0.05056742578744888f, - 0.22924767434597015f, -0.03404907137155533f, -0.18211489915847778f, - -0.15127526223659515f, 0.18461528420448303f, 0.2534249424934387f }, { - -0.10580866038799286f, -0.17215237021446228f, -0.01352420449256897f, - -0.13443149626255035f, -0.10265451669692993f, -0.2169143706560135f, - 0.30098411440849304f, -0.2986297905445099f, 0.07908004522323608f, - -0.30061498284339905f, 0.10424068570137024f, -0.018799901008605957f, - -0.18665757775306702f, 0.005998075008392334f, -0.2969498336315155f, - 0.18525955080986023f, 0.2379322350025177f, 0.15184926986694336f, - 0.215760737657547f, -0.19088758528232574f, 0.08620095252990723f, - 0.019999295473098755f, -0.0752219706773758f, 0.11181813478469849f, - 0.1881926953792572f, 0.2210972011089325f, 0.13236162066459656f, - -0.06690356135368347f, -0.18345263600349426f, -0.14861416816711426f, - 0.08577704429626465f, -0.09683996438980103f }, { 0.03951254487037659f, - 0.23604217171669006f, 0.012746036052703857f, -0.12561996281147003f, - -0.1283164620399475f, 0.25823846459388733f, 0.10610169172286987f, - 0.22718152403831482f, 0.1749366819858551f, 0.007794857025146484f, - 0.11289489269256592f, 0.2725127637386322f, -0.13616766035556793f, - -0.03546282649040222f, -0.1685536652803421f, -0.24492129683494568f, - 0.15760570764541626f, 0.017505377531051636f, -0.273531436920166f, - -0.005667984485626221f, 0.18370777368545532f, -0.023328542709350586f, - 0.2379932701587677f, -0.048420339822769165f, 0.10376441478729248f, - -0.295401930809021f, -0.20498433709144592f, 0.22346952557563782f, - -0.26649031043052673f, -0.08466874063014984f, 0.23347875475883484f, - -0.03380200266838074f }, { 0.3014208972454071f, -0.11652402579784393f, - 0.24921879172325134f, 0.16919833421707153f, -0.33012309670448303f, - -0.19414515793323517f, -0.031346261501312256f, -0.11968852579593658f, - 0.23963233828544617f, 0.21321198344230652f, -0.04236738383769989f, - -0.04909612983465195f, -0.15507397055625916f, 0.041283149272203445f, - -0.0798816904425621f, -0.16132454574108124f, -0.22342979907989502f, - 0.2487291395664215f, -0.275277704000473f, -0.1761859953403473f, - -0.1089298352599144f, 0.14958830177783966f, -0.09928475320339203f, - -0.18516667187213898f, -0.11554347723722458f, 0.2378307580947876f, - 0.042566750198602676f, -0.09927814453840256f, -0.03476092219352722f, - 0.2736774981021881f, 0.01615159772336483f, -0.08927445858716965f }, { - -0.17075178027153015f, 0.009595632553100586f, 0.2466227114200592f, - 0.033388618379831314f, -0.34659287333488464f, -0.2819134294986725f, - -0.07840541750192642f, -0.15331926941871643f, -0.2516406178474426f, - 0.012286126613616943f, 0.20758569240570068f, -0.2048848569393158f, - -0.12051127851009369f, 0.10427423566579819f, 0.0999673530459404f, - 0.028271911665797234f, -0.24087269604206085f, -0.048499464988708496f, - -0.20961162447929382f, 0.10103815048933029f, -0.2312844693660736f, - -0.22412340342998505f, -0.031352698802948f, 0.27904242277145386f, - -0.11300363391637802f, -0.16207841038703918f, -0.33752813935279846f, - 0.3786945641040802f, -0.07090267539024353f, -0.23986908793449402f, - -0.30680611729621887f, -0.0811222642660141f }, { -0.01348048448562622f, - 0.08233943581581116f, 0.18838337063789368f, 0.21852442622184753f, - -0.04740855097770691f, 0.19177213311195374f, -0.0060100555419921875f, - 0.20933791995048523f, 0.06356173753738403f, 0.063028484582901f, - 0.09440034627914429f, 0.29559019207954407f, -0.2545689642429352f, - -0.09652335941791534f, -0.2841038703918457f, -0.03553757071495056f, - 0.02329021692276001f, -0.08720272779464722f, -0.0750999003648758f, - -0.10468094050884247f, -0.03761094808578491f, -0.030853450298309326f, - 0.2112145721912384f, 0.2599640190601349f, -0.2969062626361847f, - -0.13667742908000946f, 0.24173608422279358f, 0.09566575288772583f, - 0.021116197109222412f, -0.005982398986816406f, -0.26417285203933716f, - 0.1879688799381256f }, { -0.1763739138841629f, -0.17203155159950256f, - 0.0620841383934021f, -0.04815051332116127f, -0.08886270225048065f, - -0.19284456968307495f, 0.09443464875221252f, 0.1472807228565216f, - -0.21029016375541687f, 0.2210421860218048f, -0.26095423102378845f, - 0.23557153344154358f, -0.07677116990089417f, -0.16641905903816223f, - -0.16725768148899078f, -0.2004043012857437f, 0.08218716084957123f, - -0.29308468103408813f, -0.057871971279382706f, -0.07429885864257812f, - 0.2029605507850647f, -0.19719278812408447f, -0.22302524745464325f, - 0.2192145586013794f, -0.13908077776432037f, 0.2019682675600052f, - -0.028201768174767494f, 0.08898906409740448f, 0.17976179718971252f, - -0.22928372025489807f, 0.3000858724117279f, 0.08501409739255905f }, { - -0.09888127446174622f, -0.22750279307365417f, -0.22503364086151123f, - -0.0014225258491933346f, -0.012498408555984497f, -0.24329537153244019f, - -0.09442851692438126f, 0.08175003528594971f, -0.016126900911331177f, - 0.06972584128379822f, 0.05360379442572594f, 0.22432491183280945f, - -0.031845152378082275f, -0.2877633273601532f, 0.18349257111549377f, - 0.19327174127101898f, -0.09216172993183136f, 0.04617339372634888f, - -0.09483018517494202f, -0.07904840260744095f, -0.035641368478536606f, - -0.2887636721134186f, -0.06047184765338898f, -0.3070217967033386f, - 4.397468364913948e-05f, -0.19100867211818695f, 0.28239238262176514f, - -0.2758784890174866f, -0.16326025128364563f, 0.11664235591888428f, - -0.03823475539684296f, 0.11660117655992508f }, - +const float h2[32][32] = { + {-0.15789742767810822f,-0.10295046865940094f,-0.04925942420959473f,0.02427169866859913f,-0.3309780955314636f,0.2625422775745392f,-0.07511543482542038f,-0.12313280999660492f,-0.30411389470100403f,-0.10008957982063293f,0.09728801995515823f,-0.33915191888809204f,0.039246782660484314f,0.2781885862350464f,-0.048781245946884155f,-1.3332239389419556f,0.07803884148597717f,-1.1428231000900269f,-0.08379222452640533f,-0.005277924705296755f,-0.6905635595321655f,-0.2655806541442871f,-0.23983746767044067f,-0.28387096524238586f,-0.34077632427215576f,0.05632379651069641f,-0.3915008008480072f,-0.728499710559845f,0.23828622698783875f,0.11771553754806519f,-0.2606334388256073f,-0.1630079448223114f}, +{-0.16369810700416565f,0.002147972583770752f,-0.04321768879890442f,0.20987394452095032f,0.019099578261375427f,-0.04193764552474022f,-0.18412554264068604f,-0.1351664513349533f,0.24677053093910217f,0.048597872257232666f,0.17539569735527039f,0.12578506767749786f,0.20868071913719177f,-0.4673871099948883f,0.1197722852230072f,-0.020373206585645676f,0.056778669357299805f,-0.7362931370735168f,-0.2244773954153061f,0.26173046231269836f,0.07969770580530167f,0.10356134176254272f,-0.16832955181598663f,0.24518683552742004f,0.01879107765853405f,0.11049672961235046f,-0.022610308602452278f,0.2533881664276123f,-0.28620439767837524f,-0.0511949360370636f,0.14506122469902039f,-0.07415058463811874f}, +{-0.1579037755727768f,0.28447648882865906f,-0.1789936125278473f,0.20799604058265686f,0.025723248720169067f,0.17740526795387268f,-0.1666354387998581f,-0.06060470640659332f,-0.017253071069717407f,-0.2790656089782715f,-0.16800916194915771f,-0.2990717589855194f,0.07126197218894958f,-0.08032660186290741f,-0.1799015998840332f,-0.1891922950744629f,0.2556300461292267f,0.2080206573009491f,-0.24888339638710022f,0.27691522240638733f,-0.21319638192653656f,-0.14012537896633148f,-0.30466505885124207f,-0.013728171586990356f,-0.1629670113325119f,0.2530798614025116f,0.0633285641670227f,0.0011726915836334229f,-0.14820529520511627f,0.2823629677295685f,0.10884168744087219f,-0.2637729346752167f}, +{-0.16211992502212524f,-0.01806354522705078f,-0.23058539628982544f,0.016176925972104073f,-0.36758074164390564f,-0.2103232741355896f,0.4789067804813385f,0.05088663846254349f,-0.06944303214550018f,0.09271347522735596f,0.28064244985580444f,-0.39364251494407654f,-0.22692131996154785f,0.22431465983390808f,-0.6308612823486328f,-0.4144154489040375f,0.10996055603027344f,0.009937502443790436f,0.14824721217155457f,-0.08365598320960999f,-0.2476825714111328f,-0.23250339925289154f,-0.06394433975219727f,-0.20854580402374268f,0.3123001158237457f,-0.6159867644309998f,0.20684100687503815f,-0.5377008318901062f,-0.22396358847618103f,0.2546447217464447f,0.0035619325935840607f,0.7030656337738037f}, +{-0.21776385605335236f,0.2506926953792572f,-0.0804666131734848f,0.03153757378458977f,0.022613627836108208f,-0.2632860243320465f,-0.35431790351867676f,0.008866352029144764f,0.043158918619155884f,-0.2690317630767822f,-0.14150169491767883f,-0.374968022108078f,-0.3281933069229126f,-0.42655467987060547f,-0.18895938992500305f,-0.55921870470047f,-0.10307048261165619f,0.11283401399850845f,-0.05229299142956734f,-0.15150074660778046f,0.06649138033390045f,0.024612629786133766f,0.19172045588493347f,-0.31139934062957764f,-0.4171607196331024f,0.19551879167556763f,0.1652800589799881f,0.07979424297809601f,0.2695164978504181f,-0.16498444974422455f,-0.021313229575753212f,-0.07629286497831345f}, +{-0.19425427913665771f,-0.004258692264556885f,0.032371193170547485f,-0.3124158978462219f,-0.21592268347740173f,-0.32674968242645264f,0.2015109658241272f,-0.2202046811580658f,-0.03548547625541687f,0.08825305104255676f,-0.12026015669107437f,0.19926147162914276f,-0.30970871448516846f,0.23186630010604858f,-0.36023351550102234f,-0.14563152194023132f,0.2371552288532257f,0.2082187384366989f,0.27887171506881714f,0.2256462275981903f,-0.004931911826133728f,0.1657554805278778f,-0.1307595670223236f,-0.11585996299982071f,0.18855340778827667f,-0.3826330006122589f,0.16525451838970184f,-0.11980683356523514f,0.05800282955169678f,-0.26823562383651733f,0.1340862363576889f,0.15243633091449738f}, +{-0.23734791576862335f,-0.1279313862323761f,-0.11171227693557739f,0.2570078372955322f,-0.2643128037452698f,0.25971919298171997f,-0.19050557911396027f,-0.16186389327049255f,-0.26620519161224365f,0.17144301533699036f,-0.20425355434417725f,-1.4636048078536987f,0.2813534736633301f,0.0029944570269435644f,2.1065120697021484f,0.8487206101417542f,-0.16153597831726074f,0.26067855954170227f,0.005116086453199387f,1.9137510061264038f,1.2921271324157715f,-0.037859927862882614f,-0.07988794147968292f,0.026534322649240494f,-0.26978933811187744f,0.5350269079208374f,0.6667125821113586f,-3.922419309616089f,-0.11822041869163513f,0.19546762108802795f,-0.23295406997203827f,0.39758747816085815f}, +{0.25867950916290283f,0.11346611380577087f,0.04012581706047058f,0.008744821883738041f,0.22156041860580444f,-0.07410173863172531f,0.010253120213747025f,0.015882238745689392f,0.2864855229854584f,0.01006925106048584f,-0.06536224484443665f,-0.23000890016555786f,-0.09209762513637543f,-0.12586218118667603f,-0.5601587295532227f,-0.8569194674491882f,-0.2721019387245178f,0.292599618434906f,0.2273714244365692f,-0.7375689148902893f,0.13290464878082275f,0.03271213173866272f,-0.07979777455329895f,0.23633572459220886f,-0.013516108505427837f,0.001281818258576095f,0.3719692826271057f,-0.1842835545539856f,-0.14135785400867462f,0.07403197884559631f,0.13239671289920807f,0.2253207117319107f}, +{0.2539409101009369f,0.2890130579471588f,-0.021617114543914795f,0.10094909369945526f,0.2422485202550888f,0.048812851309776306f,-0.3630330562591553f,-0.2351820170879364f,0.29470762610435486f,-0.06864601373672485f,-0.33530402183532715f,-0.37237250804901123f,0.24146446585655212f,-0.19978517293930054f,0.16438758373260498f,0.547096848487854f,0.046292245388031006f,0.07754945755004883f,0.2583274841308594f,-0.9994243383407593f,0.1643972545862198f,0.03415673226118088f,0.28743305802345276f,-0.00602338882163167f,0.025531986728310585f,-0.07598508149385452f,-0.01092247199267149f,-0.16599947214126587f,0.2501918375492096f,-0.14010676741600037f,-0.27732717990875244f,-0.24542571604251862f}, +{0.2615049183368683f,0.08643358945846558f,-0.29237738251686096f,-0.21275001764297485f,0.15896368026733398f,-0.0771239846944809f,0.17826680839061737f,-0.15540927648544312f,0.18755429983139038f,-0.07031691074371338f,-0.05704077333211899f,-0.07891639322042465f,0.12828806042671204f,0.023495450615882874f,-0.10919437557458878f,0.15277521312236786f,-0.015168905258178711f,-0.3087019622325897f,-0.2701331079006195f,-0.263889342546463f,0.14209482073783875f,0.1012502908706665f,-0.2307620644569397f,0.06770320236682892f,0.014959282241761684f,-0.2128390669822693f,0.18836741149425507f,0.06113395094871521f,0.2113950550556183f,0.0796298086643219f,-0.0010054409503936768f,-0.261382520198822f}, +{0.16485314071178436f,0.1956864297389984f,-0.033508092164993286f,-0.26639455556869507f,-0.34537649154663086f,0.021641232073307037f,-0.4067543148994446f,0.04540411755442619f,-0.17670965194702148f,0.17403557896614075f,-0.3332591950893402f,0.0920296236872673f,-0.12011422216892242f,-0.13247939944267273f,0.15030546486377716f,-0.6020031571388245f,0.03990337252616882f,-0.15754885971546173f,0.09520146995782852f,-0.1138940081000328f,-0.1437448263168335f,0.08852394670248032f,0.07470300793647766f,0.21840333938598633f,-0.6091359853744507f,0.2033311128616333f,-0.18447329103946686f,-0.36350181698799133f,0.13817378878593445f,0.17853263020515442f,-0.04912722483277321f,-0.07184508442878723f}, +{-0.276756227016449f,-0.09556084871292114f,0.12328919768333435f,0.0523153692483902f,-0.39632028341293335f,0.21103641390800476f,-0.34435954689979553f,-0.14541661739349365f,0.17735600471496582f,0.009893029928207397f,0.22716842591762543f,0.129820317029953f,-0.14130257070064545f,-0.3772110044956207f,0.22669744491577148f,-0.06111280620098114f,0.009990394115447998f,0.04171628877520561f,0.22105933725833893f,0.15490561723709106f,-0.08622822910547256f,-0.1046934574842453f,0.09996896982192993f,0.0052592139691114426f,-0.2729572355747223f,0.05442296713590622f,0.010474600829184055f,0.15220622718334198f,-0.288028746843338f,-0.2434448003768921f,0.14387860894203186f,0.22230251133441925f}, +{-0.08816954493522644f,0.2728963792324066f,-0.07170480489730835f,0.1482785940170288f,0.07727676630020142f,0.20119628310203552f,0.03849402070045471f,0.02873826026916504f,-0.15294449031352997f,-0.038666754961013794f,-0.1574239432811737f,0.27019134163856506f,0.1312139928340912f,-0.26498496532440186f,0.1620480716228485f,0.12264445424079895f,0.023397088050842285f,0.21900424361228943f,0.25839516520500183f,0.2068612277507782f,-0.29656288027763367f,0.045920878648757935f,-0.19714993238449097f,0.22523340582847595f,0.07844719290733337f,0.22350957989692688f,-0.04062908887863159f,-0.26378923654556274f,0.18573936820030212f,0.15478622913360596f,0.013760745525360107f,0.010002970695495605f}, +{0.14700931310653687f,0.1833711564540863f,-0.0858893096446991f,0.05376690253615379f,-0.25116482377052307f,0.2733006179332733f,0.616862416267395f,-0.16134384274482727f,0.000652611255645752f,-0.22920364141464233f,0.4397837519645691f,-0.10323379188776016f,0.22982220351696014f,0.7219095826148987f,0.10845161229372025f,-0.4085569679737091f,-0.07963520288467407f,-0.016639666631817818f,-2.855013132095337f,1.4770333766937256f,-0.4170447885990143f,0.18475067615509033f,-0.2228696048259735f,-0.025659818202257156f,0.07647764682769775f,-0.5626823902130127f,-0.9380472302436829f,0.1451820731163025f,-0.011228948831558228f,0.26896968483924866f,-0.28556761145591736f,-0.0975443497300148f}, +{-0.23982827365398407f,0.03880670666694641f,-0.013682037591934204f,-0.11685100197792053f,-0.020662933588027954f,0.30190005898475647f,-0.14934301376342773f,-0.15993990004062653f,0.1152651309967041f,-0.11991468071937561f,-0.15497799217700958f,0.11116543412208557f,-0.2045515924692154f,0.2403949797153473f,-0.21275603771209717f,0.05732181668281555f,-0.2770107090473175f,0.088544100522995f,0.19012078642845154f,-0.07119561731815338f,-0.18914666771888733f,-0.10413256287574768f,-0.16050675511360168f,0.11598068475723267f,-0.03151249885559082f,-0.1937510371208191f,0.18474078178405762f,0.19502457976341248f,0.22045472264289856f,-0.29474368691444397f,0.09864541888237f,0.06054645776748657f}, +{-0.1933428794145584f,0.1317739188671112f,0.03260180354118347f,-0.2179921269416809f,-0.08091507852077484f,-0.22807994484901428f,-0.22678741812705994f,0.1038196012377739f,0.05445769429206848f,0.07657262682914734f,-0.1997295320034027f,-0.3779059648513794f,0.13914218544960022f,-0.15764181315898895f,-0.03628018498420715f,-0.3727618157863617f,-0.25386664271354675f,-0.18937630951404572f,-0.132919579744339f,-0.35168135166168213f,-0.13643017411231995f,-0.15034843981266022f,-0.3044300675392151f,0.2099861353635788f,-0.19237396121025085f,0.12899406254291534f,0.26942041516304016f,-0.5215796232223511f,-0.0006675124168395996f,-0.2239055633544922f,-0.06182236224412918f,0.3648865520954132f}, +{0.003377701621502638f,-0.062024205923080444f,0.10704237222671509f,-0.173600435256958f,-0.10311268270015717f,0.13106171786785126f,-0.04082702472805977f,0.27322712540626526f,-0.23304778337478638f,-0.035415440797805786f,-0.18674887716770172f,-0.2658703625202179f,0.17716765403747559f,-0.26335322856903076f,-0.24061410129070282f,-0.0670233964920044f,-0.027234435081481934f,0.15468381345272064f,0.39823445677757263f,-1.344635248184204f,-0.19344455003738403f,-0.09210354834794998f,-0.19671492278575897f,-0.31504860520362854f,-0.28104209899902344f,-0.024750638753175735f,0.22694247961044312f,-0.0659618005156517f,-0.2531542181968689f,0.24004116654396057f,-0.2505103647708893f,0.014428245835006237f}, +{0.10417362302541733f,-0.16078773140907288f,0.11784148216247559f,0.25049132108688354f,0.23944823443889618f,0.17158514261245728f,0.637255072593689f,0.19546358287334442f,0.040603965520858765f,-0.2119520902633667f,0.839573860168457f,-0.43544328212738037f,-0.07898660004138947f,0.39737945795059204f,0.35793185234069824f,0.16372835636138916f,0.18204066157341003f,0.31318214535713196f,-0.48514193296432495f,1.6319140195846558f,-0.452179878950119f,-0.32452133297920227f,0.26029130816459656f,0.048208460211753845f,0.21805478632450104f,-0.3413979709148407f,-0.5302722454071045f,0.16525809466838837f,-0.08671019971370697f,-0.019541800022125244f,0.274711012840271f,0.1581207662820816f}, +{0.0573292151093483f,0.2841971218585968f,-0.0814327746629715f,-0.02049749158322811f,0.04095759242773056f,0.0875282883644104f,-0.586379885673523f,0.2595977187156677f,-0.2925014793872833f,0.022429823875427246f,-0.7414460182189941f,-0.10722576826810837f,-0.2097223699092865f,-0.4475327432155609f,0.15800122916698456f,0.1385146677494049f,0.1296386420726776f,0.2004876732826233f,0.4598502218723297f,-0.9527428150177002f,0.6063380241394043f,0.08761540800333023f,0.06231796741485596f,0.13851206004619598f,-0.32260265946388245f,0.4560135006904602f,0.12333875149488449f,0.20624111592769623f,0.14345040917396545f,-0.11986468732357025f,-0.22796882688999176f,-0.09410763531923294f}, +{-0.12615902721881866f,0.29651907086372375f,0.02990397810935974f,-0.07365071773529053f,-0.16989107429981232f,-0.2611929178237915f,0.22346898913383484f,0.16549158096313477f,-0.2325194776058197f,-0.2458522766828537f,-0.02328617125749588f,-0.05800141021609306f,-0.25158706307411194f,-0.3273783326148987f,0.2659609913825989f,0.22061185538768768f,0.2577105462551117f,0.036843568086624146f,-0.13256382942199707f,0.07302801311016083f,0.3026500940322876f,-0.31398072838783264f,-0.07374785840511322f,-0.024998260661959648f,-0.14720046520233154f,-0.3830925524234772f,-0.35042843222618103f,0.3767944872379303f,-0.2205982804298401f,0.28094157576560974f,-0.22566641867160797f,-0.10086707770824432f}, +{0.2703488767147064f,-0.16041381657123566f,0.12738299369812012f,-0.03611093759536743f,0.1169431209564209f,0.1861400008201599f,-0.1765512377023697f,0.28177282214164734f,0.1474648416042328f,-0.23766008019447327f,-0.005803406238555908f,0.08728843927383423f,0.09594401717185974f,-0.17028304934501648f,-0.16805587708950043f,-0.058941617608070374f,-0.22846683859825134f,0.08700510859489441f,-0.2656046748161316f,0.07154610753059387f,-0.1559111475944519f,0.22832396626472473f,-0.18301571905612946f,-0.17816279828548431f,-0.04200500249862671f,0.2835671007633209f,0.1830621361732483f,-0.26011598110198975f,0.08541131019592285f,0.08213254809379578f,-0.29332536458969116f,0.08477649092674255f}, +{-0.06283275783061981f,-0.26753589510917664f,-0.10381917655467987f,-0.13344663381576538f,0.2644997537136078f,0.2204643189907074f,0.2924788296222687f,-0.17931663990020752f,-0.09078609943389893f,-0.17306232452392578f,0.02247890830039978f,-0.26996222138404846f,0.22075030207633972f,-0.3029964864253998f,0.21873190999031067f,-0.0030784308910369873f,0.18228653073310852f,0.09971508383750916f,-0.242676243185997f,-0.1424383968114853f,0.19031599164009094f,0.3004438579082489f,-0.23650792241096497f,-0.2683113217353821f,0.29957786202430725f,0.08561205863952637f,-0.1366746425628662f,-0.15950153768062592f,-0.07675467431545258f,-0.2218506634235382f,-0.2795913517475128f,0.1869203746318817f}, +{0.2003176510334015f,-0.27792131900787354f,0.055196613073349f,-0.27959588170051575f,0.18430876731872559f,-0.05316638946533203f,0.16156336665153503f,-0.18850930035114288f,0.09482413530349731f,0.021483391523361206f,0.009039878845214844f,0.1586727499961853f,0.11457142233848572f,0.2876913249492645f,-0.24802550673484802f,0.14089101552963257f,-0.06842575967311859f,-0.10107968747615814f,0.06239110231399536f,-0.2528536915779114f,-0.27538973093032837f,0.15457189083099365f,-0.15549622476100922f,0.20245882868766785f,0.08544808626174927f,0.22650876641273499f,-0.05268847942352295f,0.20387354493141174f,0.24724552035331726f,0.21444126963615417f,0.05186706781387329f,-0.11084021627902985f}, +{-0.19810965657234192f,0.2745245397090912f,0.1767616868019104f,0.19752147793769836f,0.0650932788848877f,0.29138168692588806f,-0.29061684012413025f,0.010446667671203613f,0.025284886360168457f,-0.10202452540397644f,-0.10358673334121704f,0.14746251702308655f,0.15136101841926575f,0.04500553011894226f,-0.2497977316379547f,-0.29277902841567993f,0.02556520700454712f,-0.09509801864624023f,0.16731274127960205f,-0.25266408920288086f,-0.3004688322544098f,-0.19769597053527832f,-0.14847496151924133f,0.3053832948207855f,0.07563886046409607f,-0.10258816182613373f,-0.060128673911094666f,0.0016401112079620361f,-0.29647189378738403f,-0.18869297206401825f,0.05497395992279053f,0.16092956066131592f}, +{-0.04054148495197296f,-0.25281068682670593f,-0.10565309226512909f,-0.10217760503292084f,0.22124066948890686f,-0.016669882461428642f,0.13439533114433289f,-0.21625643968582153f,-0.06814777851104736f,-0.24531681835651398f,-0.10867110639810562f,0.11354860663414001f,-0.012470155954360962f,-0.04834315553307533f,0.2917248010635376f,0.28058484196662903f,0.2015441358089447f,0.05478575825691223f,0.21876852214336395f,0.013968605548143387f,0.1980237513780594f,-0.043646570295095444f,-0.2520882785320282f,0.2706727981567383f,0.23897342383861542f,0.01417838130146265f,0.21818359196186066f,-0.017171617597341537f,-0.18211489915847778f,-0.15127526223659515f,0.16965459287166595f,0.3860800564289093f}, +{-0.10580866038799286f,-0.17215237021446228f,-0.01352420449256897f,-0.13443149626255035f,-0.10265451669692993f,-0.2169143706560135f,0.30098411440849304f,-0.2986297905445099f,0.07908004522323608f,-0.30061498284339905f,0.10424068570137024f,-0.018799901008605957f,-0.18665757775306702f,0.005998075008392334f,-0.2969498336315155f,0.18525955080986023f,0.2379322350025177f,0.15184926986694336f,0.215760737657547f,-0.19088758528232574f,0.08620095252990723f,0.019999295473098755f,-0.0752219706773758f,0.11181813478469849f,0.1881926953792572f,0.2210972011089325f,0.13236162066459656f,-0.06690356135368347f,-0.18345263600349426f,-0.14861416816711426f,0.08577704429626465f,-0.09683996438980103f}, +{0.03951254487037659f,0.23604217171669006f,0.012746036052703857f,-0.12561996281147003f,-0.1283164620399475f,0.25823846459388733f,0.10610169172286987f,0.22718152403831482f,0.1749366819858551f,0.007794857025146484f,0.11289489269256592f,0.2725127637386322f,-0.13616766035556793f,-0.03546282649040222f,-0.1685536652803421f,-0.24492129683494568f,0.15760570764541626f,0.017505377531051636f,-0.273531436920166f,-0.005667984485626221f,0.18370777368545532f,-0.023328542709350586f,0.2379932701587677f,-0.048420339822769165f,0.10376441478729248f,-0.295401930809021f,-0.20498433709144592f,0.22346952557563782f,-0.26649031043052673f,-0.08466874063014984f,0.23347875475883484f,-0.03380200266838074f}, +{0.27614301443099976f,-0.11652402579784393f,0.24921879172325134f,0.16725529730319977f,-0.3529522716999054f,-0.22624388337135315f,-0.36159390211105347f,-0.13561266660690308f,0.23963233828544617f,0.21321198344230652f,-0.18729792535305023f,-0.0984758511185646f,-0.19942539930343628f,-0.2174971103668213f,0.14457453787326813f,-0.7122411727905273f,-0.19791248440742493f,0.17975574731826782f,-0.2993890345096588f,-0.2912631928920746f,-0.2584984302520752f,0.1050725057721138f,-0.09928475320339203f,-0.26327425241470337f,-0.5602705478668213f,0.3993833065032959f,0.024057770147919655f,-0.19004622101783752f,-0.03476092219352722f,0.2736774981021881f,-0.03050028160214424f,-0.3570877015590668f}, +{-0.17075178027153015f,0.009595632553100586f,0.2466227114200592f,0.05140487849712372f,-0.31388768553733826f,-0.30789920687675476f,-0.0075945379212498665f,-0.3187141418457031f,-0.2516406178474426f,0.012286126613616943f,0.2726706266403198f,-0.3966335654258728f,-0.13968390226364136f,-0.14732563495635986f,-0.0496971495449543f,-0.03776009753346443f,-0.24087269604206085f,0.06394801288843155f,-0.2768625319004059f,0.1040387749671936f,-0.19509759545326233f,-0.2569916546344757f,-0.031352698802948f,0.21324186027050018f,-0.19018572568893433f,-0.30967268347740173f,-0.23032434284687042f,0.1440102756023407f,-0.07090267539024353f,-0.23986908793449402f,-0.27214351296424866f,-0.22093108296394348f}, +{-0.01348048448562622f,0.08233943581581116f,0.18838337063789368f,0.21852442622184753f,-0.04740855097770691f,0.19177213311195374f,-0.0060100555419921875f,0.20933791995048523f,0.06356173753738403f,0.063028484582901f,0.09440034627914429f,0.29559019207954407f,-0.2545689642429352f,-0.09652335941791534f,-0.2841038703918457f,-0.03553757071495056f,0.02329021692276001f,-0.08720272779464722f,-0.0750999003648758f,-0.10468094050884247f,-0.03761094808578491f,-0.030853450298309326f,0.2112145721912384f,0.2599640190601349f,-0.2969062626361847f,-0.13667742908000946f,0.24173608422279358f,0.09566575288772583f,0.021116197109222412f,-0.005982398986816406f,-0.26417285203933716f,0.1879688799381256f}, +{-0.20768442749977112f,-0.17203155159950256f,0.0620841383934021f,-0.04785560816526413f,-0.09897751361131668f,-0.22745193541049957f,0.009043784812092781f,0.15261369943618774f,-0.21029016375541687f,0.2210421860218048f,-0.3253668248653412f,0.04599811136722565f,-0.16073621809482574f,-0.30910927057266235f,-0.3284757733345032f,-0.4673096537590027f,0.10771593451499939f,-0.3263266384601593f,-0.031224608421325684f,-0.2612304091453552f,0.12845292687416077f,-0.24405217170715332f,-0.22302524745464325f,0.10563395917415619f,-0.3808150887489319f,0.24485471844673157f,0.05545651540160179f,-0.16324345767498016f,0.17976179718971252f,-0.22928372025489807f,0.26136064529418945f,0.24002698063850403f}, +{-0.09888127446174622f,-0.22750279307365417f,-0.22503364086151123f,-0.008032619953155518f,-0.012498408555984497f,-0.24329537153244019f,-0.07913157343864441f,0.08175003528594971f,-0.016126900911331177f,0.06972584128379822f,0.06827792525291443f,0.2120952308177948f,-0.031845152378082275f,-0.30540701746940613f,0.18349257111549377f,0.20412376523017883f,-0.09216172993183136f,0.04617339372634888f,-0.09483018517494202f,-0.06833663582801819f,-0.026390254497528076f,-0.28567367792129517f,-0.06047184765338898f,-0.28923499584198f,0.01265987753868103f,-0.2029699683189392f,0.29187360405921936f,-0.2903735339641571f,-0.16326025128364563f,0.11664235591888428f,-0.02675291895866394f,0.1267804503440857f}, }; -const float hout[32] = { 0.3285340666770935f, 0.2858171761035919f, - -0.36366742849349976f, -0.2632009983062744f, -0.25631460547447205f, - 0.33468252420425415f, 0.002162247896194458f, 0.1081397533416748f, - -0.19566167891025543f, -0.007266071625053883f, 0.1744336485862732f, - -0.19491273164749146f, -0.16939763724803925f, 0.1573415994644165f, - 0.2356991171836853f, -0.1462659239768982f, 0.09851181507110596f, - -0.21499931812286377f, -0.013007339090108871f, -0.26934152841567993f, - -0.10125408321619034f, 0.16949352622032166f, -0.2570975124835968f, - -0.21437735855579376f, 0.2278641164302826f, 0.2520971894264221f, - -0.38587644696235657f, -0.3990364372730255f, 0.24998146295547485f, - -0.3257754445075989f, -0.41329723596572876f, -0.26551106572151184f }; - -const float b1[32] = { 0.6920363306999207f, 0.9509658217430115f, - -1.7145336866378784f, 0.4119643270969391f, 1.0741286277770996f, - 0.8546265363693237f, -0.07467586547136307f, 0.93145751953125f, - 0.5193935036659241f, -0.8871728777885437f, 0.593039333820343f, - 1.6031073331832886f, -0.33494266867637634f, -0.8010779023170471f, - -1.087764859199524f, 1.1554406881332397f, 0.6632958650588989f, - -0.224932461977005f, 0.26702749729156494f, 0.5859951972961426f, - -0.31409698724746704f, -1.1118980646133423f, -1.6770726442337036f, - -1.2263047695159912f, 2.018333911895752f, -2.0880801677703857f, - -1.0489267110824585f, 0.7445360422134399f, 0.4031659960746765f, - -1.0887231826782227f, 1.5438745021820068f, -0.4563482999801636f }; +const float h3[32][32] = { + {-0.2551194727420807f,-0.09101890027523041f,-0.039938222616910934f,-0.2297012358903885f,-0.04914749786257744f,-0.05839472636580467f,0.23563924431800842f,0.21467849612236023f,-0.14446713030338287f,0.034586966037750244f,-0.08393588662147522f,0.28293344378471375f,0.10058467835187912f,0.13426963984966278f,-0.2476848065853119f,0.13452908396720886f,0.033751994371414185f,0.2061004936695099f,0.004610735457390547f,-0.047270745038986206f,-0.06896747648715973f,-0.030367758125066757f,-0.1638459414243698f,0.044178664684295654f,0.1966625303030014f,-0.1258748173713684f,0.3543202579021454f,-0.16248615086078644f,0.08456003665924072f,0.2922307550907135f,-0.21407078206539154f,-0.119477279484272f}, +{0.05588451027870178f,0.19731858372688293f,-0.055143773555755615f,0.030042022466659546f,-0.13887283205986023f,-0.1361943781375885f,-0.2855546772480011f,0.011247634887695312f,0.1085631251335144f,0.021339505910873413f,0.17599248886108398f,0.09762296080589294f,-0.05771490931510925f,-0.14660483598709106f,-0.21469902992248535f,0.03876742720603943f,-0.21865856647491455f,-0.12651903927326202f,0.22753819823265076f,-0.23926785588264465f,-0.14443452656269073f,0.06739777326583862f,0.14157342910766602f,0.049514561891555786f,-0.1251431256532669f,-0.25851932168006897f,0.0932874083518982f,0.2900666892528534f,-0.023782014846801758f,0.050485759973526f,0.09447437524795532f,0.0058679282665252686f}, +{-0.2800689935684204f,-0.038760632276535034f,0.13974270224571228f,0.01585569977760315f,0.11945047974586487f,-0.19458696246147156f,0.11322265863418579f,0.25643888115882874f,-0.061097174882888794f,-0.07816044986248016f,-0.07445238530635834f,-0.22145158052444458f,-0.1081896424293518f,-0.09452249109745026f,0.16234496235847473f,0.1413259506225586f,-0.2648085951805115f,-0.054869145154953f,-0.05491623282432556f,0.17325228452682495f,0.23639705777168274f,0.0748760998249054f,-0.1324603259563446f,0.15828460454940796f,-0.22871175408363342f,-0.027338534593582153f,-0.06307074427604675f,0.13438841700553894f,0.13834497332572937f,0.1633671224117279f,0.259930282831192f,-0.21565306186676025f}, +{0.2906629145145416f,0.16674396395683289f,-0.2048129439353943f,0.24708573520183563f,0.09334155172109604f,-0.05046384781599045f,-0.061309605836868286f,-0.17915479838848114f,-0.030297284945845604f,-0.044261813163757324f,-0.09506386518478394f,0.24970653653144836f,0.140608549118042f,0.07934696972370148f,0.22106656432151794f,-0.23978039622306824f,-0.28915077447891235f,0.030949801206588745f,-0.28344714641571045f,0.17508044838905334f,0.23260188102722168f,-0.02717127837240696f,-0.18165703117847443f,-0.2539325952529907f,0.2068878710269928f,-0.11024686694145203f,-0.11684871464967728f,-0.008553821593523026f,-0.21804101765155792f,-0.25852420926094055f,0.05653107166290283f,-0.012144584208726883f}, +{0.07563930749893188f,-0.0864691436290741f,-0.25957009196281433f,0.14710086584091187f,-0.2755613625049591f,-0.0486634224653244f,-0.17751117050647736f,0.2470131814479828f,-0.3877350091934204f,-0.2740214169025421f,0.48606789112091064f,-0.24627932906150818f,-0.2334918975830078f,-0.08405673503875732f,0.06802645325660706f,-0.048776447772979736f,0.20131775736808777f,-0.017045116052031517f,0.1065007895231247f,0.1723131686449051f,-0.12130393087863922f,0.28655827045440674f,0.09938116371631622f,0.11342830955982208f,-0.12671566009521484f,0.12758469581604004f,0.2596653401851654f,-0.276505708694458f,0.17249789834022522f,-0.09959287941455841f,-0.07189898192882538f,-0.06464556604623795f}, +{0.10931676626205444f,0.2396949827671051f,0.12925085425376892f,-0.031216295436024666f,-0.11903928220272064f,0.11186975240707397f,-0.0620582215487957f,0.04091137647628784f,-0.0005325245438143611f,-0.15699732303619385f,0.08972057700157166f,-0.21529507637023926f,-0.028432423248887062f,-0.12350860238075256f,0.2971965968608856f,0.25175121426582336f,-0.2889891266822815f,-0.13035915791988373f,0.15943540632724762f,0.034403007477521896f,0.0786113515496254f,-0.2286425083875656f,-0.01647675596177578f,0.27409639954566956f,-0.11409469693899155f,-0.18302330374717712f,0.051028646528720856f,-0.008777839131653309f,-0.27729424834251404f,-0.29547566175460815f,-0.25800079107284546f,0.21303775906562805f}, +{-0.21155381202697754f,0.4169614017009735f,-0.149305060505867f,-0.13649512827396393f,-0.0040439944714307785f,0.16310036182403564f,-0.11482425779104233f,0.2226138561964035f,0.06895330548286438f,-1.709801435470581f,0.05974118411540985f,-0.25618287920951843f,-0.054692342877388f,-0.1533658504486084f,0.25543639063835144f,-0.1192857176065445f,-0.18917083740234375f,-0.019574562087655067f,-0.444706529378891f,-0.020779341459274292f,0.009562673978507519f,-0.11819368600845337f,0.05895781144499779f,-0.11636392772197723f,-0.2627762258052826f,-0.2910519242286682f,-0.22418221831321716f,-0.32023555040359497f,0.23576414585113525f,-0.09532724320888519f,0.26950082182884216f,0.11913502961397171f}, +{-0.01093912124633789f,-0.23583689332008362f,0.26154714822769165f,0.3012233376502991f,0.14452683925628662f,-0.3326735496520996f,0.036741942167282104f,-0.0059101879596710205f,-0.18442028760910034f,-0.27182313799858093f,0.09319102764129639f,-0.08139897882938385f,0.259794145822525f,-0.08187927305698395f,0.0685860812664032f,-0.29903873801231384f,0.1317853033542633f,0.20550194382667542f,-0.06596825271844864f,-0.2777772843837738f,0.30158787965774536f,0.055962659418582916f,0.09796766936779022f,0.131951704621315f,-0.030015112832188606f,0.23886635899543762f,-0.21418654918670654f,0.20126910507678986f,0.28547611832618713f,0.17161712050437927f,-0.017215043306350708f,0.0029450233560055494f}, +{-0.20420776307582855f,0.1970202624797821f,0.23591408133506775f,-0.282694011926651f,0.09019026160240173f,0.20012763142585754f,0.028453975915908813f,0.23323127627372742f,0.15246456861495972f,-0.1270071268081665f,0.20025727152824402f,0.13077861070632935f,-0.2238168716430664f,-0.20709244906902313f,-0.0045506954193115234f,-0.16448761522769928f,0.28163614869117737f,0.1971360743045807f,0.30405697226524353f,-0.28959211707115173f,-0.2255709171295166f,0.15360668301582336f,0.24163606762886047f,0.19554737210273743f,-0.1804599016904831f,0.07604315876960754f,-0.1459394246339798f,-0.14081311225891113f,-0.29656586050987244f,0.19529584050178528f,-0.05168652534484863f,-0.03415781259536743f}, +{0.27550336718559265f,-0.14170598983764648f,-0.21542268991470337f,-0.2159879207611084f,0.06500789523124695f,-0.21155211329460144f,-0.01575431227684021f,0.0617731511592865f,0.13126209378242493f,-0.04922589659690857f,-0.23877641558647156f,-0.06292802095413208f,0.01433342695236206f,0.14592674374580383f,-0.23886999487876892f,0.08878573775291443f,0.1853090226650238f,-0.05102238059043884f,-0.13667166233062744f,-0.24401302635669708f,0.25155118107795715f,-0.20339438319206238f,0.03535670042037964f,0.048473477363586426f,-0.13871997594833374f,-0.15382859110832214f,-0.13837768137454987f,0.26085415482521057f,0.2491457164287567f,0.157204270362854f,0.14108964800834656f,0.12518465518951416f}, +{-0.023678362369537354f,0.3512638509273529f,-0.14722158014774323f,-0.0392800010740757f,0.0885668620467186f,0.0946878045797348f,0.022257043048739433f,0.1716238558292389f,-0.11324318498373032f,0.10974260419607162f,-0.08888526260852814f,-0.06168833374977112f,-0.21815425157546997f,-0.14588837325572968f,0.080221027135849f,-0.2471318244934082f,0.026521950960159302f,0.25768426060676575f,0.29860830307006836f,-0.22593867778778076f,-0.2529640793800354f,0.002077224664390087f,0.2273881733417511f,0.4108573794364929f,0.15727099776268005f,-0.25962090492248535f,-0.008949966169893742f,0.09106230735778809f,0.21897625923156738f,-0.2912617325782776f,-0.28352323174476624f,-0.4088878631591797f}, +{0.2680447995662689f,0.001469396986067295f,-0.32541656494140625f,-0.18059521913528442f,0.04238729178905487f,0.11937148123979568f,0.16909809410572052f,-0.2018170952796936f,0.2060541808605194f,0.06578544527292252f,-0.27351343631744385f,0.2547462284564972f,0.28375518321990967f,0.032859668135643005f,0.23152390122413635f,-0.07731422781944275f,0.21101722121238708f,-0.1683351695537567f,-0.08190501481294632f,-0.27668556571006775f,-0.15859590470790863f,0.20617720484733582f,-0.21622483432292938f,0.1618170440196991f,-0.2548491060733795f,0.18312275409698486f,-0.25461483001708984f,0.20886272192001343f,0.12076901644468307f,-0.1739533692598343f,-0.2773703932762146f,-0.6688722372055054f}, +{0.10771462321281433f,0.08408418297767639f,-0.1647956818342209f,-0.00161704421043396f,0.10816431045532227f,0.13259877264499664f,-0.2502448558807373f,-0.05063694715499878f,-0.28954532742500305f,-0.11501708626747131f,0.24353471398353577f,0.11519002914428711f,-0.1879904866218567f,-0.026675879955291748f,-0.0055807530879974365f,0.05870962142944336f,-0.0561012327671051f,-0.1419317126274109f,-0.20300637185573578f,-0.027777740731835365f,-0.17170509696006775f,-0.3093981444835663f,0.2986377775669098f,-0.24229218065738678f,-0.19906556606292725f,-0.03866580128669739f,0.09892630577087402f,0.22604267299175262f,0.08111580461263657f,0.024399906396865845f,-0.264041006565094f,-0.037910252809524536f}, +{0.07240793108940125f,0.2968745231628418f,0.12581734359264374f,0.14544308185577393f,-0.001873494009487331f,0.18561306595802307f,0.2231290191411972f,-0.11358203738927841f,0.03846980631351471f,-0.5061792135238647f,-0.056825198233127594f,0.030263751745224f,-0.25552064180374146f,0.12521019577980042f,0.13272255659103394f,-0.0684008002281189f,-0.13351139426231384f,0.21587422490119934f,-0.11616086214780807f,0.09435359388589859f,-0.1967686414718628f,0.14476516842842102f,0.2166706919670105f,0.28145694732666016f,0.20255109667778015f,-0.1976800560951233f,-0.1519756019115448f,0.16283585131168365f,-0.08575978130102158f,-0.29330405592918396f,0.004574976861476898f,-0.07021577656269073f}, +{-0.27890223264694214f,0.026230525225400925f,0.1517297923564911f,0.19112101197242737f,-0.789542555809021f,-0.16985057294368744f,-0.2505151033401489f,-0.2674597501754761f,-0.23863942921161652f,0.41558414697647095f,-0.4467531740665436f,0.04456409811973572f,0.05523297190666199f,0.0029259631410241127f,-0.02410009503364563f,0.10129088163375854f,0.22686699032783508f,-0.30486053228378296f,-0.2911565601825714f,-0.406606525182724f,-0.10204439610242844f,-0.16477997601032257f,-0.26734399795532227f,0.14678052067756653f,-0.0916958674788475f,-0.025903940200805664f,-0.111304871737957f,0.2614813446998596f,0.14481788873672485f,0.06508117914199829f,0.02118399739265442f,-0.250347763299942f}, +{0.3047083914279938f,-0.3829544484615326f,-0.09393081814050674f,-0.32120004296302795f,-0.7049156427383423f,0.30046454071998596f,0.04369795322418213f,-0.2643950879573822f,-0.32492223381996155f,-0.06434918940067291f,-0.16104383766651154f,0.038040339946746826f,0.11545597016811371f,0.1038844883441925f,0.062144935131073f,-0.28920799493789673f,0.03473195433616638f,-0.03177381306886673f,0.8106175065040588f,0.6032338738441467f,-0.24128633737564087f,0.35133063793182373f,0.2712000906467438f,0.3239062428474426f,0.030129436403512955f,-0.031148135662078857f,-0.44779321551322937f,-0.034113068133592606f,0.2235644906759262f,0.017086774110794067f,-0.18175730109214783f,0.003414738457649946f}, +{-0.06136500835418701f,-0.11579577624797821f,-0.23311558365821838f,-0.020844489336013794f,0.161813884973526f,0.22929790616035461f,0.11958792805671692f,-0.0384809672832489f,-0.10647237300872803f,-0.09010881185531616f,0.22322741150856018f,-0.1071339100599289f,0.05349445343017578f,-0.23458370566368103f,0.040097206830978394f,0.08616101741790771f,-0.15468145906925201f,-0.21275553107261658f,-0.21210846304893494f,-0.23840199410915375f,0.12352427840232849f,0.282552570104599f,0.14114680886268616f,0.09007054567337036f,-0.05948364734649658f,0.12031787633895874f,-0.184563547372818f,0.07786750793457031f,-0.2169322669506073f,-0.24735762178897858f,-0.0892629474401474f,-0.11765947937965393f}, +{0.1169951856136322f,0.22583343088626862f,-0.0623902790248394f,-0.21188730001449585f,0.35504016280174255f,0.1675981730222702f,0.25662973523139954f,0.2666439712047577f,0.016538159921765327f,0.03567033261060715f,-0.6564634442329407f,0.02602824568748474f,0.02023410052061081f,-0.08262813836336136f,0.10762849450111389f,0.06951633095741272f,0.0639207661151886f,0.2458573281764984f,0.5492554306983948f,0.20780347287654877f,-0.47689104080200195f,-0.010499079711735249f,0.1945638209581375f,-0.21918198466300964f,-0.12797842919826508f,0.012219250202178955f,-0.0719306692481041f,-0.21069641411304474f,-0.24534004926681519f,-0.29393887519836426f,-0.08237382769584656f,-0.07659900933504105f}, +{-0.16101892292499542f,-2.6252098083496094f,0.16429387032985687f,0.15439511835575104f,-0.22270971536636353f,-0.1778838187456131f,0.10244748741388321f,-0.17396175861358643f,0.09173326194286346f,-0.2543085217475891f,-0.02308499999344349f,-0.04377517104148865f,-0.18632613122463226f,-0.014269514009356499f,-0.2592318058013916f,0.1978430449962616f,0.18047624826431274f,0.25547152757644653f,-0.3583325445652008f,-0.31760597229003906f,-0.34371933341026306f,0.14292629063129425f,0.35391759872436523f,-0.09581347554922104f,-0.04283968731760979f,-0.28873488306999207f,-0.0847386047244072f,0.13971801102161407f,0.23944589495658875f,0.18439257144927979f,0.14335589110851288f,0.29589322209358215f}, +{0.261911004781723f,-0.19572317600250244f,-0.3139093816280365f,-0.07572512328624725f,-1.4491221904754639f,0.13928867876529694f,-0.09386739134788513f,-0.05591337010264397f,-0.4786756634712219f,-0.3477703630924225f,0.005039088893681765f,-0.2924177646636963f,0.06799451261758804f,-0.08486802875995636f,-0.20773646235466003f,-0.10781967639923096f,-0.15712574124336243f,0.16112294793128967f,0.27851009368896484f,0.2133936733007431f,-0.11231138557195663f,0.17959244549274445f,-1.9806863069534302f,0.31922289729118347f,0.22832639515399933f,0.0025720298290252686f,-1.1841254234313965f,-0.3099982440471649f,0.12816743552684784f,0.21125611662864685f,-0.05751854181289673f,-2.9703240394592285f}, +{0.14277681708335876f,-0.22795183956623077f,0.047815486788749695f,-0.22286657989025116f,-0.15775664150714874f,0.041207365691661835f,0.1075698733329773f,-0.27022814750671387f,-0.19193708896636963f,-0.08106427639722824f,-0.7710232734680176f,0.18551066517829895f,0.16216030716896057f,0.09001287072896957f,-0.03100520372390747f,-0.2484396994113922f,0.06366744637489319f,-0.3076874017715454f,0.3138425350189209f,-0.595535933971405f,-0.5645818114280701f,0.2592972218990326f,0.3755412995815277f,0.4382358491420746f,-0.10754720866680145f,-0.19159743189811707f,0.16949352622032166f,-0.36919495463371277f,-0.5071529150009155f,-0.10488687455654144f,-0.24558058381080627f,0.14848382771015167f}, +{0.29069945216178894f,-0.1806652545928955f,0.019009560346603394f,-0.28619009256362915f,0.09075364470481873f,-0.19120927155017853f,0.045349299907684326f,-0.17138783633708954f,-0.17037051916122437f,0.028545528650283813f,-0.16238126158714294f,-0.15074089169502258f,-0.09016353636980057f,-0.23803044855594635f,0.09875330328941345f,0.08164769411087036f,0.2294725477695465f,0.10683679580688477f,-0.26258087158203125f,-0.10248091071844101f,0.16431908309459686f,0.27430880069732666f,0.13898101449012756f,-0.16844238340854645f,0.3061029314994812f,0.023651927709579468f,-0.2052852213382721f,0.21941810846328735f,0.11974992603063583f,0.19045329093933105f,0.02994692325592041f,-0.25522705912590027f}, +{0.1991647183895111f,0.12534403800964355f,-0.04112154245376587f,0.23123982548713684f,-0.17588619887828827f,-0.302817702293396f,-0.1610087752342224f,-0.031804412603378296f,0.10274738073348999f,-0.25018924474716187f,0.15975651144981384f,-0.057292819023132324f,0.1464652419090271f,0.08016204833984375f,0.2151305377483368f,0.2952744662761688f,-0.21319252252578735f,0.04970458149909973f,0.10210192203521729f,0.3050673305988312f,0.21167120337486267f,-0.15151944756507874f,0.13887640833854675f,0.25299301743507385f,-0.11117732524871826f,-0.07015113532543182f,-0.287551611661911f,-0.025779157876968384f,-0.07337476313114166f,-0.24420931935310364f,0.015819430351257324f,-0.10595546662807465f}, +{0.12202468514442444f,0.11307132244110107f,-0.1393485814332962f,-0.35166671872138977f,0.14782434701919556f,0.10332854837179184f,-0.08385257422924042f,-0.12613117694854736f,0.2619711458683014f,-0.3288128674030304f,-0.06917986273765564f,-0.11160935461521149f,-0.13613487780094147f,-0.16888540983200073f,-0.06735922396183014f,0.05864924192428589f,-0.25733181834220886f,-0.20564723014831543f,0.0336795374751091f,-0.080560602247715f,-0.2635331451892853f,0.20034900307655334f,0.1359344720840454f,0.07558305561542511f,0.25859907269477844f,0.1795230209827423f,0.14820072054862976f,-0.00910326186567545f,-0.17337296903133392f,0.2425754964351654f,-0.22172409296035767f,-0.04560137912631035f}, +{-0.3055141270160675f,-0.13576149940490723f,-0.007098792120814323f,-0.22958824038505554f,-0.16869203746318817f,-0.07209712266921997f,0.06344843655824661f,0.1868957281112671f,0.10014556348323822f,-0.26565518975257874f,-0.4981679916381836f,-0.004238337278366089f,0.05754581838846207f,0.043803781270980835f,-0.023131370544433594f,0.036719828844070435f,0.16260939836502075f,0.021452900022268295f,-0.6414809226989746f,-0.33981701731681824f,-0.05313646048307419f,-0.10980580002069473f,0.3931199312210083f,0.14811202883720398f,0.10450282692909241f,-0.02825927734375f,-0.07055894285440445f,-0.243629589676857f,0.05514201894402504f,0.1865309774875641f,0.22191277146339417f,-0.23279036581516266f}, +{0.1782623827457428f,0.17329983413219452f,-0.36183589696884155f,-0.13699603080749512f,0.21084707975387573f,0.22825263440608978f,-0.32466426491737366f,0.12530909478664398f,0.2008134126663208f,0.2332226037979126f,-0.33608919382095337f,-0.22968843579292297f,-0.024968745186924934f,0.019941013306379318f,-0.2527656555175781f,-0.3049176335334778f,0.032145023345947266f,-0.2847839891910553f,0.22066818177700043f,-0.2139289677143097f,-0.14646612107753754f,0.08866468816995621f,0.33709555864334106f,0.17495237290859222f,-0.23284006118774414f,0.10029953718185425f,0.2192709743976593f,0.25868454575538635f,-0.332850843667984f,0.1616479754447937f,-0.21182864904403687f,-0.0555347241461277f}, +{-0.17396044731140137f,-0.0057539851404726505f,-0.17574112117290497f,-0.006718873977661133f,0.040587734431028366f,-0.13487496972084045f,-0.1976376324892044f,-0.18956288695335388f,-0.3795906603336334f,-0.2926933467388153f,0.12965916097164154f,-0.1146831065416336f,0.21467310190200806f,0.2603026330471039f,-0.19851773977279663f,-0.10762731730937958f,0.14198419451713562f,0.07217786461114883f,0.051015544682741165f,-0.062494050711393356f,-0.29993119835853577f,-0.07717446982860565f,0.36891332268714905f,-0.12070614844560623f,0.27586397528648376f,-0.2665709853172302f,0.27776476740837097f,0.1593986302614212f,-0.0717584639787674f,-0.1200934648513794f,-0.07223458588123322f,-0.16176432371139526f}, +{-0.12546227872371674f,-0.0935664176940918f,-0.13015469908714294f,0.0722120925784111f,-0.008691729046404362f,-0.2522052824497223f,-0.28310835361480713f,-0.043121352791786194f,-0.11268676072359085f,-0.7503910660743713f,-0.19499319791793823f,0.046816736459732056f,-0.12017074227333069f,-0.12375825643539429f,-0.0649729073047638f,0.2468220293521881f,0.060016900300979614f,-0.16779978573322296f,-0.19017599523067474f,-0.13085618615150452f,-0.41277334094047546f,0.07795637100934982f,-0.4315490424633026f,0.20171600580215454f,-0.07085483521223068f,0.020356476306915283f,-0.10943791270256042f,0.1812962293624878f,0.16904227435588837f,-7.510185241699219e-06f,0.094448983669281f,-0.7701192498207092f}, +{0.07555973529815674f,-0.0029259920120239258f,-0.08789914846420288f,0.06678077578544617f,-0.11083845794200897f,0.11010000109672546f,-0.14982634782791138f,0.12075316905975342f,-0.2766430675983429f,0.013024389743804932f,0.18159812688827515f,-0.20200279355049133f,0.2637675702571869f,-0.1856893002986908f,0.2882818281650543f,0.05304515361785889f,-0.15297894179821014f,0.07341468334197998f,0.05268138647079468f,0.1067940890789032f,-0.2661813795566559f,-0.2009473443031311f,0.1843600869178772f,0.2517976462841034f,-0.07343396544456482f,-0.051110416650772095f,-0.23432010412216187f,0.16746872663497925f,-0.2205146849155426f,-0.017525076866149902f,0.20926335453987122f,-0.2141496241092682f}, +{0.06582912802696228f,0.2796666920185089f,-0.2556927502155304f,0.0023079216480255127f,0.2043982446193695f,0.13894453644752502f,0.06556430459022522f,0.29767414927482605f,0.24966773390769958f,-0.16670267283916473f,-0.1203770637512207f,-0.06570860743522644f,-0.015925198793411255f,0.17675906419754028f,-0.014884740114212036f,-0.05300724506378174f,0.26490333676338196f,0.15243005752563477f,-0.07319167256355286f,0.2353842556476593f,0.23596063256263733f,0.1602974534034729f,-0.04174882173538208f,-0.11559568345546722f,-0.06235519051551819f,0.21069613099098206f,-0.19532959163188934f,-0.2486409693956375f,0.032513976097106934f,-0.2712400257587433f,-0.19435247778892517f,-0.23200613260269165f}, +{-0.1299392580986023f,-0.06208275258541107f,-0.18067686259746552f,0.03896602615714073f,-0.1559528261423111f,-0.14272382855415344f,-0.19175797700881958f,0.02903696894645691f,-0.21793057024478912f,0.016345679759979248f,-0.24767392873764038f,0.2033931314945221f,-0.2574335038661957f,0.011410274542868137f,0.13206014037132263f,0.15829482674598694f,-0.21012049913406372f,0.2088232934474945f,0.12396217882633209f,-0.17956478893756866f,0.32670894265174866f,-0.021142370998859406f,-0.1977243274450302f,-0.025072306394577026f,0.1991090476512909f,-0.007939159870147705f,-0.15539970993995667f,0.19354887306690216f,0.1298319399356842f,0.18135693669319153f,-0.008151531219482422f,0.23252393305301666f}, +{0.07638216018676758f,0.10178792476654053f,-0.3632030189037323f,-0.235545814037323f,0.09491447359323502f,0.007485899608582258f,0.16700564324855804f,-0.25668495893478394f,0.026961220428347588f,0.30681201815605164f,0.036471329629421234f,0.02524423599243164f,-0.10277769714593887f,0.22266533970832825f,-0.029521822929382324f,-0.19500072300434113f,0.06506577134132385f,-0.042979199439287186f,0.38466188311576843f,0.28802499175071716f,0.25258976221084595f,-0.025679901242256165f,-0.13952423632144928f,-0.4421646296977997f,0.20129328966140747f,0.1901901364326477f,-0.14958564937114716f,-0.07797150313854218f,-1.3495779037475586f,0.22636333107948303f,-0.28991997241973877f,0.19003361463546753f}, +}; -const float b2[32] = { -0.10466054826974869f, -0.7642630338668823f, - -1.4564176797866821f, -0.528777003288269f, -0.7297643423080444f, - 0.2625555098056793f, 0.389851450920105f, -0.33048292994499207f, - -1.20063054561615f, -1.912178635597229f, 0.31253743171691895f, - 0.6883504390716553f, -0.04988760128617287f, 2.26581072807312f, - 0.13501279056072235f, 1.132785677909851f, -1.8237234354019165f, - -1.5844906568527222f, 0.26375624537467957f, -0.23789723217487335f, - 0.17283980548381805f, 0.3692796230316162f, 0.09335066378116608f, - -1.0231001377105713f, 1.2738454341888428f, 1.44853675365448f, - 0.9071134924888611f, 8.9274239144288e-05f, -0.6323830485343933f, - -0.4208582937717438f, -1.1864360570907593f, -1.3916414976119995f }; +const float hout[32] = { 0.3285340666770935f,0.2312968373298645f,-0.1630605310201645f,-0.052534740418195724f,-0.10057443380355835f,0.2961001396179199f,0.017061835154891014f,0.10350137203931808f,-0.07044677436351776f,-0.6716802716255188f,0.1657922863960266f,-0.19491273164749146f,-0.09723297506570816f,0.11400538682937622f,0.2356991171836853f,-0.1462659239768982f,0.09851181507110596f,-0.18661867082118988f,-0.20936886966228485f,-0.06724883615970612f,-0.012077437713742256f,0.13819065690040588f,-0.36261582374572754f,-0.1528124064207077f,0.21429504454135895f,0.2520971894264221f,-0.25227150321006775f,-0.31772324442863464f,0.180665984749794f,-0.3257754445075989f,-0.39810308814048767f,-0.2707440257072449f }; + +const float b1[32] = { 0.41725802421569824f,0.677618682384491f,-1.7145336866378784f,0.4289698898792267f,1.0923852920532227f,0.6965276002883911f,-0.33025991916656494f,0.911361813545227f,0.5523963570594788f,-0.9239171743392944f,0.5504469275474548f,1.4532619714736938f,-0.3425353467464447f,-0.9522353410720825f,-1.087764859199524f,1.1365444660186768f,0.6634984612464905f,0.07243652641773224f,0.34714072942733765f,0.4831358790397644f,-0.284685879945755f,-1.1118980646133423f,-1.6770726442337036f,-1.2263047695159912f,1.5655348300933838f,-2.0880801677703857f,-1.0489267110824585f,0.6718418598175049f,0.3125588893890381f,-1.0887231826782227f,1.4772096872329712f,-0.44261544942855835f }; -const float b3[32] = { -1.963319182395935f, -0.4028509557247162f, - 0.3184174597263336f, 0.1579766422510147f, 0.1897633820772171f, - 0.866980791091919f, -0.45353031158447266f, -0.6562485098838806f, - 0.5865635275840759f, 0.5033581852912903f, -0.14371006190776825f, - 0.050810977816581726f, -0.5131177306175232f, 0.5688209533691406f, - -1.1428403854370117f, -0.3598397970199585f, -1.3594286441802979f, - -1.0192245244979858f, -0.2365882694721222f, 0.5294732451438904f, - 1.530857801437378f, 1.2039998769760132f, -1.0573883056640625f, - -0.7962622046470642f, 0.7248114347457886f, -0.36519983410835266f, - -0.07752024382352829f, 0.767806887626648f, 0.2635451555252075f, - -2.3236680030822754f, 0.06150589883327484f, 1.0375205278396606f }; +const float b2[32] = { -0.1328246146440506f,-0.7642630338668823f,-1.4564176797866821f,-0.5193768739700317f,-0.770237147808075f,0.2291887253522873f,0.42305076122283936f,-0.330333411693573f,-1.200630784034729f,-1.912178635597229f,0.3195040225982666f,0.6411747336387634f,-0.12948329746723175f,2.127977132797241f,0.03474299982190132f,1.0651566982269287f,-1.798204779624939f,-1.6275829076766968f,0.24063049256801605f,-0.33282727003097534f,0.15034039318561554f,0.3341216742992401f,0.09335067123174667f,-1.0914796590805054f,1.1630909442901611f,1.3906062841415405f,0.9115413427352905f,-0.08930502086877823f,-0.6323830485343933f,-0.4208582937717438f,-1.2135889530181885f,-1.3041324615478516f }; -const float bout[1] = { -0.3124803602695465f }; +const float b3[32] = { -1.963319182395935f,-0.24137775599956512f,0.16939261555671692f,-0.010520849376916885f,0.16716189682483673f,0.8664999008178711f,-0.5060869455337524f,-0.675765335559845f,0.4948726296424866f,0.49107488989830017f,-0.3517422378063202f,0.050810977816581726f,-0.5689442157745361f,0.5305911302566528f,-1.1428403854370117f,-0.3598397970199585f,-1.3594286441802979f,-1.0502030849456787f,-0.22544679045677185f,0.391804963350296f,1.3067524433135986f,1.170665979385376f,-0.7901832461357117f,-0.7575708627700806f,0.7138406038284302f,-0.36519986391067505f,-0.0393984317779541f,0.7097650170326233f,0.27854597568511963f,-2.3236680030822754f,0.025814389809966087f,0.9480384588241577f }; + +const float bout[1] = { -0.28343671560287476f }; int main() { - //F401_init84 myinit(0); - //F401_init84 SystemClock_Config_84MHz_internal(); + HAL_Init(); SystemClock_Config(); - __HAL_RCC_SYSCFG_CLK_ENABLE(); - __HAL_RCC_PWR_CLK_ENABLE(); - HAL_IncTick(); /********************************* *** Initialization @@ -1258,9 +366,10 @@ *** Program is operating! *************************************/ while(1) { - //if(timer_while==1000 && OPERATING_MODE==5) { - if(timer_while==1000) { +// if(timer_while==1000 && OPERATING_MODE==5) { + //if(timer_while==1000) { //i2c + read_field(i2c_slave_addr1); if(DIR_VALVE_ENC < 0) value = 1023 - value; // if(LED==1) { @@ -1268,91 +377,74 @@ // } else // LED = 1; timer_while = 0; - } + //} + + timer_while ++; + + + if(NN_Control_Flag == 1) { + float output1[32] = { 0.0f }; + float output2[32] = { 0.0f }; + float output3[32] = { 0.0f }; + float output = 0.0f; - float output1[32] = { 0.0f }; - float output2[32] = { 0.0f }; - float output3[32] = { 0.0f }; - float output = 0.0f; + - timer_while ++; + for (int index2 = 0; index2 < 32; index2++) { + for (int index1 = 0; index1 < 22; index1++) { + output1[index2] = output1[index2] + + h1[index1][index2] * input[index1]; + } + output1[index2] = output1[index2] + b1[index2]; + if (output1[index2] < 0) { + output1[index2] = 0; + } + } -// t.reset(); -// t.start(); + for (int index2 = 0; index2 < 32; index2++) { + for (int index1 = 0; index1 < 32; index1++) { + output2[index2] = output2[index2] + + h2[index1][index2] * output1[index1]; + } + output2[index2] = output2[index2] + b2[index2]; + if (output2[index2] < 0) { + output2[index2] = 0; + } + } - for (int index2 = 0; index2 < 32; index2++) { - for (int index1 = 0; index1 < 22; index1++) { - output1[index2] = output1[index2] - + h1[index1][index2] * input[index1]; + for (int index2 = 0; index2 < 32; index2++) { + for (int index1 = 0; index1 < 32; index1++) { + output3[index2] = output3[index2] + + h3[index1][index2] * output2[index1]; + } + output3[index2] = output3[index2] + b3[index2]; + if (output3[index2] < 0) { + output3[index2] = 0; + } } - output1[index2] = output1[index2] + b1[index2]; - if (output1[index2] < 0) { - output1[index2] = 0; + + for (int index2 = 0; index2 < 1; index2++) { + for (int index1 = 0; index1 < 32; index1++) { + output = output + hout[index2] * output3[index1]; + } + output = output + bout[index2]; + output = 1.0f/(1.0f+exp(-output)); + } + + output = output * 24000.0f - 12000.0f; + if(output>=0) { + valve_pos.ref = output*0.0001f*((double)VALVE_MAX_POS - (double) VALVE_CENTER) + (double) VALVE_CENTER; + } else { + valve_pos.ref = -output*0.0001f*((double)VALVE_MIN_POS - (double) VALVE_CENTER) + (double) VALVE_CENTER; } } - - for (int index2 = 0; index2 < 32; index2++) { - for (int index1 = 0; index1 < 32; index1++) { - output2[index2] = output2[index2] - + h2[index1][index2] * output1[index1]; - } - output2[index2] = output2[index2] + b2[index2]; - if (output2[index2] < 0) { - output2[index2] = 0; - } - } - - for (int index2 = 0; index2 < 32; index2++) { - for (int index1 = 0; index1 < 32; index1++) { - output3[index2] = output3[index2] - + h3[index1][index2] * output2[index1]; - } - output3[index2] = output3[index2] + b3[index2]; - if (output3[index2] < 0) { - output3[index2] = 0; - } - } - - for (int index2 = 0; index2 < 1; index2++) { - for (int index1 = 0; index1 < 32; index1++) { - output = output + hout[index2] * output3[index1]; - } - output = output + bout[index2]; - output = 1.0f/(1.0f+exp(-output)); - } -// t.stop(); - //printf("NNoutput : %f\n", NNoutput); - //printf("time : %f\n", t.read()); - - //wait(1); - - //if(timer_while%10000==0) if(LED==1) { LED=0; } else LED = 1; - -// CAN_TX_PWM((int16_t) (t.read() * 1000000.0f)); //1500 - -// PWM_out = NNoutput * 24000.0f - 12000.0f; -// -// -// if (PWM_out>0.0f) { -// dtc_v=0.0f; -// dtc_w=PWM_out; -// } else { -// dtc_v=-PWM_out; -// dtc_w=0.0f; -// } -// -// //pwm -// TIM4->CCR2 = (PWM_ARR)*(1.0f-dtc_v); -// TIM4->CCR1 = (PWM_ARR)*(1.0f-dtc_w); - - - + } } @@ -2436,7 +1528,7 @@ VALVE_POS_CONTROL(valve_pos.ref); - Vout.ref = (float) P_GAIN_JOINT_POSITION * 0.01f * ((float) pos.err); + //Vout.ref = (float) P_GAIN_JOINT_POSITION * 0.01f * ((float) pos.err); V_out = (float) Vout.ref; } @@ -2588,7 +1680,8 @@ // t_value = 10000.0f*((double)value - (double)VALVE_CENTER)/((double)VALVE_MAX_POS - (double)VALVE_CENTER); // } else { // t_value = -10000.0f*((double)value - (double)VALVE_CENTER)/((double)VALVE_MIN_POS - (double)VALVE_CENTER); -// } +// } + if(OPERATING_MODE==5) { t_value = (double) value; } else if(CURRENT_CONTROL_MODE==1) { @@ -2614,10 +1707,6 @@ //PWM CAN_TX_PWM((int16_t) cur.sen); //1500 } - if (flag_data_request[3] == LOW) { - //PWM - CAN_TX_PWM((int16_t) 79); //1500 - } //for (i = 0; i < 10000; i++) { // ; // }