mathed ~master (2022-05-27T19:57:24.9040539)
Dub
Repo
Matrix.diag
mathed
types
matrix
Matrix
Makes matrix with diagonal consists of received values.
struct
Matrix
(size_t Lines, size_t Cols, Type = float)
@
trusted
@
trusted
static pure nothrow
static if
(
Lines == Cols && isNumeric!Type
)
Self
diag
(
Type
[
Lines
]
values
...
)
if
(
Lines
> 0 &&
Cols
> 0
)
Meta
Source
See Implementation
mathed
types
matrix
Matrix
aliases
cols
lines
type
constructors
this
functions
castTo
opApply
opBinary
opBinaryRight
opCast
opIndex
opOpAssign
opUnary
set
toString
properties
identity
t
static functions
diag
Makes matrix with diagonal consists of received values.