lots of cleanup and simplification in test case construction
This commit is contained in:
1 parent
08e396c155
commit
bcb3bc3da3
65 files changed
+150
-265
No files matched your search
@@ -0,0 +1,13 @@
|
||||
function f = objectiveFunctionWrapper(center)
|
||||
% Convenience function to generate MVNPDFs at a point
|
||||
% Makes it look a lot neater to instantiate and sum these to make
|
||||
% composite objectives in particular
|
||||
arguments (Input)
|
||||
center (1, 2) double;
|
||||
end
|
||||
arguments (Output)
|
||||
f (1, 1) {mustBeA(f, 'function_handle')};
|
||||
end
|
||||
|
||||
f = @(x, y) mvnpdf([x(:), y(:)], center);
|
||||
end
|
||||
Reference in new issue
Block a user