symmetric-tensor-eval
Evaluates a symmetric tensor at a given vector.
Example
Install
npm install symmetric-tensor-eval
require("symmetric-tensor-eval")(dimension, rank, coeffs, x)
Evaluates a multivariable polynomial at the point x
dimension
is the dimension of the underlying vector spacerank
is the rank of the tensorcoeffs
is the array of tensor coefficientsx
is the point to evaluate the tensor at
Returns The value of the symmetric tensor at x * x * x ...
Credits
(c) 2013 Mikola Lysenko. MIT License