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: rotate.m
    path of file: ./repos/mtex/SO3Fun/@SO3FunSBF
    
    the code of the file until where you have to start completion: function SO3F = rotate(SO3F,rot,varargin)
% rotate function on SO(3) by a rotation
%
% Syntax
%   SO3F = rotate(SO3F,rot)
%
% Input
%  SO3F - @SO3FunSBF
%  rot  - @rotation
%
% Output
%  SO3F - @SO3FunSBF
%
% See also
% SO3FunHandle/rotate_outer
    
ss = SO3F.SS.rot;

    
function SO3F = rotate(SO3F,rot,varargin)
% rotate function on SO(3) by a rotation
%
% Syntax
%   SO3F = rotate(SO3F,rot)
%
% Input
%  SO3F - @SO3FunSBF
%  rot  - @rotation
%
% Output
%  SO3F - @SO3FunSBF
%
% See also
% SO3FunHandle/rotate_outer
    
ss = SO3F.SS.rot;
if length(ss)>2 && ~any(rot == ss(:))
  warning('Rotating an ODF with specimen symmetry will remove the specimen symmetry')
  SO3F.SS = specimenSymmetry;
end