Expand description
Arithmetic and generic binary/ternary operations.
Functionsยง
- add
- Returns the sum of
lhsandrhs. - add_
assign - Computes the sum of
dstandsrcand stores the result indstwithout changing its symbolic structure. - add_
into - Computes the sum of
lhsandrhs, storing the result indstwithout changing its symbolic structure. - binary_
op - Returns the resulting matrix obtained by applying
fto the elements fromlhsandrhs, skipping entries that are unavailable in both oflhsandrhs. - binary_
op_ assign_ into - Returns the resulting matrix obtained by applying
fto the elements fromdstandsrcskipping entries that are unavailable in both of them.
The sparsity patter ofdstis unchanged. - sub
- Returns the difference of
lhsandrhs. - sub_
assign - Computes the difference of
dstandsrcand stores the result indstwithout changing its symbolic structure. - sub_
into - Computes the difference of
lhsandrhs, storing the result indstwithout changing its symbolic structure. - ternary_
op_ assign_ into - Returns the resulting matrix obtained by applying
fto the elements fromdst,lhsandrhs, skipping entries that are unavailable in all ofdst,lhsandrhs.
The sparsity patter ofdstis unchanged. - union_
symbolic - Returns the sparsity pattern containing the union of those of
lhsandrhs.