-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructh.m
62 lines (47 loc) · 1.35 KB
/
structh.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
classdef structh < builtinHandleClass & handle
%structh - structure passed by reference
methods
function obj = structh(data)
obj@builtinHandleClass(data)
end
end
%% Overload builtin methods
methods
function out = amd(obj, varargin)
out = amd(obj.data, varargin{:});
end
function out = ctranspose(obj, varargin)
out = ctranspose(obj.data, varargin{:});
end
function out = fieldnames(obj, varargin)
out = fieldnames(obj.data, varargin{:});
end
function out = fields(obj, varargin)
out = fields(obj.data, varargin{:});
end
function out = ichol(obj, varargin)
out = ichol(obj.data, varargin{:});
end
function out = ilu(obj, varargin)
out = ilu(obj.data, varargin{:});
end
function out = linsolve(obj, varargin)
out = linsolve(obj.data, varargin{:});
end
function out = manorm(obj, varargin)
out = manorm(obj.data, varargin{:});
end
function out = permute(obj, varargin)
out = permute(obj.data, varargin{:});
end
function out = reshape(obj, varargin)
out = reshape(obj.data, varargin{:});
end
function out = struct2cell(obj, varargin)
out = struct2cell(obj.data, varargin{:});
end
function out = transpose(obj, varargin)
out = transpose(obj.data, varargin{:});
end
end
end