| Package | pegas.geom |
| Class | public class Matrix |
| Implements | Geometry |
Matrix with n rows and n columns.
| Property | Defined by | ||
|---|---|---|---|
| c : Number
Defined the number of columns in the Matrix.
| Matrix | ||
| m : Array
The matrix array
| Matrix | ||
| r : Number
Defined the number of rows in the Matrix.
| Matrix | ||
| Method | Defined by | ||
|---|---|---|---|
|
Matrix(r:Number, c:Number, ar:Array = null)
Creates a new
Matrix instance. | Matrix | ||
|
clone():*
Returns a shallow copy of this instance.
| Matrix | ||
|
equals(o:*):Boolean
Compares the specified object with this object for equality.
| Matrix | ||
|
toSource(indent:int = 0):String
Returns the source code string representation of the object.
| Matrix | ||
|
toString():String
Returns the string representation of the object.
| Matrix | ||
| c | property |
public var c:NumberDefined the number of columns in the Matrix.
| m | property |
public var m:ArrayThe matrix array
| r | property |
public var r:NumberDefined the number of rows in the Matrix.
| Matrix | () | constructor |
public function Matrix(r:Number, c:Number, ar:Array = null)
Creates a new Matrix instance.
r:Number — the number of rows in the matrix.
|
|
c:Number — the number of columns in the matrix.
|
|
ar:Array (default = null) — the optional Matrix instance to fill the current Matrix.
|
| clone | () | method |
public function clone():*Returns a shallow copy of this instance.
Returns* — a shallow copy of this instance.
|
| equals | () | method |
public function equals(o:*):BooleanCompares the specified object with this object for equality.
Parameterso:* |
Boolean — true if the the specified object is equal with this object.
|
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code string representation of the object.
Parametersindent:int (default = 0) |
String — the source code string representation of the object.
|
| toString | () | method |
public function toString():StringReturns the string representation of the object.
ReturnsString — the string representation of the object.
|