Location: BG_NSCC @ e9a1df1c5647 / parameter_finder / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2025-08-01 14:09:05+12:00
Desc:
Adding gating and the SEDml file
Permanent Source URI:
https://staging.physiomeproject.org/workspace/d54/rawfile/e9a1df1c5647a06dc3aee5d9ab44c3e756b54f28/parameter_finder/square_error.m

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