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 andncols
columns. The function is computed at the x,y-positions xColCoordinates and yRowCoordinates (which can be accessed via the respective getters) ranging from-xstart
toxstart
, and-ystart
andystart
, respectively. The start coodinates must be specified in radians (1 rad= 360 degr / 2*pi).
Properties
-
matrix
→ List<
Float64List> -
Returns the computed matrix.
read-only
- xColCoordinates → Float64List
-
Returns the "x" (column coodinate) values where the matrix was computed.
read-only
- yRowCoordinates → Float64List
-
Returns the "y" (row coodinate) values where the matrix was computed.
read-only
- 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
-
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