GenStoch: Generate many matrices from a stochastic forcing

Description Usage Arguments Details Value

Description

Generate many matrices from a stochastic forcing

Usage

1
  GenStoch(force.vec, base.matrix, element.mask, force.fxn)

Arguments

force.vec

sequence of numbers to force with

base.matrix

square matrix upon which to perform forcing

element.mask

elements on which to operate can be matrix of logicals or ONE index i, j

force.fxn

forcing function: see details

Details

The function force.fxn(forcing, elements) will take the elements of force.vec and elements as its arguments, and return a new vector representing the forced elements

Value

list (with length equal to force.vec) of matrices of same dimension as base.matrix


ashander/matrixmodels documentation built on May 12, 2019, 4:40 a.m.