tensor4all / TensorCrossInterpolation.jl

https://tensor4all.github.io/TensorCrossInterpolation.jl/
MIT License
13 stars 0 forks source link

Introduce "projector" in TTCache #11

Closed shinaoka closed 2 months ago

shinaoka commented 2 months ago
function (tt::TTCache{V})(
    leftindexset::AbstractVector{MultiIndex},
    rightindexset::AbstractVector{MultiIndex},
    ::Val{M}
)::Array{V,M + 2} where {V,M}

In batch evaluation, we may want to project some of the M central site indices to fixed values. The returned tensor will have size-1 site indices for these projected site indices.