TensorView

Type Alias TensorView 

Source
pub type TensorView<'a, T, B = DeviceCpuSerial, D = Vec<usize>> = TensorBase<Storage<DataRef<'a, <B as DeviceRawAPI<T>>::Raw>, T, B>, D>;

Aliased Type§

pub struct TensorView<'a, T, B = DeviceCpuSerial, D = Vec<usize>> { /* private fields */ }

Trait Implementations§

Source§

impl<'a, T, D> CholeskyAPI<DeviceOpenBLAS> for TensorView<'a, T, DeviceOpenBLAS, D>

Source§

impl<T, D> DetAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>

Source§

type Out = T

Source§

fn det_f(self) -> Result<Self::Out>

Source§

fn det(self) -> Self::Out
where Self: Sized,

Source§

impl<T, D> EighAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>
where T: BlasFloat, D: DimAPI + DimSmallerOneAPI, D::SmallerOne: DimAPI, DeviceOpenBLAS: LapackDriverAPI<T>,

Source§

type Out = EighResult<TensorBase<Storage<DataOwned<<DeviceOpenBLAS as DeviceRawAPI<<T as ComplexFloat>::Real>>::Raw>, <T as ComplexFloat>::Real, DeviceOpenBLAS>, <D as DimSmallerOneAPI>::SmallerOne>, TensorBase<Storage<DataOwned<<DeviceOpenBLAS as DeviceRawAPI<T>>::Raw>, T, DeviceOpenBLAS>, D>>

Source§

fn eigh_f(self) -> Result<Self::Out>

Source§

fn eigh(self) -> Self::Out
where Self: Sized,

Source§

impl<T, D> EigvalshAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>
where T: BlasFloat, D: DimAPI + DimSmallerOneAPI, D::SmallerOne: DimAPI, DeviceOpenBLAS: LapackDriverAPI<T>,

Source§

type Out = TensorBase<Storage<DataOwned<<DeviceOpenBLAS as DeviceRawAPI<<T as ComplexFloat>::Real>>::Raw>, <T as ComplexFloat>::Real, DeviceOpenBLAS>, <D as DimSmallerOneAPI>::SmallerOne>

Source§

fn eigvalsh_f(self) -> Result<Self::Out>

Source§

fn eigvalsh(self) -> Self::Out
where Self: Sized,

Source§

impl<T, D> InvAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>

Source§

type Out = TensorBase<Storage<DataOwned<<DeviceOpenBLAS as DeviceRawAPI<T>>::Raw>, T, DeviceOpenBLAS>, D>

Source§

fn inv_f(self) -> Result<Self::Out>

Source§

fn inv(self) -> Self::Out
where Self: Sized,

Source§

impl<T, D> PinvAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>
where T: BlasFloat, T::Real: FromPrimitive, D: DimAPI + DimSmallerOneAPI, D::SmallerOne: DimAPI, DeviceOpenBLAS: LapackDriverAPI<T>,

Source§

impl<T, D> SLogDetAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>

Source§

type Out = SLogDetResult<T>

Source§

fn slogdet_f(self) -> Result<Self::Out>

Source§

fn slogdet(self) -> Self::Out
where Self: Sized,

Source§

impl<'a, T, D> SVDAPI<DeviceOpenBLAS> for TensorView<'a, T, DeviceOpenBLAS, D>

Source§

type Out = <(TensorBase<Storage<DataRef<'a, <DeviceOpenBLAS as DeviceRawAPI<T>>::Raw>, T, DeviceOpenBLAS>, D>, bool) as SVDAPI<DeviceOpenBLAS>>::Out

Source§

fn svd_f(self) -> Result<Self::Out>

Source§

fn svd(self) -> Self::Out
where Self: Sized,

Source§

impl<T, D> SVDvalsAPI<DeviceOpenBLAS> for TensorView<'_, T, DeviceOpenBLAS, D>
where T: BlasFloat, D: DimAPI + DimSmallerOneAPI, D::SmallerOne: DimAPI, DeviceOpenBLAS: LapackDriverAPI<T>,

Source§

type Out = TensorBase<Storage<DataOwned<<DeviceOpenBLAS as DeviceRawAPI<<T as ComplexFloat>::Real>>::Raw>, <T as ComplexFloat>::Real, DeviceOpenBLAS>, <D as DimSmallerOneAPI>::SmallerOne>

Source§

fn svdvals_f(self) -> Result<Self::Out>

Source§

fn svdvals(self) -> Self::Out
where Self: Sized,