Location: BG_TCC @ 5b92820ca957 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-08 11:57:31+13:00
Desc:
Remove vol_o
Permanent Source URI:
https://models.cellml.org/workspace/831/rawfile/5b92820ca957528ae68fd437d0e55f651b75666c/matlab_parameter_fitting/square_error.m

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