Location: BG_CaB @ 79e873263db5 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-13 11:30:33+13:00
Desc:
Updating cellml and sedml
Permanent Source URI:
https://staging.physiomeproject.org/workspace/82a/rawfile/79e873263db54c497610501f4eafa206806a535a/matlab_parameter_fitting/square_error.m

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