opts_sparseVector: Constructive options for class 'sparseVector'

View source: R/s4-sparseVector.R

opts_sparseVectorR Documentation

Constructive options for class 'sparseVector'

Description

These options will be used on objects of class 'sparseVector' from the 'Matrix' package, i.e. objects of classes such as 'dsparseVector', 'isparseVector', 'lsparseVector', 'nsparseVector' or 'zsparseVector'.

Usage

opts_sparseVector(constructor = c("sparseVector", "next"), ...)

Arguments

constructor

String. Name of the function used to construct the object, see Details section.

...

Additional options used by user defined constructors through the opts object

Details

Depending on constructor, we construct the object as follows:

  • "sparseVector" (default): We build the object using Matrix::sparseVector().

  • "next" : Use the constructor for the next supported class. Call .class2() on the object to see in which order the methods will be tried.

Value

An object of class <constructive_options/constructive_options_sparseVector>


constructive documentation built on Oct. 22, 2026, 5:07 p.m.