aplusarithm: vectorial arithmetic for data sets with aplus class
Description
The positive vectors equipped with the perturbation (defined as
the element-wise product) as Abelian sum, and powertransform (defined as the element-wise
powering with a scalar) as scalar multiplication forms a real vector
space. These vector space operations are defined here in a similar way
to +.rmult.
Usage
perturbe.aplus(x,y)
# S3 method for aplus
+(x,y)
# S3 method for aplus
-(x,y)
# S3 method for aplus
*(x,y)
# S3 method for aplus
/(x,y)
## Methods for aplus
## x+y
## x-y
## -x
## x*r
## r*x
## x/r
power.aplus(x,r)
Value
an object of class "aplus" containing the result of the
corresponding operation on the vectors.
The operators try to mimic the parallel operation of R for vectors of
real numbers to vectors of amounts, represented as matrices containing
the vectors as rows and works like the operators for {rmult}