Rank: 2907 based on 40 downloads (last 30 days) and 2 files submitted
photo

Jason Farquhar

E-mail

Personal Profile:
Professional Interests:
Machine Learning, Brain Computer Interfaces

 

Watch this Author's files

 

Files Posted by Jason View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Mar 2012 TPROD -- arbitary tensor products between n-d arrays TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays Author: Jason Farquhar matrices, multidimensional mult..., einstein summation, tensor product 33 14
  • 5.0
5.0 | 9 ratings
13 Oct 2010 REPOP -- efficient replicating n-d array operations REPOP -- any element-wise operator between different sized n-d matrices without memory copies Author: Jason Farquhar matrices, replicating array ope... 7 2
Comments and Ratings on Jason's Files View all
Updated File Comment by Comments Rating
24 Jan 2014 TPROD -- arbitary tensor products between n-d arrays TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays Author: Jason Farquhar Mahdi

27 Sep 2013 TPROD -- arbitary tensor products between n-d arrays TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays Author: Jason Farquhar Lennart

Maybe some extra explanation about the syntax would help the people less known with Tensor Algebra like myself.

27 Sep 2013 TPROD -- arbitary tensor products between n-d arrays TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays Author: Jason Farquhar Lennart

Extremely useful, ridiculous that matlab cant do this normally. When your functions get single precision input more than half of the inbuilt tests fail by the way.

02 May 2012 TPROD -- arbitary tensor products between n-d arrays TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays Author: Jason Farquhar Hespanha, Joao

Sounds great, but I get accuracy error in tprod_testcases:

****************
Double Real X, Single Real Y
******************
dRsR OuterProduct, [1],[2] = 5.96e-08 Passed
dRsR Inner product, [-1],[-1] = 3.76e-08 Passed
dRsR Matrix product, [1 -1],[-1 2] = 3.22e-06 Passed
dRsR transposed matrix product, [-1 1],[-1 2] = 3.56e-06 Passed
dRsR Matrix frobenius norm, [-1 -2],[-1 -2] = 6.94e-07 Passed
dRsR transposed matrix frobenius norm, [-1 -2],[-2 -1] = 7.48e-07 Passed
dRsR ignored dims, [0 -2],[-2 2 1] = 4.49e-06 Passed
dRsR spatio-temporal filter [-1 -2 1],[-1 -2] = 7.2e-05 **FAILED***

The above was from MATLAB 7.14.0.739 (R2012a), OSX Xcode 4.3. I've also tried it with MATLAB 7.13.0.564 (R2011b), OSX Xcode 4.3 and I also get an accuracy error, but at a different spot:

****************
Double Real X, Single Real Y
******************
dRsR OuterProduct, [1],[2] = 5.96e-08 Passed
dRsR Inner product, [-1],[-1] = 2.88e-07 Passed
dRsR Matrix product, [1 -1],[-1 2] = 2.94e-06 Passed
dRsR transposed matrix product, [-1 1],[-1 2] = 3.55e-06 Passed
dRsR Matrix frobenius norm, [-1 -2],[-1 -2] = 3.65e-05 **FAILED***
Warning: dRsR Matrix frobenius norm, [-1 -2],[-1 -2]: failed!

11 Apr 2012 TPROD -- arbitary tensor products between n-d arrays TPROD -- efficiently allows any type of tensor product between 2 multi-dimensional arrays Author: Jason Farquhar Lauwerys, Christophe

Great tool, thanks. (how) would it be possible to create a simulink block with this functionality?

Contact us