dims: dim

dimsR Documentation

dim

Description

Dimension information for a float vector/matrix.

Usage

## S4 method for signature 'float32'
nrow(x)

## S4 method for signature 'float32'
ncol(x)

## S4 method for signature 'float32'
NROW(x)

## S4 method for signature 'float32'
NCOL(x)

## S4 method for signature 'float32'
dim(x)

## S4 method for signature 'float32'
length(x)

## S4 replacement method for signature 'float32'
dim(x) <- value

Arguments

x

A float vector/matrix.

value

The right hand side for the "setter" (dim<-).

Value

The requested integer values.

Examples

library(float)

s = flrunif(10, 3)
dim(s)
nrow(s)
ncol(s)


float documentation built on May 29, 2024, 8:13 a.m.