On Fri, Feb 26, 2010 at 01:36:50AM -0500, kamaraju kusumanchi wrote:
> I am a bit confused about where the result of a matrix operation
> function is stored. For example consider gsl_matrix_add as described
> in http://www.gnu.org/software/gsl/manual/html_node/Matrix-operations.html.
>
> Function: int gsl_matrix_add (gsl_matrix * a, const gsl_matrix * b)
>
> This function adds the elements of matrix b to the elements of
> matrix a, a'(i,j) = a(i,j) + b(i,j). The two matrices must have the
> same dimensions.
Actually, the help text is clearer than the formula:
"adds the elements of matrix b to the elements of matrix a"
So, after the call, you have a different matrix a then before.
Thomas
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl