scalar


function scalar<Value>(y:Expression<Value[_,_]>) -> ScalarMatrix<Value>

Lazy scalar.

function scalar<Value>(y:Expression<Value[_]>) -> ScalarMultivariate<Value>

Lazy scalar.

function scalar<Type>(X:Type[_,_]) -> Type

Convert single-element matrix to scalar value.

function scalar<Type>(x:Type[_]) -> Type

Convert single-element vector to scalar value.