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: innerProduct.m
    path of file: ./repos/chebfun/@chebtech
    
    the code of the file until where you have to start completion: function out = innerProduct(f, g)
%INNERPRODUCT   Compute the inner product of two CHEBTECH objects.
%   INNERPRODUCT(F, G) returns the L2 inner product (on [-1,1]) of the two
%   CHEBTECH objects F and G (conjugate linear in F).
%
%   If F and/or G are array-valued CHEBTECH objects, then the result is a matrix
%   whose i,j entry is the inner product of the ith column of F with the jth
%   column of G.

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

    
function out = innerProduct(f, g)
%INNERPRODUCT   Compute the inner product of two CHEBTECH objects.
%   INNERPRODUCT(F, G) returns the L2 inner product (on [-1,1]) of the two
%   CHEBTECH objects F and G (conjugate linear in F).
%
%   If F and/or G are array-valued CHEBTECH objects, then the result is a matrix
%   whose i,j entry is the inner product of the ith column of F with the jth
%   column of G.

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

% Deal with empty case:
if ( isempty(f) || isempty(g) )
    out = [];
    return
end