carbon v1.8.0 (2018-09-02T09:54:37Z)
Home
Dub
Repo
SMatrix
carbon
linear
要素がメモリ上に連続して存在するような行列
struct
SMatrix
(T, Msize_t rs = 0, Msize_t cs = 0, Major mjr = Major.row)
struct
SMatrix (
T
Msize_t
rs
= 0
Msize_t
cs
= 0
Major
mjr
=
Major
.
row
)
if
(
rs
>= 0 &&
cs
>= 0
) {
enum
bool
isColumnMajor
;
enum
bool
isRowMajor
;
enum
major
;
enum
size_t
rows
;
enum
size_t
cols
;
this
(M mat);
auto ref
opIndex
(size_t i, size_t j);
auto
array
[@property getter];
void
opAssign
(M mat);
M
noAlias
[@property setter];
}
template
SRVector
(T, Msize_t size)
template
SCVector
(T, Msize_t size)
template
SVector
(T, Msize_t size)
Constructors
this
this
(M mat)
Undocumented in source.
Members
Functions
opAssign
void
opAssign
(M mat)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto ref
opIndex
(size_t i, size_t j)
Undocumented in source.
Manifest constants
major
enum
major
;
Undocumented in source.
Properties
array
auto
array
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
noAlias
M
noAlias
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
cols
enum
size_t
cols
;
Undocumented in source.
isColumnMajor
enum
bool
isColumnMajor
;
Undocumented in source.
isRowMajor
enum
bool
isRowMajor
;
Undocumented in source.
rows
enum
size_t
rows
;
Undocumented in source.
Meta
Source
See Implementation
carbon
linear
aliases
Msize_t
enums
ETOSpec
Major
hasDynamicColumns
hasDynamicLength
hasDynamicRows
hasStaticCols
hasStaticLength
hasStaticRows
isMatrix
isNarrowMatrix
isNarrowVector
functions
assignAt
at
cartesian
cols
columnVectors
congeal
cross
dot
hermitian
matrix
matrixExpression
norm
permutation
pluDecomposeInPlace
pref
rowVectors
rows
staticCols
staticRows
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
isPermutationMatrix
isValidOperator
isValidOperatorImpl
variables
dynamic
hasView
isAbstractMatrix
isNotVectorOrMatrix
isVector
wild
要素がメモリ上に連続して存在するような行列