LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getLimitedClassDependence.m
1function gamma = getLimitedClassDependence(self)
2% gamma = GETLIMITEDCLASSDEPENDENCE()
3
4% Copyright (c) 2012-2026, Imperial College London
5% All rights reserved.
6
7M = getNumberOfStations(self);
8gamma = cell(M,0);
9for i=1:M
10 if ~isempty(self.stations{i}.lcdScaling)
11 gamma{i} = self.stations{i}.lcdScaling; % function handle
12 end
13end
14if ~isempty(gamma)
15 % if the model has at least on class-dep station then fill-in the
16 % others
17 for i=1:M
18 if isempty(self.stations{i}.lcdScaling)
19 gamma{i} = @(nvec) 1;
20 end
21 end
22end
23end