MatrixBerryCore
updateleaves.m
Go to the documentation of this file.
1 function SData=updateleaves(SData,fUpdateFunc)
2 SData=mxberry.core.struct.updateleavesext(SData,@fUpdateExtFunc);
3  function [val,path]=fUpdateExtFunc(val,path)
4  val=fUpdateFunc(val,path);
5  end
6 end
7 
function fUpdateExtFunc(in val, in path)
function updateleaves(in SData, in fUpdateFunc)
UPDATELEAVES applies the specified function to each structure leave value and returns the updated str...