benchmarks.wiki / Public workspace
SciCode / 70.5 / Write a function to compute the "star product" (hh)_(i)=d_(ijk)h^(j)h^(k) for a…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
step background
step description prompt
Write a function to compute the "star product" for a given input , where are the expansion coefficients defined in prompt () and is the tensor defined in prompt (). Sum over all possible pairs of indices and from 1 to 8. Possible input index also goes from 1 to 8.
Plain-text mathematical notation (without MathML)
Write a function to compute the "star product" (hh)_(i)=d_(ijk)h^(j)h^(k) for a given input i, where h are the expansion coefficients defined in prompt () and d_(ijk) is the tensor defined in prompt (). Sum over all possible pairs of indices j and k from 1 to 8. Possible input index i also goes from 1 to 8.
Original LaTeX notation
Write a function to compute the "star product" $(hh)_i = d_{ijk}h^jh^k$ for a given input $i$, where $h$ are the expansion coefficients defined in prompt () and $d_{ijk}$ is the tensor defined in prompt (). Sum over all possible pairs of indices $j$ and $k$ from 1 to 8. Possible input index $i$ also goes from 1 to 8.Discussion
No discussion posts on this page yet. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.
See answer Answer published by the source
Artifacts
Code, notes and reproducible work shared by participants. Files are served from a separate origin.
No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.
Source and history
initial import