scalar: A shortcut to create scalar as 'aria_tensor'

Description Usage Arguments Value Examples

View source: R/tensor.R

Description

You don't have to use scalar explicitly.

Usage

1
scalar(x)

Arguments

x

A single numeric

Value

An instance of 'aria_tensor'

Examples

1
2
x <- scalar(2)
x

krzjoa/aria documentation built on Oct. 1, 2020, 12:48 p.m.