fn ith(&self, input: T, index: IndexT) -> Result<ActivationT> {
        check_index!(index < self.dim().into() => {
            self.project(input).map(|b| b[index])
        })
    }
/// Compute the the i<sup>th</sup> element of the projection for the given
/// `input`.
///
/// __Note:__ the default implementation computes the full basis to access a
/// single index. More computational efficient methods should be
/// implemented where possible.
Compute the the ith element of the projection for the given
`input`.

the default implementation computes the full basis to access a
single index. More computational efficient methods should be
implemented where possible.
Compute the the ith element of the projection for the given ` input ` . the default implementation computes the full basis to access a single index . More computational efficient methods should be implemented where possible .
fn ith(&self, input: T, index: IndexT) -> Result<ActivationT> {
        check_index!(index < self.dim().into() => {
            self.project(input).map(|b| b[index])
        })
    }
fn ith ( & self , input : T , index : IndexT ) -> Result < ActivationT > { check_index ! ( index self dim ( ) into ( ) { self project ( input ) map ( b b [ index ] ) } ) }
Compute the the i<sup>th</sup> element of the projection for the given
`input`.
Compute the the i<sup > th< / sup > element of the projection for the given ` input ` .
&self
input
T
index
IndexT
&self
input
T
index
IndexT