NMath Reference Guide

## Float |

Class FloatTriDiagFact represents the LU factorization of a tridiagonal matrix of
single-precision floating point numbers.

Inheritance Hierarchy

Syntax

The FloatTriDiagFact type exposes the following members.

Constructors

Name | Description | |
---|---|---|

FloatTriDiagFact(FloatTriDiagMatrix) | Constructs a FloatTriDiagFact instance by factoring the given matrix. By default the condition number for the matrix will not be computed and will not be available from the ConditionNumber method. | |

FloatTriDiagFact(FloatTriDiagMatrix, Boolean) | Constructs a FloatTriDiagMatrix instance by factoring the given matrix. |

Properties

Name | Description | |
---|---|---|

Cols | Gets the number of columns in the matrix represented by the factorization. | |

IsGood | Gets a boolean value which is true if the matrix factorization succeeded and the factorization may be used to solve equations, compute determinants, inverses, and so on; otherwise false. | |

IsSingular | Gets a boolean value which is true if the matrix factored is singular; otherwise, false. | |

Rows | Gets the number of rows in the matrix represented by the factorization. |

Methods

Name | Description | |
---|---|---|

Clone | Creates a deep copy of this factorization. | |

ConditionNumber | Computes an estimate of the reciprocal of the condition number of a given matrix in the 1-norm. | |

ConditionNumber(NormType) | Computes an estimate of the reciprocal of the condition number of a given matrix in the specified norm type. | |

Determinant | Computes the determinant of the factored matrix. | |

Factor(FloatTriDiagMatrix) | Factors the matrix A so that self represents the LU factorization of A. By default the condition number for the matrix will not be computed and will not be available from the ConditionNumber method. | |

Factor(FloatTriDiagMatrix, Boolean) | Factors the matrix A so that self represents the LU factorization of A. | |

Inverse | Computes the inverse of the factored matrix. | |

Solve(FloatMatrix) | Uses this LU factorization to solve the linear system AX = B. | |

Solve(FloatVector) | Uses the LU factorization of self to solve the linear system Ax = b. |

Remarks

The factorization has the form
A = LU
where L is a product of permutation and unit lower bidiagonal
matrices and U is upper triangular with nonzeros in only the main
diagonal and first two superdiagonals.

See Also