Collaboration diagram for Matrix Arithmetic Operations:
|
Files | |
| file | psBinaryOp.h |
| Provides binary functions for simple matrix and vector element operations. Functions include:. | |
| file | psUnaryOp.h |
| Provides unary functions for simple matrix and vector element operations. Functions include:. | |
Functions | |
| psType * | psBinaryOp (psPtr out, psPtr in1, char *op, psPtr in2) |
| Perform simple binary arithmetic with images or vectors. | |
| psType * | psUnaryOp (psPtr out, psPtr in, char *op) |
| Perform simple unary arithmetic with images or vectors. | |
|
||||||||||||||||||||
|
Perform simple binary arithmetic with images or vectors. Performs addition, subtraction, multiplication, division, power, minumum, and maximum arithmetic operations with images and vectors. Uses the form: out = in1 op in2, Where op is: "=", "+", "-", "*", "/", "^", "min", or "max" This function only supports vector-vector or image-image operations.
|
|
||||||||||||||||
|
Perform simple unary arithmetic with images or vectors. Performs absolute value, exponent, natural log, power of 10, log, sine, cosine, tangent, arcsine, arccosine, or arctan. operations with images and vectors. Uses the form: out = op(in), Where op is: "abs", "exp", "ln", "ten", "log", "sin", "cos", "tan" "asin", "acos", "atan", "dsin", "dcos", dtan", "dasin", "dacos", or "datan". Trigometric Operations with "d" prefix use units of degrees. Those without are in radians. This function only supports vector-vector or image-image opertions.
|
1.4.1