RobinHankin / onion

R functionality to deal with quaternions and octonions
6 stars 1 forks source link

numeric matrix plus onionmat fails #13

Closed RobinHankin closed 3 years ago

RobinHankin commented 3 years ago
> matrix(1,2,2) + matrix(roct(4),2,2)
Error in matrix(1, 2, 2) + matrix(roct(4), 2, 2) : 
  non-numeric argument to binary operator
> 
RobinHankin commented 3 years ago

But:

> matrix(roct(4),2,2)^diag(2)
Error in onionmat_power_onionmat(e1, e2) : not defined
>