Location: BG_CaB @ 16d487202046 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <s.fong@auckland.ac.nz>
Date:
2022-03-07 11:27:42+13:00
Desc:
Renaming comp
Permanent Source URI:
https://models.cellml.org/workspace/82a/rawfile/16d487202046131593834349773bb08463fa9940/matlab_parameter_fitting/square_error.m

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