sdcTable (version 0.20.5)

init.simpleTriplet: initialize simpleTriplet-objects depending on argument type

Description

init.simpleTriplet should be used to create objects of class simpleTriplet. It is possible to create an object from class simpleTriplet from an existing matrix (using type=='simpleTriplet'). A positive (or negative) identity matrix stored as an object of class simpleTriplet can be created by specifying type=='simpleTripletDiag'.

Usage

init.simpleTriplet(type, input)

## S3 method for class 'character,list': init.simpleTriplet(type, input)

Arguments

type
a character vector of length 1 defining what|how to initialize. Allowed types are:
input
a list depending on argument type.

Value

  • an object of class simpleTriplet