Method Sum
- Namespace
 - Zyl.VectorTraits.Impl.AVector512
 
- Assembly
 - VectorTraits.dll
 
Sum(Vector512<float>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
public static float Sum(Vector512<float> value)
Parameters
Returns
- float
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<double>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
public static double Sum(Vector512<double> value)
Parameters
Returns
- double
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<sbyte>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
[CLSCompliant(false)]
public static sbyte Sum(Vector512<sbyte> value)
Parameters
Returns
- sbyte
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<byte>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
public static byte Sum(Vector512<byte> value)
Parameters
Returns
- byte
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<short>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
public static short Sum(Vector512<short> value)
Parameters
Returns
- short
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<ushort>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
[CLSCompliant(false)]
public static ushort Sum(Vector512<ushort> value)
Parameters
Returns
- ushort
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<int>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
public static int Sum(Vector512<int> value)
Parameters
Returns
- int
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<uint>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
[CLSCompliant(false)]
public static uint Sum(Vector512<uint> value)
Parameters
Returns
- uint
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<long>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
public static long Sum(Vector512<long> value)
Parameters
Returns
- long
 The sum of all elements in
value(value中所有元素的总和).
- See Also
 
Sum(Vector512<ulong>)
Computes the sum of all elements in a vector (计算向量中所有元素的总和).
Mnemonic: rt := value[0] + value[1] + value[2] + ... + value[Count-1].
[CLSCompliant(false)]
public static ulong Sum(Vector512<ulong> value)
Parameters
Returns
- ulong
 The sum of all elements in
value(value中所有元素的总和).
- See Also