Location: cellLib @ 8c7258d71aa1 / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-02-21 09:00:18+13:00
- Desc:
- Correct the flow equation
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/8c7258d71aa1bc9a6eec298ffe07a77e8cd0821f/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end