public void Cos(IFrontend <T> trgt, IFrontend <T> src)
 {
     var(dataLayoutTrgt, dataLayout) = ElemwiseDataAndLayout(trgt, src);
     ScalarOps.Cos(dataLayoutTrgt, dataLayout);
 }