KluConfig
data class KluConfig(val libraryPath: String? = null, val factorizeMin: Int? = null, val pivotTolerance: Double? = null, val memoryGrowth: Double? = null, val amdInitialMemoryFactor: Double? = null, val initialMemoryFactor: Double? = null, val maxBtfWork: Double? = null, val useBtf: Boolean? = null, val ordering: KluOrdering? = null, val equilibratedScaling: KluScaling = KluScaling.MAX, val haltIfSingular: Boolean? = null)(source)
Policy for one KLU backend instance. Null controls retain KLU's native defaults.
Constructors
KluConfig
constructor(libraryPath: String? = null, factorizeMin: Int? = null, pivotTolerance: Double? = null, memoryGrowth: Double? = null, amdInitialMemoryFactor: Double? = null, initialMemoryFactor: Double? = null, maxBtfWork: Double? = null, useBtf: Boolean? = null, ordering: KluOrdering? = null, equilibratedScaling: KluScaling = KluScaling.MAX, haltIfSingular: Boolean? = null)(source)
Properties
amdInitialMemoryFactor
Initial factor-storage multiplier when AMD estimates fill.
equilibratedScaling
Scaling for a factorization requested with equilibrate = true.
factorizeMin
Smallest stored-entry count routed to the native factorization; null keeps the platform default.
haltIfSingular
Whether KLU stops immediately after finding a singular pivot.
initialMemoryFactor
Initial factor-storage multiplier without an AMD fill estimate.
libraryPath
An absolute KLU library path, or the platform lookup chain when null.
maxBtfWork
Maximum BTF work, or zero/negative for no limit.
memoryGrowth
Factor-storage growth multiplier when KLU reallocates.
ordering
Built-in ordering applied to each block.
pivotTolerance
Pivot tolerance for diagonal preference.