Manifold Options
classdef ManifoldOptions < matlab.mixin.SetGet
properties
notation = 'tensor'
paramStyle = 'normalform'
reltol = 0.5
IRtol = 0.05
COMPtype = 'first'
contribNonAuto = true
solver = 'lsqminnorm'
end
methods
function set.notation(obj,notation)
switch lower(notation)
case 'tensor'
obj.notation = 'tensor';
case 'multiindex'
obj.notation = 'multiindex';
otherwise
error('Unknown notation type: set tensor or multiindex notation types')
end
end
function set.contribNonAuto(obj,contribNonAuto)
validateattributes(contribNonAuto,{'logical'},{'nonempty'})
obj.contribNonAuto = contribNonAuto;
end
end
end