axpy

Mapdl.axpy(vr='', vi='', m1='', wr='', wi='', m2='', **kwargs)

Performs the matrix operation M2= v*M1 + w*M2.

APDL Command: *AXPY

Parameters
  • vr – The real and imaginary parts of the scalar v. Default value is 0.

  • vi – The real and imaginary parts of the scalar v. Default value is 0.

  • m1 – Name of matrix M1. If not specified, the operation M2 = w*M2 will be performed.

  • wr – The real and imaginary parts of the scalar w. Default value is 0.

  • wi – The real and imaginary parts of the scalar w. Default value is 0.

  • m2 – Name of matrix M2. Must be specified.

Notes

The matrices M1 and M2 must have the same dimensions and same type (dense or sparse). If M2 is real, vi and wi are ignored.