divScalar method

Vector<T> divScalar(
  1. T other
)

Returns a view of the multiplication of this Vector and a scalar.

Implementation

Vector<T> divScalar(T other) {
  final div = dataType.field.div;
  return unaryOperation((value) => div(value, other));
}