I want to compute double dot product in Arrayfire. is there any function in arrayfire to use for double dot product. This is my tensor, that I wish to impelment:
AA:(E_iE_i - c^2I)
where, A--> 2D-array ; E_i --> 1D array (defined as col. vec in arrayfire)
c --> scalar/constant ; I --> identity matrix
Any suggestion, reference, plz.