pub type ScalarArcTensor<D> = ScalarTensorBase<ScalarArcBufferRepr, D>;Expand description
Shared Scalar Tensor.
See ScalarTensorBase.
Aliased Type§
pub struct ScalarArcTensor<D> { /* private fields */ }Implementations§
Source§impl<D: Dimension> ScalarArcTensor<D>
impl<D: Dimension> ScalarArcTensor<D>
Sourcepub fn try_into_arc_tensor<T: Scalar>(self) -> Result<ArcTensor<T, D>, Self>
pub fn try_into_arc_tensor<T: Scalar>(self) -> Result<ArcTensor<T, D>, Self>
Attempt to convert to an arc tensor.
Source§impl<D: Dimension> ScalarArcTensor<D>
impl<D: Dimension> ScalarArcTensor<D>
Act like a larger size and/or shape array by broadcasting into a larger shape, if possible.
Trait Implementations§
Source§impl<D: Dimension> From<ScalarTensorBase<ScalarBufferRepr, D>> for ScalarArcTensor<D>
impl<D: Dimension> From<ScalarTensorBase<ScalarBufferRepr, D>> for ScalarArcTensor<D>
Source§fn from(tensor: ScalarTensor<D>) -> Self
fn from(tensor: ScalarTensor<D>) -> Self
Converts to this type from the input type.