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: mtimes.m
    path of file: ./repos/chebfun/@chebfun2v
    
    the code of the file until where you have to start completion: function F = mtimes( F, G )
%*  mtimes for CHEBFUN2V.
%
%  c*F or F*c multiplies each component of a CHEBFUN2V by a scalar.
%

    
function F = mtimes( F, G )
%*  mtimes for CHEBFUN2V.
%
%  c*F or F*c multiplies each component of a CHEBFUN2V by a scalar.
%
%  A*F multiplies the vector of functions F by the matrix A assuminG that
%  size(A,2) == size(F,1).
%
%  F*G calculates the inner product between F and G if size(F,3) ==
%  size(G,1). If the sizes are appropriate then F*G = dot(F.',G).
%
% See also TIMES.

% Copyright 2017 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.


% Empty check:
if ( ( isempty(F) ) || ( isempty(G) ) )
    F = chebfun2v;
    return
end