gpuMatrix.colSums: Row and Column Sums and Means of gpuMatrix

colSums,gpuMatrix-methodR 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.


gpuR documentation built on May 29, 2024, 11:56 a.m.