innerProd-methods: Tensors Inner Product

Description Usage Arguments Details Value Examples

Description

Returns the inner product between two Tensors

Usage

1
2
3
4
innerProd(tnsr1, tnsr2)

## S4 method for signature 'Tensor,Tensor'
innerProd(tnsr1, tnsr2)

Arguments

tnsr1

first Tensor instance

tnsr2

second Tensor instance

Details

innerProd(tnsr1,tnsr2)

Value

inner product between x1 and x2

Examples

1
2
3
tnsr1 <- rand_tensor()
tnsr2 <- rand_tensor()
innerProd(tnsr1,tnsr2)

jamesyili/rTensor documentation built on May 18, 2019, 11:22 a.m.