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: div_right.m
    path of file: ./repos/mtex/SO3Fun/@SO3VectorFieldHarmonic/private
    
    the code of the file until where you have to start completion: function d = div_right(SO3VF,varargin)
% right-sided divergence of an SO3VectorFieldHarmonic
%
% Syntax

    
function d = div_right(SO3VF,varargin)
% right-sided divergence of an SO3VectorFieldHarmonic
%
% Syntax
%   D = SO3VF.div % compute the divergence
%   d = SO3VF.div(rot) % evaluate the divergence in rot
%
% Input
%  SO3VF - @SO3VectorFieldHarmonicRight
%  rot  - @rotation / @orientation
%
% Output
%  D - @SO3FunHarmonic
%  d - @double divergence of |SO3VF| at rotation |rot|
%
% See also
% SO3VectorField/div SO3FunHarmonic/grad


% fallback to generic method
if check_option(varargin,'check')
  d = div@SO3VectorField(SO3VF,varargin{:});
  return
end