Learn R Programming

gpuR (version 2.0.6)

colSums,gpuMatrix-method: Row and Column Sums and Means of gpuMatrix

Description

Row and column sums and of gpuMatrix objects

Usage

# S4 method for gpuMatrix
colSums(x)

# S4 method for gpuMatrix rowSums(x)

# S4 method for gpuMatrix colMeans(x)

# S4 method for gpuMatrix rowMeans(x)

Value

A gpuvector containing the sum of each column in the gpuMatrix.

A gpuvector containing the sum of each row in the gpuMatrix.

A gpuvector containing the mean of each column in the gpuMatrix.

A gpuvector containing the mean of each row in the gpuMatrix.

Arguments

x

A gpuMatrix object

Author

Charles Determan Jr.