Matrix_hub
Matrix_hub copied to clipboard
householder fun issue
the householder() function:
else if (fabs(_x->data[0]) <= APPROXIMATELY_ZERO){
_//the w Matrix should copy from _x not point to.., cause w will be released on the end(meanwhile the x will be released as well..);
w = Matrix_copy(_x); //_x;
w = M_numul(w, 1 / M_norm(w, 2));
}