gsiadd: Internal functions: Parallel operations of single and...

gsi.addR Documentation

Internal functions: Parallel operations of single and multiple datasets

Description

The given operations are performed in parallel for multiple datasets or for two single datasets, or for multiple datasets with a single dataset.

Usage

gsi.add(x,y)
gsi.sub(x,y)
gsi.mul(x,y)
gsi.div(x,y)
          

Arguments

x

a vector or a matrix

y

a vector or a matrix

Details

All operations +,-,*,/ are performed on unclassed objects.

Value

a vector or a matrix with the operated values

Note

It is better not to use gsi.* functions directly since they are internal functions of the package

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

See Also

perturbe

Examples

tmp1 <- matrix(1:12,ncol=3)
tmp2 <- 1:3
#gsi.add(tmp1,tmp2)
#gsi.sub(tmp1,tmp2)
#gsi.mul(tmp1,tmp2)
#gsi.div(tmp1,tmp2)

#gsi.add(tmp2,tmp2)
#gsi.sub(tmp2,tmp2)
#gsi.mul(tmp2,tmp2)
#gsi.div(tmp2,tmp2)

#gsi.add(tmp1,tmp1)
#gsi.sub(tmp1,tmp1)
#gsi.mul(tmp1,tmp1)
#gsi.div(tmp1,tmp1)


compositions documentation built on June 22, 2024, 12:15 p.m.