Learn R Programming

rkeops (version 2.2.2)

Vj: Wrapper LazyTensor indexed by "j".

Description

Simple wrapper returning an instance of LazyTensor indexed by "j". Equivalent to LazyTensor(x, index = "j").

Usage

Vj(x, is_complex = FALSE)

Value

An object of class "LazyTensor" indexed by "j".

Arguments

x

A matrix of numeric values.

is_complex

A boolean (default is FALSE). Whether we want to create a ComplexLazyTensor (is_complex = TRUE) or a LazyTensor (is_complex = FALSE).

Author

Chloe Serre-Combe, Amelie Vernay

Details

See ?LazyTensor for more details.

Examples

Run this code
if (FALSE) {
x <- matrix(runif(150 * 3), 150, 3)
Vj_x <- Vj(x) # symbolic object representing an arbitrary row of x, 
              # indexed by the letter "j"
}

Run the code above in your browser using DataLab