nsor-math.r'><code>R/sptensor-math.r</code></a></small>
    <div class="hidden name"><code>ttv.Rd</code></div>
    </div>

    <div class="ref-description">
    
    <p>Calculates the n-mode product of a tensor and a vector Given a tensor X with
dimensions \(I_1, I_2, ..., I_n, I_n+1, ... I_N\) and a vector v with
dimensions \(J, 1\), the resulting tensor after multiplication will have
dimension \(I_1, I_2, ..., I_n-1, I_n+1, ... I_N\). Note that the dimension
corresponding to the <code>mode</code> has been