powered by
Abbreviation for collapsing matrices
gsi.csum(x) gsi.rsum(x)
the matrix
A numeric vector.
gsi.csum computes the sums of all the columns of x and gsi.rsum computes the sums of the rows of x. For convenience, only finite values are added.
sum
# NOT RUN { #A <- matrix(c(0,1,0,0,0,0),ncol=2) #b <- diag(3) #erg <- gsi.svdsolve(A,b) #erg #A %*% erg #diag(c(0,1,0)) # richtig # }
Run the code above in your browser using DataLab