sum edit page

Calculates the integral of a SO3Fun based on

v=SO(3)f(R)dR

with vol(SO(3))=SO(3)1dR=8π2.

If there is a second argument it sums up along a specified dimension of a vector-valued SO3Fun.

Description

SO3F is a 3x3 SO3Fun sum(SO3F) returns a 3x3 matrix with the integrals of each function sum(SO3F, 1) returns a 1x3 SO3Fun which contains the pointwise sums along the first dimension

Syntax

value = sum(SO3F)
SO3F = sum(SO3F, d)

Input

SO3F SO3Fun
d dimension to take the sum value over

Output

SO3F SO3Fun
value double