cast<S> method

Vector<S> cast<S>(
  1. DataType<S> dataType
)

Returns a Vector with the elements cast to dataType.

Implementation

Vector<S> cast<S>(DataType<S> dataType) => CastVector<T, S>(this, dataType);