ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rmtxop.1
(Generate patch)

Comparing ray/doc/man/man1/rmtxop.1 (file contents):
Revision 1.14 by greg, Mon Aug 12 02:26:46 2019 UTC vs.
Revision 1.15 by greg, Mon Aug 12 16:55:24 2019 UTC

# Line 96 | Line 96 | options are mutually exclusive, insofar as they cannot
96   to the same input matrix.
97   .PP
98   If present, the second and subsequent matrices on the command
99 < line are concatenated to the result unless separated by a plus ('+'),
99 > line are concatenated to the result, unless separated by a plus ('+'),
100   asterisk ('*'), or forward slash ('/') symbol,
101 < in which case the matrix elements are added, multiplied, or divided together,
102 < respectively.
101 > in which case the individual matrix elements are added,
102 > multiplied, or divided together, respectively.
103   (Note that the asterisk must be quoted or escaped in most shells.)\0
104   In the case of addition, the two matrices involved must have the same number
105   of components.
106 + If subtraction is desired, use addition ('+') with a scaling parameter of -1
107 + for the second matrix (the
108 + .I \-s
109 + option).
110   For element-wise multiplication and division, the second matrix is
111 < permitted instead to have a single component per element, which will be
111 > permitted to have a single component per element, which will be
112   applied equally to all components of the first matrix.
113   If element-wise division is specified, any zero elements in the second
114   matrix will result in a warning and the corresponding component(s) in the
# Line 158 | Line 162 | rmtxop -fc blinds.xml > blinds.hdr
162   To scale a matrix by 4 and add it to the transpose of another matrix:
163   .IP "" .2i
164   rmtxop -s 4 left.mtx + -t right.mtx > result.mtx
165 + .PP
166 + To left-multiply the element-wise division of two matrices:
167 + .IP "" .2i
168 + rmtxop -fd numerator.mtx / denominator.mtx | rmtxop left.mtx - > result.mtx
169   .PP
170   To send the elements of a binary matrix to
171   .I rcalc(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines