grad_matrix


function grad_matrix<Gradient, Value>(d:Gradient[_,_], m:Value) ->

Gradient of matrix<Value>().

function grad_matrix<Gradient, Value>(d:Gradient[_,_], m:Value[_]) ->

Gradient of matrix<Value>().

function grad_matrix<Gradient, Value>(d:Gradient[_,_], m:Value[_,_]) ->

Gradient of matrix<Value>().