Location: cellLib @ c9682a987f6f / BG_fit / square_error.m
- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-04-13 18:59:53+12:00
- Desc:
- Replace writeDefault.m with getPara.m
- Permanent Source URI:
- https://models.cellml.org/workspace/6bc/rawfile/c9682a987f6f0cc4dfe37b93e624fb86c5d0c1fe/BG_fit/square_error.m
function result = square_error(vector) if ~iscolumn(vector) vector = transpose(vector); end result = transpose(vector)*vector; end