Location: BG_K1_uterine @ 8149f79fbadb / parameter_finder / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2025-08-14 12:38:38+12:00
Desc:
Has gating. adding sedml
Permanent Source URI:
https://staging.physiomeproject.org/workspace/d57/rawfile/8149f79fbadba355a1ec74bb683355a04bba2ddc/parameter_finder/square_error.m

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