| FloatComplexVectorAdd(FloatComplexVector, FloatComplexVector, FloatComplexVector) Method |
Adds two vectors and puts the result into a third vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static void Add(
FloatComplexVector u,
FloatComplexVector v,
FloatComplexVector w
)
Public Shared Sub Add (
u As FloatComplexVector,
v As FloatComplexVector,
w As FloatComplexVector
)
public:
static void Add(
FloatComplexVector^ u,
FloatComplexVector^ v,
FloatComplexVector^ w
)
static member Add :
u : FloatComplexVector *
v : FloatComplexVector *
w : FloatComplexVector -> unit
Parameters
- u FloatComplexVector
- A vector.
- v FloatComplexVector
- A vector.
- w FloatComplexVector
- A vector to hold the result.
Exceptions Remarks
This method is provided as an alternative to the standard two-parameter
Add() method. The third passed vector holds the result of adding
the first two vectors:
No new memory is allocated. This increases efficiency for repeated operations,
such as within loops.
See Also