doubleMatrix: Allocate double, integer, or logical matricies

View source: R/c.R

doubleMatrixR Documentation

Allocate double, integer, or logical matricies

Description

Allocate double, integer, or logical matricies in one step without copying memory around.

Usage

doubleMatrix(nrow = 0, ncol = 0)
integerMatrix(nrow = 0, ncol = 0)
logicalMatrix(nrow = 0, ncol = 0)

Arguments

nrow

number of matrix rows

ncol

number of matrix columns

Value

Matrix of double, integer, or logical values. Memory is not zeroed.

Author(s)

Colin A. Smith, csmith@scripps.edu


sneumann/xcms documentation built on March 18, 2023, 6:24 p.m.