[][src]Type Definition diffgeom::tensors::Scalar

type Scalar<T> = Tensor<T, ()>;

A scalar type, which is a tensor with rank 0.

This is de facto just a number, so it implements Deref and DerefMut into f64.

Trait Implementations

impl<T: CoordinateSystem> DerefMut for Scalar<T>[src]

impl<T: CoordinateSystem> Deref for Scalar<T>[src]

type Target = f64

The resulting type after dereferencing.