.NET Matrix Library
Add Method
See Also  Send comments on this topic


A
The first sparse matrix to add.
beta
A double scalar that multiplies the second matrix.
transB
A TransposeMode enumeration specifying whether the second matrix is transposed.
B
The second matrix to add.

Adds two sparse matrices. The operation is defined as:

 C=A+beta*op(B)

Syntax

Visual Basic (Declaration) 
Public Shared Function Add( _
   ByVal A As SparseMatrix, _
   ByVal beta As Double, _
   ByVal transB As TransposeMode, _
   ByVal B As SparseMatrix _
) As SparseMatrix
C# 
public static SparseMatrix Add( 
   SparseMatrix A,
   double beta,
   TransposeMode transB,
   SparseMatrix B
)
C++/CLI 
public:
static SparseMatrix^ Add( 
   SparseMatrix^ A,
   double beta,
   TransposeMode transB,
   SparseMatrix^ B
) 

Parameters

A
The first sparse matrix to add.
beta
A double scalar that multiplies the second matrix.
transB
A TransposeMode enumeration specifying whether the second matrix is transposed.
B
The second matrix to add.

Requirements

Platforms: Windows 7, Windows Vista, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows 2000

See Also

.NET Matrix Library Documentation