redim: New Dimensions

View source: R/RcppExports.R

redimR Documentation

New Dimensions

Description

Write new dimension vector while keeping the old memory

Usage

redim(x, di)

Arguments

x

A numeric array

di

An integer vector, new dimensions

Value

None

Examples

a=matrix(as.double(1:12), 6, 2)
redim(a, c(3, 4))
dim(a)
# [1] 3 4

multbxxc documentation built on June 27, 2024, 1:06 a.m.