grzegorzmazur / yacas

Computer calculations made easy
http://www.yacas.org
GNU Lesser General Public License v2.1
126 stars 24 forks source link

half-vectorization bug #325

Closed grzegorzmazur closed 3 years ago

grzegorzmazur commented 3 years ago

For the symmetric matrix

1  2  3
2  4  5
3  5  6

The half-vectorization should be {1, 2, 3, 4, 5, 6} right? I am assuming that the operation vectorizes the lower triangular elements by column. However, yacas returns {1, 2, 4, 3, 5, 6}.

Originally posted by @jeksterslab in https://github.com/r-cas/ryacas/issues/57#issuecomment-778657205