.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 CVector object, whose elements are the result of applying the specified complex function to the elements of this vector.

Syntax

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

Parameters

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

Return Value

A new CVector object with the same length as this vector, whose elements are the results of applying the specified function to the elements of this vector.

Remarks

The elements of this vector 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 CVector 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