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

Description Usage Arguments Details Value Note Author(s) See Also Examples

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

1
2
3
4
5
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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 May 30, 2017, 3:25 a.m.

Search within the compositions package
Search all R packages, documentation and source code