torch.linalg.ldl_factor_ex
function ldl_factor_ex<S extends Shape, D extends DType, Dev extends DeviceType>(A: Tensor<S, D, Dev>, options?: LdlFactorExOptions): {
LD: Tensor<S, D, Dev>;
pivots: Tensor<DynamicShape, 'int32', Dev>;
info: Tensor<DynamicShape, 'int32', Dev>;
}function ldl_factor_ex<S extends Shape, D extends DType, Dev extends DeviceType>(A: Tensor<S, D, Dev>, hermitian: boolean, pivot: boolean, check_errors: boolean, options?: LdlFactorExOptions): {
LD: Tensor<S, D, Dev>;
pivots: Tensor<DynamicShape, 'int32', Dev>;
info: Tensor<DynamicShape, 'int32', Dev>;
}Computes the LDL factorization, with error info.
Parameters
ATensor<S, D, Dev>optionsLdlFactorExOptionsoptional
Returns
{ LD: Tensor<S, D, Dev>; pivots: Tensor<DynamicShape, 'int32', Dev>; info: Tensor<DynamicShape, 'int32', Dev>; }