Location: cellLib @ 91fe586a0fe0 / BG_fit / square_error.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-04-13 20:56:06+12:00
Desc:
add updateVIO.m and correct getPara.m
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/91fe586a0fe054a25297169a6cc939bd3560e4ab/BG_fit/square_error.m

function result = square_error(vector)
    if ~iscolumn(vector)
        vector = transpose(vector);
    end
    result = transpose(vector)*vector;
end