IMSL C# Numerical Library

ComplexSparseMatrix Class

A general complex sparse matrix which is intended to be efficiently and easily updated.

For a list of all members of this type, see ComplexSparseMatrix Members.

System.Object
   Imsl.Math.ComplexSparseMatrix

public class ComplexSparseMatrix

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

A ComplexSparseMatrix can be constructed from a set of arrays, or it can be abstractly created as an empty array and then incrementally built into final form. It is usually easier to create an empty ComplexSparseMatrix of set size and then use the Set method to set the elements of the array. When setting the elements of the sparse array, their positions should be thought of as their positions in the dense array. Elements can be set in any order, but only the elements set are stored.

This class includes methods to update the sparse matrix. There are also methods to multiply a sparse matrix and a vector or to multiply two sparse matrices. To solve a sparse linear system use ComplexSparseCholesky or ComplexSuperLU.

Requirements

Namespace: Imsl.Math

Assembly: ImslCS (in ImslCS.dll)

See Also

ComplexSparseMatrix Members | Imsl.Math Namespace | ComplexSparseCholesky | ComplexSuperLU | Example 1: Create from arrays