Learn R Programming

gpuR (version 2.0.3)

nrow,vclMatrix-method: The Number of Rows/Columns of a gpuR matrix

Description

nrow and ncol return the number of rows or columns present in x respectively.

Usage

# S4 method for vclMatrix
nrow(x)

# S4 method for vclMatrix ncol(x)

# S4 method for gpuMatrix nrow(x)

# S4 method for gpuMatrix ncol(x)

Arguments

x

A gpuMatrix/vclMatrix object

Value

An integer of length 1