Trait concrete_core::math::tensor::AsMutTensor [−][src]
A trait for Tensor
-based types, allowing to mutably borrow the enclosed tensor.
This trait implements the same logic as AsRefTensor
, but for mutable borrow instead. See the
AsRefTensor
documentation for more explanations on the logic.
Associated Types
type Element
[src]
The element type.
type Container: AsMutSlice<Element = Self::Element>
[src]
The container used by the tensor.
Required methods
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
Returns a mutable reference to the enclosed tensor.
Implementors
impl<'a, Element> AsMutTensor for BootstrapKey<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for CleartextList<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for PlaintextList<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GgswCiphertext<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GgswLevelMatrix<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GgswLevelRow<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GlweBody<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GlweCiphertext<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GlweList<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GlweMask<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GlweMaskElement<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for LweCiphertext<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for LweKeyswitchKey<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for LweList<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for LweMask<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for GlweSecretKey<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for LweSecretKey<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for FourierPolynomial<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for Monomial<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for Polynomial<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<'a, Element> AsMutTensor for PolynomialList<&'a mut [Element]>
[src]
type Element = Element
type Container = &'a mut [Element]
fn as_mut_tensor(&mut self) -> &mut Tensor<Self::Container>
[src]
impl<Cont> AsMutTensor for Tensor<Cont> where
Cont: AsMutSlice,
[src]
Cont: AsMutSlice,