ArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2015-05-10T11:39:21+02:00 https://brainmodular.org/forums/app.php/feed/topic/4900 2015-05-10T11:39:21+02:00 2015-05-10T11:39:21+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32712#p32712 <![CDATA[2D vector Math]]> float before all,

but it really depends of the purpose,
until your computation need long because of intermediate approximation and precision limit of the float format. but you'll know that only by trying with float before ;)

if it's 'only' to visually rotate a bunch of vectors, i don't see the need and extra memory of long.
DSP computation is another story and can benefit of long for intermediate result, even if the final number will be a float (as usine TPrecision is a float for now).

Statistics: Posted by martignasse — 10 May 2015, 11:39


]]>
2015-05-10T11:11:13+02:00 2015-05-10T11:11:13+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32711#p32711 <![CDATA[2D vector Math]]> Statistics: Posted by oli_lab — 10 May 2015, 11:11


]]>
2015-05-08T15:50:46+02:00 2015-05-08T15:50:46+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32697#p32697 <![CDATA[2D vector Math]]>
Now I need more sleepless nights.

Statistics: Posted by oli_lab — 08 May 2015, 15:50


]]>
2015-05-07T14:45:17+02:00 2015-05-07T14:45:17+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32680#p32680 <![CDATA[2D vector Math]]> Statistics: Posted by 23fx23 — 07 May 2015, 14:45


]]>
2015-05-07T14:02:29+02:00 2015-05-07T14:02:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32679#p32679 <![CDATA[2D vector Math]]> http://eigen.tuxfamily.org/index.php?title=Main_Page

Statistics: Posted by caco — 07 May 2015, 14:02


]]>
2015-05-06T22:35:34+02:00 2015-05-06T22:35:34+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32663#p32663 <![CDATA[2D vector Math]]>
is there a way to easilly do math directly on 2D vectors ?

for exemple multiply a vector by a scalar, add two vectors, normalize a vector ?

or should I do my own fonctions ?

thanx

Olivar

Statistics: Posted by oli_lab — 06 May 2015, 22:35


]]>
BrainModular BrainModular Users Forum 2015-05-10T11:39:21+02:00 https://brainmodular.org/forums/app.php/feed/topic/4900 2015-05-10T11:39:21+02:00 2015-05-10T11:39:21+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32712#p32712 <![CDATA[2D vector Math]]> float before all,

but it really depends of the purpose,
until your computation need long because of intermediate approximation and precision limit of the float format. but you'll know that only by trying with float before ;)

if it's 'only' to visually rotate a bunch of vectors, i don't see the need and extra memory of long.
DSP computation is another story and can benefit of long for intermediate result, even if the final number will be a float (as usine TPrecision is a float for now).

Statistics: Posted by martignasse — 10 May 2015, 11:39


]]>
2015-05-10T11:11:13+02:00 2015-05-10T11:11:13+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32711#p32711 <![CDATA[2D vector Math]]> Statistics: Posted by oli_lab — 10 May 2015, 11:11


]]>
2015-05-08T15:50:46+02:00 2015-05-08T15:50:46+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32697#p32697 <![CDATA[2D vector Math]]>
Now I need more sleepless nights.

Statistics: Posted by oli_lab — 08 May 2015, 15:50


]]>
2015-05-07T14:45:17+02:00 2015-05-07T14:45:17+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32680#p32680 <![CDATA[2D vector Math]]> Statistics: Posted by 23fx23 — 07 May 2015, 14:45


]]>
2015-05-07T14:02:29+02:00 2015-05-07T14:02:29+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32679#p32679 <![CDATA[2D vector Math]]> http://eigen.tuxfamily.org/index.php?title=Main_Page

Statistics: Posted by caco — 07 May 2015, 14:02


]]>
2015-05-06T22:35:34+02:00 2015-05-06T22:35:34+02:00 https://brainmodular.org/forums/viewtopic.php?t=4900&p=32663#p32663 <![CDATA[2D vector Math]]>
is there a way to easilly do math directly on 2D vectors ?

for exemple multiply a vector by a scalar, add two vectors, normalize a vector ?

or should I do my own fonctions ?

thanx

Olivar

Statistics: Posted by oli_lab — 06 May 2015, 22:35


]]>