bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Matrix.fromColumns
bettercmath
matrix
Matrix
Constructs a Matrix from all elements in column-major format.
Matrix
fromColumns
(Args args)
struct
Matrix
(T, uint numColumns, uint numRows = numColumns)
static
Matrix
fromColumns
(
Args
...
)
(
const
auto
ref
Args
args
)
if
(
args.length
==
numElements
)
if
(
numColumns
> 0 &&
numRows
> 0
)
Matrix
fromColumns
(T[numElements] elements)
Matrix
fromColumns
(T[rowSize][columnSize] columns)
Meta
Source
See Implementation
bettercmath
matrix
Matrix
aliases
ElementType
ortho
constructors
this
enums
opDollar
functions
columns
copyInto
opBinary
opCast
opIndex
opOpAssign
rows
manifest constants
columnSize
identity
isSquare
minDimension
numElements
rowSize
static functions
fromColumns
fromDiagonal
fromRows
orthographic
perspective
perspectiveDegrees
variables
elements
Constructs a Matrix from all elements in column-major format.