XsinYcos2D class

Generates a 2D array from the function f(x,y)=xsin(y)+ycos(x).

Constructors

XsinYcos2D(int nrows, int ncols, double xstart, double ystart)
Computes the function f(x,y)=xsin(y)+ycos(x). Returns a 2D array with nrows rows and ncols columns. The function is computed at the x,y-positions _xColCoord and _yRowCoord (which can be accessed via the respective getters) ranging from -xstart to xstart, and -ystart and ystart, respectively. The start coodinates must be specified in radians (1 rad= 360 degr / 2*pi).

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getMatrix() → List<Float64List>
Returns the computed matrix.
getXColCoordinates() → Float64List
Returns the "x" (column coodinate) values where the matrix was computed.
getYRowCoordinates() → Float64List
Returns the "y" (row coodinate) values where the matrix was computed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited