OrthogonalSeries[Add] - add or form linear combination of series
|
Calling Sequence
|
|
Add(S1, S2, a, b, optional_arg)
|
|
Parameters
|
|
S1, S2
|
-
|
orthogonal series
|
a, b
|
-
|
(optional) scalars
|
optional_arg
|
-
|
(optional) equation of the form control = true or false
|
|
|
|
|
Description
|
|
•
|
The Add(S1, S2) calling sequence adds the series S1 and S2.
|
•
|
The Add(S1, S2, a) and Add(S1, S2, a, b) calling sequences form the linear combinations and , respectively.
|
•
|
S1 and S2 must have the same dimension. Each polynomial appearing in S1 must appear in S2 with the same variable(s). Otherwise, an error message is returned. The indices of S1 and S2 may differ. The indices of the result are those of S1.
|
•
|
The default value of the control option is true. If the option control=false is used, the Add function assumes the polynomials of S2 are identical to those of S1. This allows faster addition if the series are known a priori to be compatible. However, if S1 and S2 are not compatible, it returns an incorrect result.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
|
|
Download Help Document
Was this information helpful?