LightJason / Java-AgentSpeak

LightJason - AgentSpeak(L++) for Java
https://agentspeak-java.lightjason.org
Other
23 stars 7 forks source link

missing test functions of bitvector #16

Closed Fatema080136 closed 7 years ago

Fatema080136 commented 7 years ago

I do not understand ToBlas function completely that is why do not know that the resulted value is correct or not.

flashpixx commented 7 years ago

Please finish the test entirely, for details take a look on the documentation of COLT The calls do only converting the data objects

Fatema080136 commented 7 years ago

I have seen the documentation. Did not find toBlas in bitVector package. I understood that it coverts vector to doublematrix1D and it works perfectly. One thing I could not understand is that how {false, true, true} (vector) is converted to -7.0 (doublematrix1D).

flashpixx commented 7 years ago

elements returns the decimal definition of the bit sequence, but I have changed in the commit f1f0f66d605cad02dde7388b8b513c0c8ef7d98b the results of toBlas so that the method has the correct behaviour

flashpixx commented 7 years ago

I have added toBlas also to the matrix package because auf uniformity