cast<S> method

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

Returns a Matrix with the elements cast to dataType.

Implementation

Matrix<S> cast<S>(DataType<S> dataType) => CastMatrix<T, S>(this, dataType);