SyTen

## ◆ operator[]() [2/4]

template<Rank rank, typename Scalar = CDef>
 Scalar const& syten::SparseTensor< rank, Scalar >::operator[] ( Coord const & coordinates ) const
inline

Returns a const reference to the element at the specified coordinate or zero.

Use this if you have a const SparseTensor and hence can ensure that no values are written to it, as references are much cheaper than copying the relatively large scalar values stored here.

Here is the call graph for this function: