Location: BG_CaB @ 9bcb13c79350 / matlab_parameter_fitting / square_error.m

Author:
Shelley Fong <sfon036@UoA.auckland.ac.nz>
Date:
2024-11-05 14:28:14+13:00
Desc:
Adding link to protein knowledge
Permanent Source URI:
https://models.fieldml.org/workspace/82a/rawfile/9bcb13c79350e86975bf2fc6ff9523d0a70574b8/matlab_parameter_fitting/square_error.m

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