Skip to contents

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

Usage

Vi(x, is_complex = FALSE)

Arguments

x

A matrix of numeric values, or a scalar value.

is_complex

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

Value

An object of class "LazyTensor" indexed by "i". See ?LazyTensor for more details.

Details

See ?LazyTensor for more details.

Author

Chloe Serre-Combe, Amelie Vernay

Examples

if (FALSE) {
x <- matrix(runif(150 * 3), 150, 3)
Vi_x <- Vi(x) # symbolic object representing an arbitrary row of x, 
              # indexed by the letter "i"
}