Skip to contents

Convenience wrapper around ttm() for vector contractions.

Usage

ttv(tensor, vector, mode = NULL)

Arguments

tensor

A Tensor-like object.

vector

A numeric vector or list of numeric vectors.

mode

Integer mode or modes to contract.

Value

A Tensor object.