Location: BG_TCC @ 9013e062f457 / parameter_fitting / square_error.m
- Author:
- Shelley Fong <s.fong@auckland.ac.nz>
- Date:
- 2022-02-25 14:06:24+13:00
- Desc:
- Init
- Permanent Source URI:
- https://models.cellml.org/workspace/831/rawfile/9013e062f4570d3150bcc4df8b75ce3f956bc17a/parameter_fitting/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end