Share via


SphericalHarmonics.Add Method ()

Adds two spherical harmonic (SH) vectors together; in other words, Out[i] = A[i] + B[i].

Overload List

public static void Add(GraphicsStream, int, GraphicsStream, GraphicsStream);
public static void Add(GraphicsStream, int, float[], float[]);
public static void Add(float[], int, GraphicsStream, GraphicsStream);
public static void Add(float[], int, float[], float[]);

Remarks

Each coefficient of the basis function Ylm is stored at location l2 + m + l, where:

  • l is the degree of the basis function.
  • m is the basis function index for the given l value and ranges from -l to l, inclusive.