| Package | graphics.geom |
| Class | public class MatrixN |
| Inheritance | MatrixN Object |
| Implements | Geometry |
Matrix with n rows and n columns.
| Property | Defined By | ||
|---|---|---|---|
| c : uint
Defined the number of columns in the Matrix. | MatrixN | ||
| m : Array
The matrix array
| MatrixN | ||
| r : uint
Defined the number of rows in the Matrix. | MatrixN | ||
| Method | Defined By | ||
|---|---|---|---|
MatrixN(r:uint, c:uint, ar:Array = null)
Creates a new Matrix instance. | MatrixN | ||
clone():*
Returns a shallow copy of this instance. | MatrixN | ||
equals(o:*):Boolean
Compares the specified object with this object for equality. | MatrixN | ||
isIdentity():Boolean
Returns true if the MatrixN is the identity. | MatrixN | ||
toSource(indent:int = 0):String
Returns the source code string representation of the object. | MatrixN | ||
toString():String
Returns the string representation of the object. | MatrixN | ||
| c | property |
public var c:uintDefined the number of columns in the Matrix.
| m | property |
public var m:ArrayThe matrix array
| r | property |
public var r:uintDefined the number of rows in the Matrix.
| MatrixN | () | Constructor |
public function MatrixN(r:uint, c:uint, ar:Array = null)
Creates a new Matrix instance.
r:uint — the number of rows in the matrix.
| |
c:uint — 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.
Parameters
o:* |
Boolean — true if the the specified object is equal with this object.
|
| isIdentity | () | method |
public function isIdentity():Boolean
Returns true if the MatrixN is the identity.
Boolean — true if the MatrixN is the identity.
|
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code string representation of the object.
Parameters
indent: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.
|