colSums,gpuMatrix-method {gpuR}R Documentation

Row and Column Sums and Means of gpuMatrix

Description

Row and column sums and of gpuMatrix objects

Usage

## S4 method for signature 'gpuMatrix'
colSums(x)

## S4 method for signature 'gpuMatrix'
rowSums(x)

## S4 method for signature 'gpuMatrix'
colMeans(x)

## S4 method for signature 'gpuMatrix'
rowMeans(x)

Arguments

x

A gpuMatrix object

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.

Author(s)

Charles Determan Jr.


[Package gpuR version 2.0.6 Index]