rcurtin_irc changed the topic of #mlpack to: mlpack: a scalable machine learning library (https://www.mlpack.org/) -- channel logs: https://libera.irclog.whitequark.org/mlpack -- NOTE: messages sent here might not be seen by bridged users on matrix, gitter, or slack
<ShubhamAgrawal[m> Can someone verify this testcase for armadillo?... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/2b2fd3771c0d401c71ec342ef57f7cb5e49e746d>)
zoq[m] has quit [Server closed connection]
zoq[m] has joined #mlpack
<rcurtin[m]> I didn't run it myself, do you want me to?
<rcurtin[m]> the results you pasted seem reasonable; I don't think that Armadillo would replace pinv(pinv(A)) with A (I'm actually not sure that is even valid. it would be for inv(inv(A)), but I also don't know if Armadillo would optimize that out)
<ShubhamAgrawal[m> Check property 6
<rcurtin[m]> Ahh, thanks. My guess then is just that it's not implemented on the grounds of "nobody would ever write code like that"
<rcurtin[m]> I don't know if Conrad would accept a patch for it, but you could see what he thinks. My prior probabilities are about 50% on whether he'd accept it, but with very high variance 😃
<ShubhamAgrawal[m> <rcurtin[m]> "I don't know if Conrad would..." <- Actually I don't know how to write these rules
<rcurtin[m]> yeah, I think the first thing would be to ask him if he's interested and where he would suggest doing that
<rcurtin[m]> for that one, my guess is in fn_pinv.hpp... you write another overload of pinv() and specialize on the argument type. I think it would be something like this ...
<rcurtin[m]> so, when we get an `Op<T1, op_pinv>` as an argument to pinv(), then the user has given something equivalent to `pinv(pinv(X))`, and instead of returning `Op<Op<T1, op_pinv>, op_pinv>`, we just want to return that `T1` on the inside
<ShubhamAgrawal[m> rcurtin[m]: How do I contact him? I dont see him here
<rcurtin[m]> oh, I would open an issue on https://gitlab.com/conradsnicta/armadillo-code
<rcurtin[m]> you could also email him, but Gitlab is probably the best way
<rcurtin[m]> it's probably worth mentioning why you want this and that you are working on mlpack :)
robobub has quit [Quit: Connection closed for inactivity]