Commit 22d1a5f9 authored by Ferdinand Fischer's avatar Ferdinand Fischer
Browse files

Typo

parent 56ec3743
......@@ -105,7 +105,7 @@ classdef Operator < handle & matlab.mixin.Copyable
I = quantity.Operator(II);
end
function value = applyOn(obj, y, varargin)
function value = applyTo(obj, y, varargin)
% APPLYON evaluation of the differential parameterization
% VALUE = applyOn(OBJ, Y, varargin) applies the operator OBJ
% on the function Y, i.e.,
......
......@@ -37,7 +37,7 @@ testCase.TestData.a = a;
end
function testApplyOn(testCase)
function testApplyTo(testCase)
A = [0 1 0; 0 0 1; - (1:3)];
B = [0 0 1]';
......@@ -51,8 +51,8 @@ function testApplyOn(testCase)
sol.y = quantity.Symbolic( t.^3 .* (1 - t).^3, ...
'grid', linspace(0, 1, 1e2), 'gridName', 't');
sol.u = detsIA.applyOn(sol.y);
sol.x = adjB.applyOn(sol.y);
sol.u = detsIA.applyTo(sol.y);
sol.x = adjB.applyTo(sol.y);
[sim.y, sim.t, sim.x] = lsim(sys, sol.u.on(), sol.y.domain.grid, 'foh');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment