carbon ~master (2016-11-08T03:28:07Z)
Home
Dub
Repo
toMatrix
carbon
linear
レンジから行列を作ります。
auto
toMatrix
(
Msize_t
rs
Msize_t
cs
Major
mjr
=
Major.row
R
)
(
R
range
)
if
(
isRandomAccessRange
!
R
&&
isNotVectorOrMatrix
!(
Unqual
!(
std.range.ElementType
!
R
))
&&
(
mjr
==
Major.row
?
(
cs
!=
wild
)
:
(
rs
!=
wild
)
)
)
Meta
Source
See Implementation
carbon
linear
enums
ETOSpec
Major
functions
cartesian
columnVectors
congeal
cross
hermitian
matrix
matrixExpression
norm
permutation
pluDecomposeInPlace
rowVectors
sub
swizzle
toFlatten
toMatrix
toRange
trace
manifest constants
defaultMajor
properties
identity
ones
transpose
structs
DMatrix
InferredResult
MatrixExpression
PLU
PMatrix
SMatrix
templates
ETOperatorSpec
ElementType
ExpressionOperators
ExpressionOperatorsInferable
SCVector
SRVector
SVector
defaultExprOps
hasAssignableElements
hasLvalueElements
isValidOperator
variables
hasView
isAbstractMatrix
isNotVectorOrMatrix
isVector
レンジから行列を作ります。