.NET Matrix Library
ApplyFunction(ComplexFunction1Cmp) Method
See Also  Send Feedback



function
A delegate to a function that takes one complex parameter and returns a complex.
Returns a new CMatrix object, whose elements are the result of applying the specified function to the elements of this matrix.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ApplyFunction( _
   ByVal function As ComplexFunction1Cmp _
) As CMatrix
Visual Basic (Usage)Copy Code
Dim instance As CMatrix
Dim function As ComplexFunction1Cmp
Dim value As CMatrix
 
value = instance.ApplyFunction(function)
C# 
public CMatrix ApplyFunction( 
   ComplexFunction1Cmp function
)
C++/CLI 
public:
CMatrix^ ApplyFunction( 
   ComplexFunction1Cmp^ function
) 

Parameters

function
A delegate to a function that takes one complex parameter and returns a complex.

Return Value

A new CMatrix object with the same size as this matrix, whose elements are the results of applying the specified function to the elements of this matrix.

Remarks

The elements of this matrix are passed one by one as parameters to the function that is represented by the delegate. The returned values from this function are used to initialize the elements of the newly created CMatrix object.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library