Array Operation
(Redirected from array operation)
Jump to navigation
Jump to search
An Array Operation is a data structure operation for an Array data structure.
- …
- Example(s):
- Counter-Example(s):
- See: Matrix Operation, Array Library.
References
- http://docs.opencv.org/modules/core/doc/operations_on_arrays.html
- http://en.wikibooks.org/wiki/MATLAB_Programming/Introduction_to_array_operations
2013
- http://www.mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html
- Array operations work on corresponding elements of arrays with equal dimensions. For vectors, matrices, and multidimensional arrays, both operands must be the same size. Each element in the first input gets matched up with a similarly located element from the second input. If the inputs are different sizes, MATLAB cannot match the elements one-to-one.
As a simple example, you can add two vectors with the same length. …
…
… Matrix operations follow the rules of linear algebra and are not compatible with multidimensional arrays. The required size and shape of the inputs in relation to one another depends on the operation. For nonscalar inputs, the matrix operators generally calculate different answers than their array operator counterparts.
- Array operations work on corresponding elements of arrays with equal dimensions. For vectors, matrices, and multidimensional arrays, both operands must be the same size. Each element in the first input gets matched up with a similarly located element from the second input. If the inputs are different sizes, MATLAB cannot match the elements one-to-one.