public interface Matrix
An n-dimensional matrix of elements of a fixed size. A 1-dimensional matrix is typically known as an array.
| Modifier and Type | Method and Description |
|---|---|
int |
dimensions()
Gets the number of dimensions of the matrix.
|
int |
size()
Gets the size of the matrix.
|
int dimensions()
Each matrix type has a fixed number of dimensions, returned by this method.
int size()
This is the total number of elements in the matrix.
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.