display

PURPOSE ^

display for the objective_function class.

SYNOPSIS ^

function []=display(of)

DESCRIPTION ^

  display for the objective_function class.

  []=display(of)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %
0002 %  display for the objective_function class.
0003 %
0004 %  []=display(of)
0005 %
0006 function []=display(of)
0007 
0008 if ~isa(of,'objective_function')
0009     error('Object ''%s'' is a ''%s'' class object, not ''%s''.',...
0010         inputname(1),class(of),'objective_function');
0011 end
0012 
0013 %  display the object
0014 
0015 disp(sprintf('\n'));
0016 for i=1:numel(of)
0017     disp(sprintf('class ''%s'' object ''%s%s'' = \n',...
0018         class(of),inputname(1),string_dim(of,i)));
0019     disp(sprintf('    descriptor: ''%s'''  ,of(i).descriptor));
0020     disp(sprintf('    scale_type: ''%s'''  ,of(i).scale_type));
0021     disp(sprintf('         scale: %g'      ,of(i).scale));
0022     disp(sprintf('        weight: %g\n'    ,of(i).weight));
0023 end
0024 
0025 end

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003