![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: main.cpp
- Revision:
- 243:6d81340c0e7b
- Parent:
- 242:3a69403240a1
- Child:
- 244:b8e9935406dd
diff -r 3a69403240a1 -r 6d81340c0e7b main.cpp --- a/main.cpp Tue Jan 05 01:37:24 2021 +0000 +++ b/main.cpp Wed Jan 06 00:43:52 2021 +0000 @@ -1,4 +1,4 @@ -//210105_1 500Hz num_input 11 210102 data +//210106_1 500Hz num_input 15 210105 data #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -199,66 +199,70 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {0.4395115077495575f,-0.19499783217906952f,0.2949129343032837f,-1.7119252681732178f,-1.3763988018035889f,-1.1331017017364502f,-0.05010789632797241f,-1.4494731426239014f,-0.014067143201828003f,0.5034036040306091f,0.13420411944389343f,1.083283543586731f,-0.1370140016078949f,0.9512890577316284f,-0.12633158266544342f,0.28724178671836853f}, -{-0.07440289855003357f,-0.8427966237068176f,0.19901078939437866f,-1.3025431632995605f,-0.5857564210891724f,0.05787134915590286f,0.2861805856227875f,-0.6488597393035889f,-0.4197855293750763f,0.5902780294418335f,0.40989622473716736f,-0.04585035890340805f,0.2678665816783905f,0.5462658405303955f,0.15645606815814972f,0.028149276971817017f}, -{0.13598337769508362f,-0.044001080095767975f,-0.3673018217086792f,-0.6391153931617737f,-0.41435277462005615f,-0.1997365951538086f,0.3189743459224701f,-0.7197628617286682f,-0.017896443605422974f,-0.02855086140334606f,-0.3730058968067169f,-0.2943127155303955f,-0.28849607706069946f,0.4371379315853119f,0.4030016362667084f,-0.36524245142936707f}, -{-0.1279621124267578f,0.7187304496765137f,0.3195853531360626f,-0.051839642226696014f,0.034461356699466705f,-0.39590418338775635f,-0.19934335350990295f,-0.0464964285492897f,0.3956039249897003f,0.22811168432235718f,0.10380366444587708f,0.3307979106903076f,0.28273478150367737f,-0.619130551815033f,0.031108509749174118f,-0.3463590741157532f}, -{-0.37194886803627014f,0.8092767596244812f,-0.2960986793041229f,1.258221983909607f,0.4812321662902832f,-0.24779711663722992f,-0.21219611167907715f,-0.25569164752960205f,-0.2933347821235657f,-0.5176833868026733f,0.018816828727722168f,-0.3137034773826599f,-0.23501892387866974f,-0.8895841836929321f,-0.035672347992658615f,-0.4684487283229828f}, -{0.3653339445590973f,-0.5159458518028259f,0.22217081487178802f,2.449561357498169f,0.9937579035758972f,2.222726583480835f,-0.39640942215919495f,2.079376459121704f,0.24109098315238953f,-1.1952153444290161f,0.26922866702079773f,-0.8573645949363708f,-0.3527783453464508f,-0.7064012289047241f,-0.401743084192276f,-0.05209025740623474f}, -{0.46669039130210876f,2.578354597091675f,-0.34453216195106506f,0.17729146778583527f,0.799236536026001f,-3.2361068725585938f,-0.34008562564849854f,-1.3001996278762817f,0.19872888922691345f,-0.16221241652965546f,0.07967641949653625f,0.5215776562690735f,-0.16751226782798767f,0.45836296677589417f,-0.045265812426805496f,-0.38570716977119446f}, -{0.44258496165275574f,-1.124619483947754f,0.3561808168888092f,0.0627649649977684f,-0.3088073432445526f,-1.1527888774871826f,-0.39387422800064087f,-0.14630559086799622f,-0.40561991930007935f,-0.2588892877101898f,0.3943038880825043f,0.37579813599586487f,-0.0688970685005188f,0.21867553889751434f,-0.3950801193714142f,0.3870544135570526f}, -{-0.27398866415023804f,-3.9986064434051514f,0.09761927276849747f,0.03670952841639519f,-0.9459232091903687f,1.8027892112731934f,-0.43313103914260864f,1.9326251745224f,-0.022006064653396606f,-0.7335339188575745f,0.2773580849170685f,-0.7395243048667908f,-0.3165479898452759f,-0.5466685891151428f,-0.4915670156478882f,0.19295188784599304f}, -{-0.06626856327056885f,-1.9961521625518799f,-0.17605823278427124f,-0.18560421466827393f,-0.8937968611717224f,1.0354164838790894f,0.3417527377605438f,0.33454787731170654f,-0.24497714638710022f,-0.45215678215026855f,-0.03615221381187439f,-0.5433576107025146f,-0.16851624846458435f,-0.4946214556694031f,0.05046036094427109f,-0.1590774953365326f}, -{-0.3194847106933594f,-1.6664073467254639f,-0.12144691497087479f,-0.07175904512405396f,-0.8182926177978516f,1.0137792825698853f,0.28284314274787903f,0.28671994805336f,-0.10242009162902832f,-0.3850765824317932f,-0.3214794099330902f,0.37128299474716187f,-0.30116844177246094f,0.4866725504398346f,-0.2227533906698227f,-0.08230504393577576f}, + {0.2426416575908661f,0.22019553184509277f,0.038638919591903687f,-0.28833115100860596f,-0.4155330955982208f,-0.960847795009613f,-0.3490819036960602f,0.2376738041639328f,-1.2533519268035889f,-0.7306710481643677f,0.1127660945057869f,-0.3129321336746216f,-0.2836083769798279f,0.19339388608932495f,-0.8082801699638367f,0.34967198967933655f}, +{-0.07984253764152527f,0.09767907857894897f,0.3645952343940735f,0.1650388091802597f,0.07446616888046265f,-0.7925461530685425f,0.0668189525604248f,-0.01147061213850975f,-1.579444408416748f,-0.9638774394989014f,-0.3736152648925781f,-0.3686029016971588f,0.0033982396125793457f,0.1531161069869995f,-0.18784570693969727f,0.48837071657180786f}, +{-0.3338775038719177f,-0.29248523712158203f,-0.2509925961494446f,-0.3766935467720032f,-0.3347198963165283f,0.036577265709638596f,0.24376332759857178f,-0.2340160608291626f,-1.0122079849243164f,-1.0218331813812256f,-0.3462825417518616f,-0.22461646795272827f,0.1697424054145813f,0.22269046306610107f,-0.192513108253479f,-0.009906439110636711f}, +{-0.3513132333755493f,-0.18979313969612122f,-0.2564713954925537f,-0.21181565523147583f,-0.2106361836194992f,-0.08378063142299652f,-0.07833871245384216f,-0.02431868016719818f,-1.188582420349121f,-0.6215116381645203f,0.021388443186879158f,-0.39923545718193054f,0.19414609670639038f,-0.12889650464057922f,-0.41929519176483154f,0.27035394310951233f}, +{0.06266215443611145f,0.2985467314720154f,0.046925246715545654f,0.18890655040740967f,0.29851990938186646f,0.701492965221405f,-0.07447770237922668f,-0.33272838592529297f,-0.5406572222709656f,-1.1020270586013794f,0.22954575717449188f,0.05665591359138489f,-0.40332701802253723f,0.0021306276321411133f,0.080314502120018f,0.4345391094684601f}, +{-0.2102268636226654f,0.02471265196800232f,0.22019988298416138f,-0.06193647161126137f,-0.052234798669815063f,2.348221778869629f,0.10219252109527588f,-0.22582420706748962f,1.3845769166946411f,-1.4575117826461792f,0.0620768666267395f,0.4100075960159302f,-0.06651851534843445f,0.29486584663391113f,0.9575929045677185f,0.1818041205406189f}, +{-0.4468589127063751f,0.3260995149612427f,-0.33198100328445435f,0.009572708979249f,0.0969235897064209f,-3.793297529220581f,-0.07328951358795166f,-0.23523281514644623f,-2.1146247386932373f,2.514740467071533f,-0.4058745801448822f,0.00765615701675415f,0.108481764793396f,0.28416818380355835f,-1.9866564273834229f,-0.019559336826205254f}, +{-0.23531727492809296f,0.2122827172279358f,0.4228256940841675f,-0.19730143249034882f,-0.20334431529045105f,-1.6415754556655884f,-0.0006155073642730713f,-0.34953469038009644f,-0.325231671333313f,1.1337085962295532f,0.27176281809806824f,-0.1596420407295227f,0.3124876022338867f,-0.28742849826812744f,-0.8363202214241028f,-0.6913115978240967f}, +{0.14252673089504242f,0.0664520263671875f,-0.19457413256168365f,0.08777939528226852f,-0.09620559215545654f,0.4614688456058502f,-0.22167514264583588f,-0.04054870828986168f,1.0724784135818481f,0.4265463054180145f,0.37987539172172546f,0.0689961314201355f,-0.22933652997016907f,-0.0423736572265625f,0.510279655456543f,-0.45125341415405273f}, +{-0.11359938979148865f,0.4010307788848877f,-0.01456400752067566f,0.3892665505409241f,-0.3213164210319519f,1.355391025543213f,-0.24218180775642395f,0.21883025765419006f,1.2824559211730957f,-0.2841576337814331f,0.18143600225448608f,-0.19942331314086914f,0.4178558588027954f,-0.20797522366046906f,0.7563133239746094f,-0.12107682973146439f}, +{-0.331044465303421f,-0.006712973117828369f,0.03854483366012573f,0.13394321501255035f,0.06208515167236328f,0.9263473749160767f,-0.3259813189506531f,0.2382330745458603f,0.5789619088172913f,-0.4901904761791229f,-0.3500886857509613f,-0.31929516792297363f,-0.3779717981815338f,0.16420477628707886f,0.2852707803249359f,-0.6164341568946838f}, +{-0.16066770255565643f,-0.3333130180835724f,0.2740911841392517f,0.37836918234825134f,0.3958861231803894f,0.5620597004890442f,0.18537968397140503f,-0.4073611795902252f,0.5831527709960938f,-0.37470921874046326f,0.17797312140464783f,-0.15844795107841492f,-0.32350653409957886f,-0.1762060821056366f,0.009823855012655258f,-0.07518953830003738f}, +{0.3657006323337555f,0.3073391914367676f,0.0892636775970459f,0.279962420463562f,0.008891016244888306f,-0.38006922602653503f,0.0382058322429657f,0.191907599568367f,-0.05170278623700142f,0.1677311658859253f,-0.26207825541496277f,0.37108880281448364f,0.23616182804107666f,0.08562582731246948f,-0.38843291997909546f,-0.12969523668289185f}, +{0.06360382586717606f,-0.09081444144248962f,-0.03350529074668884f,-0.12857523560523987f,0.0944976806640625f,-0.07858990877866745f,0.2443365454673767f,-0.2210107147693634f,-0.12345795333385468f,0.047801438719034195f,-0.08474106341600418f,0.161712646484375f,0.0126628577709198f,0.2548195719718933f,-0.6583581566810608f,0.11489982157945633f}, +{-0.36465221643447876f,-0.13231772184371948f,-0.09768560528755188f,-0.08476009964942932f,-0.03454515337944031f,1.2674325704574585f,-0.39151039719581604f,0.2588794231414795f,0.9131219983100891f,-0.7167741060256958f,0.07405008375644684f,-0.19501163065433502f,0.3044053912162781f,0.0006307065486907959f,0.3604453206062317f,-0.3740781545639038f}, }; const float h2[16][16] = { - {-0.4174925684928894f,-0.1903442144393921f,-0.2663029134273529f,-0.2239433228969574f,-0.4107252061367035f,-0.10916134715080261f,-0.35523247718811035f,-0.05923005938529968f,0.24697938561439514f,0.20464345812797546f,0.22474434971809387f,-0.36186057329177856f,0.2638958990573883f,-0.01342076063156128f,-0.018991619348526f,0.42572519183158875f}, -{-0.20840182900428772f,1.1922768354415894f,0.04429793730378151f,0.05470792204141617f,0.10645972937345505f,-0.40497255325317383f,-0.2475477159023285f,0.09334740042686462f,0.05917865037918091f,-1.0096787214279175f,-0.18006353080272675f,0.06113963946700096f,-0.17130956053733826f,-0.5045656561851501f,-5.049808502197266f,0.2382148802280426f}, -{-0.10494768619537354f,0.30879175662994385f,-0.4597139060497284f,-0.09947559982538223f,0.34661898016929626f,-0.2663155198097229f,-0.2870301604270935f,-0.224309504032135f,0.07985106110572815f,0.20972773432731628f,0.33962324261665344f,-0.14845634996891022f,-0.3216298520565033f,0.0856233537197113f,-0.020857231691479683f,0.3194220960140228f}, -{0.0898827612400055f,-15.400263786315918f,-12.12675666809082f,-7.3729963302612305f,-10.92629337310791f,-0.4423891603946686f,0.22108891606330872f,0.06987819075584412f,0.28942981362342834f,-5.972869396209717f,0.05636468157172203f,0.08637040108442307f,-0.3170206844806671f,-0.09118645638227463f,-1.4228596687316895f,0.3982376158237457f}, -{0.175510436296463f,0.826440155506134f,-0.0684206560254097f,-0.07894286513328552f,-0.04339203983545303f,0.20867036283016205f,-0.45876723527908325f,0.09623739123344421f,0.30149105191230774f,-1.829897165298462f,0.18261674046516418f,-0.38893941044807434f,-0.25166308879852295f,-0.2704605162143707f,-0.39183369278907776f,0.40440359711647034f}, -{0.3422999083995819f,-2.7589685916900635f,-1.2561345100402832f,-2.147170066833496f,2.4027018547058105f,-0.2408510148525238f,-0.012952080927789211f,0.3863409459590912f,-0.40749096870422363f,-1.8044953346252441f,-0.13049426674842834f,0.15178748965263367f,-0.1043839156627655f,-0.0359094962477684f,2.001944065093994f,-0.4296066462993622f}, -{0.34501931071281433f,0.39016982913017273f,0.23661300539970398f,-0.03952312469482422f,-0.04077571630477905f,0.29314395785331726f,0.0025136470794677734f,0.19214728474617004f,-0.3049856722354889f,0.3927038013935089f,-0.16256755590438843f,0.18383052945137024f,-0.011020690202713013f,-0.10081404447555542f,-0.09966704249382019f,-0.3646589517593384f}, -{0.04824116826057434f,-0.8159999847412109f,-0.4018074870109558f,-0.695694625377655f,0.6314516663551331f,0.33612173795700073f,0.2569681406021118f,0.41320332884788513f,0.3889271914958954f,-0.5131790637969971f,-0.45147067308425903f,-0.05108330026268959f,-0.013293176889419556f,-0.5629491209983826f,0.6329095959663391f,0.14396104216575623f}, -{-0.09896162152290344f,0.07154926657676697f,0.27162083983421326f,0.3986726701259613f,0.14927521347999573f,-0.16204702854156494f,0.34092673659324646f,0.1272009313106537f,0.28516218066215515f,-0.33180058002471924f,0.14157339930534363f,0.259924978017807f,-0.35835760831832886f,0.36774739623069763f,-0.36537232995033264f,-0.3062024414539337f}, -{0.29525265097618103f,-0.5444215536117554f,0.41078537702560425f,-0.49782174825668335f,0.23075973987579346f,0.0007858886383473873f,-0.0833626389503479f,0.12325546145439148f,-0.34758684039115906f,-0.21435561776161194f,-0.1865391731262207f,-0.21432577073574066f,-0.27841585874557495f,-0.24697032570838928f,-0.5456038117408752f,-0.2693742513656616f}, -{0.21443042159080505f,0.3156175911426544f,-0.09554815292358398f,-0.0613362193107605f,0.02147078514099121f,-0.04075857996940613f,-0.017631351947784424f,-0.26762086153030396f,0.3435862362384796f,0.0004999935626983643f,-0.13715174794197083f,-0.35900190472602844f,0.17812618613243103f,0.05165886878967285f,-0.2915101945400238f,0.42238500714302063f}, -{0.13178232312202454f,1.1244994401931763f,0.07918325066566467f,-0.13781893253326416f,0.006509727332741022f,-0.03528900071978569f,-0.3021824359893799f,0.05141368508338928f,-0.12655070424079895f,-0.22368530929088593f,0.13410837948322296f,0.33636513352394104f,-0.37890759110450745f,0.1702464371919632f,-0.9050610065460205f,-0.2544940114021301f}, -{-0.17858991026878357f,0.3761685788631439f,-0.18963053822517395f,-0.42528438568115234f,-0.3218997120857239f,-0.41969969868659973f,0.29964783787727356f,0.2836931049823761f,-0.3969922363758087f,0.35366687178611755f,0.087179034948349f,-0.1350896656513214f,-0.2557191252708435f,0.248151034116745f,-0.38071921467781067f,0.20126506686210632f}, -{0.3226926624774933f,1.302117109298706f,0.17973342537879944f,-0.148879274725914f,0.07005103677511215f,0.2094997614622116f,0.006076273508369923f,0.08535376191139221f,0.05332690477371216f,0.050606586039066315f,-0.12495644390583038f,-0.009744544513523579f,-0.24402110278606415f,-0.5112005472183228f,-0.24435687065124512f,-0.4138108789920807f}, -{-0.14203676581382751f,-0.22375868260860443f,0.04036872833967209f,-0.20451509952545166f,-0.319049596786499f,0.08163836598396301f,0.2391912043094635f,0.20567730069160461f,-0.34673574566841125f,0.026611290872097015f,0.34848132729530334f,-0.17517852783203125f,-0.4195477366447449f,-0.308102011680603f,-0.1457110494375229f,0.3528761565685272f}, -{-0.022448956966400146f,-0.1653653085231781f,-0.19286179542541504f,-0.0027570724487304688f,0.40614691376686096f,-0.03309375047683716f,0.25922414660453796f,-0.2693522572517395f,0.05686807632446289f,0.2767346203327179f,0.008086144924163818f,0.30404600501060486f,0.16001436114311218f,-0.32944655418395996f,-0.07044929265975952f,-0.34255728125572205f}, + {-0.3209214508533478f,0.19527314603328705f,0.3692755401134491f,-0.3171718120574951f,0.2862485945224762f,-0.18180909752845764f,-0.3276335597038269f,0.3442974388599396f,0.4148279130458832f,0.13026955723762512f,-0.27791929244995117f,0.13183942437171936f,0.31752148270606995f,-0.01397278904914856f,-0.0944136455655098f,-0.21188922226428986f}, +{0.11377331614494324f,-0.37852466106414795f,0.2370569407939911f,0.16720417141914368f,-0.3181529939174652f,-0.3957885801792145f,0.32069316506385803f,0.04377034306526184f,-0.22974573075771332f,0.39766010642051697f,-0.1368245780467987f,-0.002077043056488037f,0.17663273215293884f,0.3637915551662445f,-0.36169126629829407f,-0.006708413362503052f}, +{0.24961581826210022f,-0.3979327380657196f,0.33400359749794006f,-0.11577510833740234f,0.33888837695121765f,0.0025358498096466064f,0.37566879391670227f,0.11383256316184998f,0.35913869738578796f,-0.13233742117881775f,0.28255733847618103f,-0.014687597751617432f,0.16028288006782532f,0.42115524411201477f,-0.03804278373718262f,0.11670640110969543f}, +{-0.2843952178955078f,-0.10674364864826202f,-0.05828779935836792f,-0.02550429105758667f,-0.3856094479560852f,0.27161744236946106f,0.045299604535102844f,0.046430811285972595f,-0.10409536957740784f,-0.30188295245170593f,0.3404492437839508f,-0.2792280316352844f,0.09299281239509583f,-0.10469070076942444f,0.20082040131092072f,-0.02582683600485325f}, +{0.2572067677974701f,0.2781001627445221f,-0.405854731798172f,0.08892467617988586f,-0.2709423303604126f,0.42682674527168274f,0.3209557831287384f,-0.2756153345108032f,0.02407899498939514f,0.1756146252155304f,-0.389127254486084f,-0.25448572635650635f,-0.055950284004211426f,-0.31929004192352295f,-0.3446109890937805f,-0.09691348671913147f}, +{-0.5382754802703857f,0.5980117321014404f,-0.19337564706802368f,-0.3505755066871643f,1.5076755285263062f,-0.04760316014289856f,-0.5956137180328369f,0.19445766508579254f,-0.17806154489517212f,-0.34891924262046814f,-0.6709976196289062f,-0.22476613521575928f,0.06374580413103104f,-1.9985495805740356f,-0.06912603974342346f,-0.4410947263240814f}, +{0.1925239861011505f,0.40739431977272034f,0.1585346758365631f,0.012531578540802002f,0.14677610993385315f,0.42920753359794617f,-0.19571323692798615f,0.032037198543548584f,0.033829838037490845f,0.24610736966133118f,-0.02325493097305298f,0.08909699320793152f,0.3699655830860138f,-0.41911548376083374f,-0.3083699345588684f,0.21693852543830872f}, +{0.38889628648757935f,0.38968878984451294f,0.32160642743110657f,0.35630056262016296f,0.19406259059906006f,0.1516251266002655f,0.24212874472141266f,-0.13637618720531464f,0.3431205451488495f,-0.30215632915496826f,0.017935140058398247f,-0.03461197018623352f,0.0800233781337738f,-0.34450042247772217f,-0.3156430423259735f,-0.04929089546203613f}, +{-1.2690575122833252f,-0.41922739148139954f,0.24376170337200165f,0.10074576735496521f,0.8972052335739136f,-0.2767525911331177f,-1.8646751642227173f,-0.13671892881393433f,-0.0860334038734436f,0.1431577503681183f,0.4211086332798004f,-0.055606722831726074f,-0.14299863576889038f,-3.725269317626953f,0.13963326811790466f,-0.44991829991340637f}, +{-4.11514949798584f,2.633051872253418f,-0.4318431615829468f,-0.2701643407344818f,-0.7951452732086182f,0.09257593750953674f,1.1297763586044312f,0.17555080354213715f,-0.3864961266517639f,-0.03208726644515991f,1.5047467947006226f,-0.19104014337062836f,-0.23518845438957214f,-7.868664264678955f,-0.2569129765033722f,-0.44006308913230896f}, +{-0.0851685181260109f,-0.34350937604904175f,-0.32197198271751404f,0.2524145543575287f,0.11789050698280334f,-0.26150304079055786f,-0.15249848365783691f,-0.3123277723789215f,0.24206027388572693f,-0.25659048557281494f,0.4623681902885437f,0.11264470219612122f,-0.40188872814178467f,0.38653984665870667f,-0.0858321413397789f,0.3462865352630615f}, +{-0.24864348769187927f,-0.4162408113479614f,-0.3195984363555908f,-0.2512216567993164f,-0.3248611092567444f,-0.17238903045654297f,0.3525576889514923f,-0.23431308567523956f,0.3898591101169586f,-0.1842145472764969f,0.11759284138679504f,-0.018693149089813232f,0.2922026216983795f,-0.17276078462600708f,0.20373579859733582f,0.3641580045223236f}, +{-0.03393596410751343f,0.14770111441612244f,0.1157466471195221f,-0.014048665761947632f,0.30773255228996277f,0.23077449202537537f,-0.1857042759656906f,0.257400244474411f,0.062189072370529175f,-0.19969730079174042f,0.08790925145149231f,0.09972622990608215f,-0.2305293083190918f,-0.35955360531806946f,-0.2718116044998169f,0.08828327059745789f}, +{0.2866610586643219f,0.324022501707077f,0.36930540204048157f,0.021187901496887207f,0.18721124529838562f,-0.07024207711219788f,0.07090321183204651f,0.40661314129829407f,-0.18637192249298096f,0.08040741086006165f,0.05410262942314148f,0.18253520131111145f,-0.2780979871749878f,0.3454895317554474f,0.27210715413093567f,-0.04567694664001465f}, +{0.03838261216878891f,-0.5079368948936462f,0.10112041980028152f,0.18659386038780212f,0.6963626146316528f,0.12154439091682434f,-0.17538641393184662f,0.35791733860969543f,0.34097281098365784f,0.03882822394371033f,-1.3008806705474854f,-0.34781014919281006f,-0.14935171604156494f,-0.5407885909080505f,-0.5507271885871887f,-0.20391324162483215f}, +{0.37272968888282776f,-0.08322299271821976f,-0.2641978859901428f,-0.21258875727653503f,-0.5285504460334778f,0.2307353913784027f,-0.6646787524223328f,-0.06878728419542313f,0.4003201425075531f,0.37593039870262146f,-0.32459190487861633f,0.08050385117530823f,-0.12626805901527405f,0.696220338344574f,0.1509009301662445f,0.2698350250720978f}, }; const float h3[16][16] = { - {-0.10604047775268555f,-0.3886682391166687f,-0.1969919353723526f,-0.10143840312957764f,-0.14934241771697998f,-0.17951172590255737f,0.16622021794319153f,-0.21552053093910217f,-0.11682751774787903f,0.3737024962902069f,0.20878121256828308f,-0.42251378297805786f,0.3324459493160248f,-0.37539026141166687f,-0.4276333749294281f,-0.2609066367149353f}, -{0.25333431363105774f,0.4373423755168915f,-0.3615349531173706f,-0.2285880148410797f,-0.811042308807373f,2.462092638015747f,-0.05600005388259888f,-0.4356118440628052f,0.40716463327407837f,-0.13133101165294647f,1.6428941488265991f,2.2254762649536133f,0.2510645091533661f,0.2783043682575226f,-0.22051632404327393f,-0.34248286485671997f}, -{0.2112409770488739f,-1.8757857084274292f,-0.33076995611190796f,0.32822462916374207f,-0.4151061177253723f,-3.165085792541504f,-1.695064663887024f,-0.04937491565942764f,-0.08132382482290268f,-3.881321430206299f,1.8772403001785278f,-1.551486611366272f,-0.20319047570228577f,0.04101104289293289f,-0.20173367857933044f,0.16263136267662048f}, -{-0.006657928228378296f,2.0905849933624268f,-0.38295111060142517f,0.11680355668067932f,0.033681292086839676f,-1.2485034465789795f,-1.4672917127609253f,-0.13095775246620178f,-0.4378699064254761f,0.811735987663269f,0.3804759681224823f,-0.9416329860687256f,-0.2991219460964203f,-0.11386805772781372f,-0.34945082664489746f,-0.04808643460273743f}, -{0.41306057572364807f,-4.427568435668945f,0.027752727270126343f,-0.10797390341758728f,-0.6349897384643555f,-5.120845317840576f,0.6373991370201111f,0.011591927148401737f,0.16482727229595184f,-3.1365513801574707f,1.068908929824829f,0.3137792944908142f,-0.21713165938854218f,-0.4891384541988373f,0.40753689408302307f,0.05848345160484314f}, -{-0.39686959981918335f,-0.012015391141176224f,0.03719416260719299f,0.10071304440498352f,0.2808418571949005f,-0.4051697552204132f,0.341806560754776f,-0.23310469090938568f,0.00837087631225586f,0.18908515572547913f,-0.07792602479457855f,-0.04861186817288399f,-0.16708052158355713f,0.15246477723121643f,-0.4132021963596344f,0.3235029876232147f}, -{-0.30211833119392395f,0.03296257182955742f,-0.2204650193452835f,0.24337729811668396f,0.03300801292061806f,-0.18682564795017242f,-0.03608163073658943f,0.20882055163383484f,0.10134110599756241f,0.2658829092979431f,0.29015180468559265f,-0.312002569437027f,-0.0336284339427948f,0.009718998335301876f,0.33526888489723206f,0.15600594878196716f}, -{0.08432736992835999f,-0.24120114743709564f,0.33729884028434753f,-0.22690346837043762f,0.16049101948738098f,-0.2693745493888855f,0.32751402258872986f,-0.2470502108335495f,-0.4307761490345001f,-0.25031232833862305f,-0.0734899640083313f,-0.22055937349796295f,-0.11108550429344177f,0.24784895777702332f,-0.1185782253742218f,-0.372456431388855f}, -{0.18167439103126526f,0.3463030755519867f,0.13630828261375427f,-0.08701696991920471f,0.1716318428516388f,0.4086710512638092f,0.22993174195289612f,-0.26399534940719604f,-0.1418783962726593f,0.1913956105709076f,0.32302799820899963f,0.11429271101951599f,0.21219369769096375f,0.4145464599132538f,-0.3005605936050415f,0.08969703316688538f}, -{0.16673901677131653f,-2.4412598609924316f,0.3016323745250702f,-0.22985267639160156f,-0.2628300189971924f,-7.458578109741211f,1.4685499668121338f,-0.3844762146472931f,0.3879964053630829f,-2.987759828567505f,1.7171852588653564f,-1.5159578323364258f,0.08014926314353943f,-0.06658732146024704f,-0.3683040738105774f,-0.3001290559768677f}, -{0.2704727351665497f,0.4202183485031128f,-0.26292669773101807f,0.18999752402305603f,-0.016994180157780647f,-0.25693464279174805f,0.2407235950231552f,0.01979336142539978f,-0.37008845806121826f,-0.26788049936294556f,0.06001570448279381f,0.21761544048786163f,0.3874034583568573f,0.3802539110183716f,0.21498039364814758f,0.2293347418308258f}, -{0.005438178777694702f,0.07567739486694336f,-0.29691368341445923f,-0.3179910182952881f,0.10288617014884949f,-0.08138439804315567f,-0.33737823367118835f,0.36627307534217834f,0.12733952701091766f,0.027669347822666168f,-0.1826152801513672f,-0.3259546160697937f,0.38622209429740906f,-0.38506004214286804f,0.09614560008049011f,-0.0247802734375f}, -{0.18679848313331604f,0.09067311882972717f,-0.3224688768386841f,-0.3707871735095978f,0.1202792227268219f,-0.2974916100502014f,-0.25063011050224304f,0.13395991921424866f,-0.4061816930770874f,0.2978958785533905f,-0.3238070607185364f,0.2823725640773773f,-0.18368029594421387f,0.39752617478370667f,-0.4276828169822693f,0.1473551094532013f}, -{-0.1859329491853714f,0.15391220152378082f,-0.28393644094467163f,-0.2615772783756256f,-0.2754630446434021f,0.2420152723789215f,-0.3057212233543396f,0.08835211396217346f,-0.20865270495414734f,-0.04625978693366051f,-0.3773849308490753f,-0.361136257648468f,-0.20789885520935059f,-0.30551549792289734f,0.29493460059165955f,-0.18214762210845947f}, -{0.09645447134971619f,3.129891872406006f,-0.37440866231918335f,-0.03001353144645691f,0.0354924201965332f,0.1901566982269287f,-0.7003742456436157f,-0.09893745183944702f,-0.0639135017991066f,-0.5371392965316772f,-0.97945636510849f,0.1412825733423233f,0.17563733458518982f,0.19120608270168304f,0.2034631073474884f,0.32831546664237976f}, -{0.33395102620124817f,-0.1180163025856018f,0.3448650538921356f,-0.32227301597595215f,0.21300050616264343f,0.05410882830619812f,0.19832196831703186f,0.41894862055778503f,0.17769548296928406f,0.027089297771453857f,-0.4018171727657318f,0.2767740786075592f,-0.3311743438243866f,-0.3428812623023987f,-0.05344057083129883f,0.18927672505378723f}, + {-0.906178891658783f,0.7276226878166199f,0.16640469431877136f,-1.074025273323059f,0.35986682772636414f,0.07510380446910858f,-0.13449186086654663f,-1.567118763923645f,1.4718551635742188f,-1.3957968950271606f,-0.5369729995727539f,-0.35629796981811523f,-1.025177001953125f,-0.3967982232570648f,-1.2568471431732178f,0.42272046208381653f}, +{-1.7840583324432373f,-0.7951673865318298f,0.08712630718946457f,-0.49513906240463257f,0.22527280449867249f,-0.933793842792511f,-0.2128937840461731f,-1.6850707530975342f,-2.405503511428833f,2.103959083557129f,-0.6362944841384888f,-0.10680044442415237f,1.0738216638565063f,-0.5063754916191101f,-2.1546857357025146f,0.07512295991182327f}, +{0.004108738619834185f,-0.274260014295578f,-0.35367295145988464f,-0.23111958801746368f,-0.013286978006362915f,-0.35976120829582214f,0.20723947882652283f,-0.22688564658164978f,-0.3933952748775482f,-0.2469865083694458f,-0.10184195637702942f,-0.036791570484638214f,-0.20333541929721832f,-0.1474355161190033f,0.30211755633354187f,0.029817909002304077f}, +{-0.24431058764457703f,-0.17455258965492249f,0.09072163701057434f,0.36838439106941223f,0.1518034040927887f,-0.2244877964258194f,-0.3773283362388611f,-0.4137502908706665f,-0.43285298347473145f,0.21767470240592957f,0.3199503719806671f,0.18974873423576355f,-0.2736336588859558f,-0.26345178484916687f,0.2594381868839264f,-0.3755319118499756f}, +{-1.0546468496322632f,-1.879543662071228f,-0.3896068036556244f,-2.326030731201172f,-0.29278600215911865f,-1.6855119466781616f,-0.7656766176223755f,-1.3112117052078247f,-0.3009236454963684f,-0.1608448326587677f,-0.48595014214515686f,-2.58016037940979f,0.7338660955429077f,-0.02715977653861046f,-1.0012117624282837f,-0.29054537415504456f}, +{-0.35896390676498413f,0.1519547402858734f,-0.1918996125459671f,0.3441784083843231f,-0.251690149307251f,0.07633808255195618f,-0.20442241430282593f,0.15600016713142395f,-0.34061896800994873f,-0.42899268865585327f,0.24141374230384827f,-0.0907757580280304f,-0.2614765167236328f,-0.26180750131607056f,-0.16899681091308594f,0.3768171966075897f}, +{-0.880810558795929f,-3.1539807319641113f,-0.0410144068300724f,-1.0675164461135864f,-0.42980632185935974f,-2.771942377090454f,-1.2194820642471313f,-1.6178263425827026f,-0.4983506500720978f,1.2420903444290161f,-0.737767219543457f,-0.6286841034889221f,1.0471004247665405f,-0.04755221679806709f,0.06619733572006226f,-0.07779356092214584f}, +{-0.31270870566368103f,-0.3115420639514923f,-0.4113859236240387f,0.36236318945884705f,0.18753167986869812f,0.2137911319732666f,0.13785728812217712f,-0.4067135453224182f,-0.3037393391132355f,0.015455139800906181f,-0.12907131016254425f,-0.039838116616010666f,0.2778095304965973f,0.13849052786827087f,-0.38960275053977966f,0.10178551077842712f}, +{-0.38132068514823914f,0.350312739610672f,0.236850768327713f,-0.33636629581451416f,-0.0563720166683197f,-0.34556347131729126f,-0.16514313220977783f,-0.4196615219116211f,-0.06099119782447815f,0.363854318857193f,-0.09745600819587708f,-0.16400223970413208f,0.027912020683288574f,0.313402384519577f,0.2799864113330841f,0.07999011874198914f}, +{-0.13869988918304443f,0.38950952887535095f,-0.11942046880722046f,-0.013615667819976807f,0.10183486342430115f,-0.14478465914726257f,-0.055372774600982666f,0.40451738238334656f,-0.0004988610744476318f,-0.15372157096862793f,0.39738205075263977f,-0.34888216853141785f,-0.22685009241104126f,0.05806469917297363f,-0.3431790769100189f,-0.055206865072250366f}, +{-0.5467628240585327f,-0.3657051622867584f,-0.0928201973438263f,0.7215098738670349f,-0.3938039243221283f,0.05579270049929619f,-0.297423392534256f,0.8841676712036133f,-0.9665785431861877f,0.27645450830459595f,-0.6296942830085754f,0.10412584990262985f,2.061190128326416f,-0.019191347062587738f,-1.101051688194275f,-0.24198441207408905f}, +{-0.3683733642101288f,-0.21325372159481049f,0.32993969321250916f,0.12162211537361145f,-0.1353546679019928f,-0.04242327809333801f,-0.429615318775177f,0.3358100354671478f,-0.1642657220363617f,-0.16881853342056274f,-0.3577517867088318f,0.2842075526714325f,0.1058095395565033f,0.03193211555480957f,-0.333587110042572f,-0.41875848174095154f}, +{-0.11944586038589478f,-0.016977638006210327f,-0.14040663838386536f,-0.18402284383773804f,-0.2888585329055786f,0.40755733847618103f,-0.2704409062862396f,0.2084963023662567f,0.2528785169124603f,0.3035930395126343f,0.011118561029434204f,-0.08494043350219727f,0.22720195353031158f,0.1980362832546234f,-0.09844750165939331f,-0.24369663000106812f}, +{0.19465525448322296f,0.5287004709243774f,-0.026385754346847534f,-0.572474479675293f,-0.06544613838195801f,0.8353392481803894f,0.584827184677124f,1.4129278659820557f,1.652499794960022f,-0.1460738629102707f,0.5699149966239929f,1.4096914529800415f,-0.9528071880340576f,0.28018197417259216f,-0.35613492131233215f,-0.08374109864234924f}, +{0.15651622414588928f,-0.05297498032450676f,-0.395809531211853f,-0.22493095695972443f,0.2059049904346466f,-0.3899354040622711f,-0.15729941427707672f,0.07761989533901215f,0.2827228307723999f,-0.48621320724487305f,-0.3187112510204315f,-0.16275028884410858f,-0.10706552118062973f,-0.3818236291408539f,-0.19069123268127441f,-0.16918760538101196f}, +{-0.13212862610816956f,0.2126924842596054f,0.20607492327690125f,0.31541842222213745f,0.30361661314964294f,-0.3614303171634674f,-0.036482229828834534f,-0.49492666125297546f,-0.3344106078147888f,0.3821418583393097f,0.09035366028547287f,0.0399528406560421f,0.27372878789901733f,-0.29966023564338684f,0.10072603076696396f,-0.17085057497024536f}, }; -const float hout[16] = { -0.18555325269699097f,0.40512433648109436f,0.08735883235931396f,0.12762928009033203f,-0.006158428266644478f,-0.3144420087337494f,0.26171600818634033f,-0.007215678226202726f,0.09225618094205856f,-0.43399468064308167f,-0.3119194209575653f,0.2528810203075409f,0.49821269512176514f,-0.13186222314834595f,-0.31430715322494507f,-0.06077861785888672f }; - -const float b1[16] = { -1.5314393043518066f,3.2663400173187256f,-0.47990235686302185f,-0.0021877712570130825f,0.9545651078224182f,0.36077484488487244f,0.11969366669654846f,0.3929675221443176f,-0.26272815465927124f,0.8011259436607361f,-1.5077043771743774f,-0.08186519145965576f,0.2704813778400421f,-0.193472221493721f,0.24921636283397675f,-0.7067744731903076f }; - -const float b2[16] = { -0.6275243759155273f,0.7035140991210938f,0.62980055809021f,1.4861348867416382f,0.08716721832752228f,-0.4282395839691162f,-0.2845798134803772f,-2.1334736347198486f,-0.5640315413475037f,0.876550018787384f,-0.13218070566654205f,-0.996061384677887f,-1.1738464832305908f,-0.24521739780902863f,0.0576016828417778f,-0.5288206934928894f }; - -const float b3[16] = { -1.3697437047958374f,-1.2035200595855713f,-1.3548451662063599f,-1.102222204208374f,-0.05619557574391365f,0.5334264039993286f,0.6936960816383362f,-0.19088532030582428f,-0.37561899423599243f,1.822994589805603f,-0.5319691896438599f,0.9203968644142151f,-0.41231250762939453f,-0.8610756993293762f,-2.4311153888702393f,-1.7576136589050293f }; - -const float bout[1] = { 0.024319183081388474f }; +const float hout[16] = { 0.028529714792966843f,0.249660462141037f,0.05429621413350105f,0.13649047911167145f,0.21182763576507568f,1.8589720726013184f,1.9251549243927002f,0.9950587153434753f,1.9887455701828003f,-1.162423014640808f,-0.023119617253541946f,0.13996505737304688f,1.009389877319336f,-0.1522718071937561f,2.308634042739868f,0.1380276083946228f }; + +const float b1[16] = { 0.44875094294548035f,-1.0360865592956543f,-1.1075365543365479f,-0.3995904326438904f,-0.3227563202381134f,1.0322879552841187f,-0.39429977536201477f,0.11284410208463669f,3.0705134868621826f,4.676753044128418f,-0.18211516737937927f,-0.31427258253097534f,-2.6619958877563477f,-1.9939937591552734f,0.8003115057945251f,-0.6729674935340881f }; + +const float b2[16] = { -0.11054568737745285f,-0.11000818014144897f,-0.8041005730628967f,-0.7400949597358704f,0.4239952564239502f,-1.4137567281723022f,0.9374799132347107f,-1.5409705638885498f,-0.9115832448005676f,-1.1571590900421143f,0.5601513385772705f,-0.20241180062294006f,-0.4464137554168701f,0.4011272192001343f,-0.314651757478714f,-0.115329310297966f }; + +const float b3[16] = { 0.4329838752746582f,0.5600898861885071f,-0.8156418800354004f,-0.868074357509613f,-2.275556802749634f,0.5312483906745911f,-0.6398064494132996f,0.4554269015789032f,1.816382884979248f,-0.6808826923370361f,-0.05475400388240814f,-1.62785005569458f,-1.4683955907821655f,-1.0120080709457397f,1.087712287902832f,-0.919655442237854f }; + +const float bout[1] = { 0.7085913419723511f }; float valve_ref_pos_buffer[10] = {0.0f};