Skip to content

Arrays

Tensorcast.jl handles matrix and vector operations such as:

  • changing index order: @cast A[j, i] := B[i,j]
  • functions over selected indices: @cast A[j,i] := B[i,j] + C[i]
  • going from Matrix to Vector of Vector: @cast A[j][i] := B[i,j]