einsums::blas::vendor::scsum1#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/BLASVendor/Vendor.hpp.

float scsum1(int_t n, const std::complex<float> *x, int_t incx)#

Computes the sum of the absolute values of the input vector.

Added in version 2.0.0.

Parameters:
  • n – The number of elements.

  • x – The vector to process.

  • incx – The skip value for the vector.

Returns:

The sum of the absolute values of the inputs.