shabbychef / madness

Multivariate Automatic Differentiation R package
GNU Lesser General Public License v3.0
31 stars 0 forks source link

Cannot extract scalar? #7

Open shabbychef opened 8 years ago

shabbychef commented 8 years ago

The following should work:

 X_mad <- madness(array(1:4,dim=c(1,4)))
 y <- X_mad ^ X_mad[1,2]

However, it does not.

shabbychef commented 7 years ago

Wait, what was the issue? Taking to a power or extracting the scalar? The latter works now:

X_mad <- madness(array(1:4,dim=c(1,4)))
Y_mad <- X_mad[1,2]

So perhaps the remaining bug is just #6?