Changeset 22744 for issm/trunk-jpl/src/m/classes/autodiff.m
- Timestamp:
- 05/07/18 13:12:44 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/classes/autodiff.m ¶
r22515 r22744 130 130 names{i}=indep.name; 131 131 types(i)=indep.typetoscalar(); 132 min_parameters(:, i)=indep.min_parameters;133 max_parameters(:, i)=indep.max_parameters;132 min_parameters(:,:,i)=indep.min_parameters; 133 max_parameters(:,:,i)=indep.max_parameters; 134 134 scaling_factors(i)=indep.control_scaling_factor; 135 control_sizes(i) = indep.control_size; 136 135 137 end 136 138 WriteData(fid,prefix,'data',names,'name','md.autodiff.independent_object_names','format','StringArray'); … … 138 140 WriteData(fid,prefix,'data',min_parameters,'name','md.autodiff.independent_min_parameters','format','DoubleMat','mattype',3); 139 141 WriteData(fid,prefix,'data',max_parameters,'name','md.autodiff.independent_max_parameters','format','DoubleMat','mattype',3); 140 WriteData(fid,prefix,'data',scaling_factors,'name','md.autodiff.independent_scaling_factors','format',' DoubleMat','mattype',3);141 142 WriteData(fid,prefix,'data',scaling_factors,'name','md.autodiff.independent_scaling_factors','format','IntMat','mattype',3); 143 WriteData(fid,prefix,'data',control_sizes,'name','md.autodiff.independent_control_sizes','format','IntMat','mattype',3); 142 144 143 145 end
Note:
See TracChangeset
for help on using the changeset viewer.