Learn R Programming

rkeops (version 2.2.2)

Pm: Wrapper LazyTensor parameter.

Description

Simple wrapper returning an instance of a fixed parameter LazyTensor. Equivalent to LazyTensor(x).

Usage

Pm(x, is_complex = FALSE)

Value

An object of class "LazyTensor" in parameter category. See ?LazyTensor for more details.

Arguments

x

A vector or a scalar value.

is_complex

A boolean (default is FALSE). Whether if 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 <- 4
Pm_x <- Pm(x)
}

Run the code above in your browser using DataLab