MatrixView.this

Wraps a MatrixView with m rows and n columns around the given array. For a given set of a, m, and n, the following must be true for a general matrix:

a.length >= m*n

For triangular and symmetric matrices, there are two constraints:

m == n
a.length >= (n*n + n)/2

These conditions are only checked in non-release builds.

  1. this(T[] a, size_t m)
  2. this(T[] a, size_t m, size_t n)
    struct MatrixView(T, Storage stor = Storage.General, Triangle tri = Triangle.Upper)
    pure nothrow
    this
    (
    T[] a
    ,
    size_t m
    ,
    size_t n
    )

Meta