Bind: bind

10-BindR Documentation

bind

Description

rbind() and cbind() for MPCR objects.

Usage

## S4 method for signature 'Rcpp_MPCR'
MPCR.rbind(x,y)

## S4 method for signature 'Rcpp_MPCR'
MPCR.cbind(x,y)

Arguments

x

An MPCR object.

y

An MPCR object.

Value

An MPCR object, matching the data type of the highest precision input.

Examples

library(MPCR)
# create 2 MPCR matrix a,b
a <- as.MPCR(1:20,nrow=2,ncol=10,"single")
b <- as.MPCR(21:40,nrow=2,ncol=10,"double")

x <- MPCR.rbind(a,b)
y <- MPCR.cbind(a,b)


MPCR documentation built on April 13, 2025, 5:08 p.m.

Related to Bind in MPCR...