You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: adimat_mldivide_vd.m
    path of file: ./repos/d2d/arFramework3/ThirdParty/StrucID/adimat/vector_directderivs
    
    the code of the file until where you have to start completion: % function d_res = adimat_mldivide_vd(A, d_B)
%
% Matrix left divide A by derivative object d_B.
%
% Copyright 2014 Johannes Willkom
    
function d_res = adimat_mldivide_vd(A, d_B)
%
% Matrix left divide A by derivative object d_B.
%
% Copyright 2014 Johannes Willkomm
function r = adimat_mldivide_vd(v, w)
  [~, n] = size(v);
  [ndd m p] = size(w);
  r = permute(reshape(v \ reshape(permute(w, [2 1 3]), [m ndd.*p]), [n ndd p]),[2,1,3]);
end