Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LRT_infinite_dimensional_systems
conI
Commits
f8746d12
Commit
f8746d12
authored
Sep 03, 2020
by
Ferdinand Fischer
Browse files
removed remaining occurrences of changeGrid
parent
2ee768a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
+quantity/Discrete.m
View file @
f8746d12
...
...
@@ -920,7 +920,7 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ...
min
(
find
(
gridSelector
,
1
,
'last'
)
+
1
,
numel
(
gridSelector
))])
=
1
;
limitedGrid
=
obj
(
1
)
.
grid
{
1
}(
gridSelector
);
objCopy
=
obj
.
copy
();
objCopy
=
objCopy
.
change
Grid
({
limitedGrid
},
gridName
);
objCopy
=
objCopy
.
change
Domain
(
quantity
.
Domain
(
gridName
,
limitedGrid
)
);
objInverseTemp
=
objCopy
.
invert
(
gridName
);
else
objInverseTemp
=
obj
.
invert
(
gridName
);
...
...
@@ -1495,11 +1495,11 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ...
for
it
=
1
:
numel
(
obj
)
newObj
(
it
)
.
valueDiscrete
=
obj
(
it
)
.
on
(
newDomain
);
end
end
% change
Grid
()
end
% change
Domain
()
function
newObj
=
replaceGrid
(
obj
,
myNewDomain
,
optArgs
)
%
CHANG
EGRID change the grid of the quantity.
%
REPALC
EGRID change the grid of the quantity.
% newObj = REPLACEGRID(obj, MYNEWDOMAIN, "gridName", NEWGRIDNAME)
% replace the grid of the obj quantity. The order of grid and
% gridName in the obj properties remains unchanged, only the
...
...
+signals/PolynomialOperator.m
View file @
f8746d12
...
...
@@ -483,12 +483,7 @@ classdef PolynomialOperator < handle & matlab.mixin.Copyable
Phi
=
signals
.
PolynomialOperator
(
Phi
);
Psi
=
signals
.
PolynomialOperator
(
Psi
);
end
function
newOperator
=
changeGrid
(
obj
,
gridNew
,
gridNameNew
)
warning
(
"DEPRICATED: Use subs instead"
)
newOperator
=
signals
.
PolynomialOperator
(
obj
.
M
.
changeGrid
(
gridNew
,
gridNameNew
));
end
function
newOperator
=
subs
(
obj
,
varargin
)
newOperator
=
obj
.
M
.
subs
(
varargin
{:});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment