forked from kscience/kmath
LU decomp doc in NOA
This commit is contained in:
parent
2a29e66daa
commit
06bc8fecf6
@ -252,7 +252,9 @@ protected constructor(scope: NoaScope) :
|
|||||||
JNoa.qrTensor(tensor.tensorHandle, Q, R)
|
JNoa.qrTensor(tensor.tensorHandle, Q, R)
|
||||||
return Pair(wrap(Q), wrap(R))
|
return Pair(wrap(Q), wrap(R))
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* this implementation satisfies `tensor = P dot L dot U`
|
||||||
|
*/
|
||||||
override fun Tensor<T>.lu(): Triple<TensorType, TensorType, TensorType> {
|
override fun Tensor<T>.lu(): Triple<TensorType, TensorType, TensorType> {
|
||||||
val P = JNoa.emptyTensor()
|
val P = JNoa.emptyTensor()
|
||||||
val L = JNoa.emptyTensor()
|
val L = JNoa.emptyTensor()
|
||||||
|
Loading…
Reference in New Issue
Block a user