native property

NativeMatrix? get native

The native matrix behind this product, if it has one.

Implementation

NativeMatrix? get native => switch (_weights) {
  NativeMatrix m => m,
  _ => null,
};