add.raw_cf: add two 'raw_cf' objects

View source: R/raw_cf.R

add.raw_cfR Documentation

add two raw_cf objects

Description

add two raw_cf objects

Usage

add.raw_cf(cf1, cf2, a = 1, b = 1)

Arguments

cf1

first 'raw_cf' container with data and meta-data

cf2

second 'raw_cf' container with data and meta-data

a

Numeric or complex, scaling factor applied to cf1.

b

Numeric or complex, scaling factor applied to cf2.

Value

a*cf1$data + b*cf2$data


hadron documentation built on Sept. 9, 2022, 5:06 p.m.