carbon v0.0.3 (2014-05-12T14:15:52Z)
Home
Dub
Repo
PLU
carbon
linear
Undocumented in source.
struct
PLU (
M
)
if
(
isNarrowMatrix
!
M
&&
!
isAbstractMatrix
!
M
&&
isFloatingPoint
!(
ElementType
!
M
)
) {
alias
rows
=
lu
.
rows
;
static if
(!(
hasStaticRows!M
))
size_t
rows
[@property getter];
alias
cols
=
rows
;
size_t
[]
piv
;
bool
isEvenP
;
M
lu
;
auto
p
();
auto
l
();
auto
u
();
auto
solveInPlace
(V b);
M
inverse
();
auto
det
();
}
Members
Aliases
cols
alias
cols
=
rows
Undocumented in source.
rows
alias
rows
=
lu
.
rows
Undocumented in source.
Functions
det
auto
det
()
Undocumented in source. Be warned that the author may not have intended to support it.
inverse
M
inverse
()
逆行列を求める
l
auto
l
()
Undocumented in source. Be warned that the author may not have intended to support it.
p
auto
p
()
Undocumented in source. Be warned that the author may not have intended to support it.
solveInPlace
auto
solveInPlace
(V b)
Ax = bとなるxを解きます
u
auto
u
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
rows
size_t
rows
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
isEvenP
bool
isEvenP
;
Undocumented in source.
lu
M
lu
;
Undocumented in source.
piv
size_t
[]
piv
;
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
matrix
matrixExpression
norm
permutation
pluDecomposeInPlace
rowVectors
rows
staticCols
staticRows
sub
swizzle
toFlatten
toMatrix
toRange
trace
manifest constants
defaultMajor
properties
identity
ones
transpose
structs
DMatrix
InferredResult
MatrixExpression
PLU
SMatrix
templates
ETOperatorSpec
ElementType
ExpressionOperators
ExpressionOperatorsInferable
SCVector
SRVector
SVector
defaultExprOps
hasAssignableElements
hasLvalueElements
isPermutationMatrix
isValidOperator
isValidOperatorImpl
variables
dynamic
isAbstractMatrix
isNotVectorOrMatrix
isVector
wild