M22i
Constructors
Constructor | Description |
new(m00, m01, m10, m11)
Signature: (m00:int * m01:int * m10:int * m11:int) -> unit
|
|
new(a)
Signature: (a:int []) -> unit
|
|
new(a, start)
Signature: (a:int [] * start:int) -> unit
|
Instance members
Instance member | Description |
C0()
Signature: unit -> unit
|
|
C1()
Signature: unit -> unit
|
|
Column(index)
Signature: index:int -> V2i
|
Returns index-th column of this matrix. |
Columns
Signature: IEnumerable<V2i>
|
|
Copy(element_fun)
Signature: element_fun:Func<int,int> -> M22i
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int,int,int,int> -> M22i
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_fun)
Signature: element_fun:Func<int,int64> -> M22l
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int,int,int,int64> -> M22l
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_fun)
Signature: element_fun:Func<int,float32> -> M22f
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int,int,int,float32> -> M22f
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_fun)
Signature: element_fun:Func<int,float> -> M22d
|
Returns a copy with all elements transformed by the supplied function. |
Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int,int,int,float> -> M22d
|
Returns a copy with all elements transformed by the supplied function. |
CopyTo(array, index)
Signature: (array:int [] * index:int64) -> unit
|
|
CopyTo(array, index)
Signature: (array:int64 [] * index:int64) -> unit
|
|
CopyTo(array, index)
Signature: (array:float32 [] * index:int64) -> unit
|
|
CopyTo(array, index)
Signature: (array:float [] * index:int64) -> unit
|
|
Det
Signature: int
|
Gets the determinant of this matrix. The determinant is only defined for square matrices. |
Determinant()
Signature: unit -> int
|
Returns the determinant of this matrix. The determinant is only defined for square matrices. |
Dim
Signature: V2l
Modifiers: abstract |
|
Elements
Signature: IEnumerable<int>
|
|
Equals(other)
Signature: other:obj -> bool
Modifiers: abstract |
|
GetHashCode()
Signature: unit -> int
Modifiers: abstract |
|
GetValue(x, y)
Signature: (x:int64 * y:int64) -> obj
Modifiers: abstract |
|
GetValue(v)
Signature: v:V2l -> obj
Modifiers: abstract |
|
Invertible
Signature: bool
|
Returns whether this matrix is invertible. A matrix is invertible if its determinant is not zero. |
IsInvalid
Signature: bool
Modifiers: abstract |
|
IsValid
Signature: bool
Modifiers: abstract |
|
[()]
Signature: unit -> int
|
|
[arg1]
Signature: int -> int
|
|
[arg1]
Signature: int64 -> int64
Modifiers: abstract |
NOTE: this indexer has reversed order of coordinates with respect to the default indexer!!! |
[()]
Signature: unit -> V2l
Modifiers: abstract |
NOTE: this indexer has reversed order of coordinates with respect to the default indexer!!! |
Norm(p)
Signature: p:float -> float
|
Returns the p-norm of the matrix. This is calculated as (|M00|^p + |M01|^p + ... )^(1/p) |
Norm1
Signature: int
|
Returns the Manhattan (or 1-) norm of the matrix. This is calculated as |M00| + |M01| + ... |
Norm2
Signature: float
|
Returns the Euclidean (or 2-) norm of the matrix. This is calculated as Sqrt(M00 M00 + M01 M01 + ... ) |
NormMax
Signature: int
|
Returns the infinite (or maximum) norm of the matrix. This is calculated as max(|M00|, |M01|, ...). |
NormMin
Signature: int
|
Returns the minimum norm of the matrix. This is calculated as min(|M00|, |M01|, ...). |
R0()
Signature: unit -> unit
|
|
R1()
Signature: unit -> unit
|
|
Row(index)
Signature: index:int -> V2i
|
Returns index-th row of this matrix. |
Rows
Signature: IEnumerable<V2i>
|
|
SetValue(value, x, y)
Signature: (value:obj * x:int64 * y:int64) -> unit
Modifiers: abstract |
|
SetValue(value, v)
Signature: (value:obj * v:V2l) -> unit
Modifiers: abstract |
|
Singular
Signature: bool
|
Returns whether this matrix is singular. A matrix is singular if its determinant is zero. |
ToArray()
Signature: unit -> int []
|
|
ToString()
Signature: unit -> string
Modifiers: abstract |
|
ToString(format)
Signature: format:string -> string
|
|
ToString(format, fp)
Signature: (format:string * fp:IFormatProvider) -> string
|
|
ToString(...)
Signature: (format:string * fp:IFormatProvider * beginM:string * betweenM:string * endM:string * beginR:string * betweenR:string * endR:string) -> string
|
Outputs e.g. a 2x2-Matrix in the form "(beginM)(beginR)m00(betweenR)m01(endR)(betweenM)(beginR)m10(betweenR)m11(endR)(endM)". |
Trace
Signature: int
|
Returns the trace of this matrix. The trace is defined as the sum of the diagonal elements, and is only defined for square matrices. |
TransformDir(v)
Signature: v:int -> int
|
Transforms direction vector v (v.w is presumed 0.0) by this matrix. |
TransformPos(p)
Signature: p:int -> int
|
|
TransformPosProj(p)
Signature: p:int -> int
|
|
TransformPosProjFull(p)
Signature: p:int -> V2i
|
|
Transpose()
Signature: unit -> unit
|
Transposes this matrix (and returns this). |
Transposed
Signature: M22i
|
Gets transpose of this matrix. |
Static members
Static member | Description |
Add(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
Add(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
Add(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
Add(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
Add(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
Add(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
Add(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
Add(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
Add(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
Add(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
Add(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
Add(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
Distance(a, b, p)
Signature: (a:M22i * b:M22i * p:float) -> float
|
Returns the p-distance between two matrices. |
Distance1(a, b)
Signature: (a:M22i * b:M22i) -> int
|
Returns the Manhatten (or 1-) distance between two matrices. |
Distance2(a, b)
Signature: (a:M22i * b:M22i) -> float
|
Returns the Euclidean (or 2-) distance between two matrices. |
DistanceMax(a, b)
Signature: (a:M22i * b:M22i) -> int
|
Returns the maximal absolute distance between the components of the two matrices. |
DistanceMin(a, b)
Signature: (a:M22i * b:M22i) -> int
|
Returns the minimal absolute distance between the components of the two matrices. |
Divide(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
Divide(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
Divide(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
Divide(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
Divide(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
Divide(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
Divide(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
Divide(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
Divide(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
Divide(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
Divide(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
Divide(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
FromCols(col0, col1)
Signature: (col0:V2i * col1:V2i) -> M22i
|
|
FromRows(row0, row1)
Signature: (row0:V2i * row1:V2i) -> M22i
|
|
Modulo(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
Modulo(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
Modulo(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
Modulo(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
Modulo(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
Modulo(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
Modulo(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
Modulo(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
Modulo(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
Modulo(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
Modulo(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
Modulo(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
Multiply(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
Multiply(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
Multiply(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
Multiply(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
Multiply(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
Multiply(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
Multiply(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
Multiply(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
Multiply(m, v)
Signature: (m:M22i * v:V2i) -> V2i
|
|
Multiply(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
op_Addition(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
op_Addition(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
op_Addition(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
op_Addition(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
op_Addition(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
op_Addition(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
op_Addition(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
op_Addition(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
op_Addition(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
op_Addition(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
op_Addition(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
op_Addition(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
op_Division(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
op_Division(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
op_Division(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
op_Division(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
op_Division(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
op_Division(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
op_Division(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
op_Division(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
op_Division(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
op_Division(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
op_Division(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
op_Division(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
op_Equality(a, b)
Signature: (a:M22i * b:M22i) -> bool
|
|
op_Equality(a, s)
Signature: (a:M22i * s:int) -> bool
|
|
op_Equality(s, a)
Signature: (s:int * a:M22i) -> bool
|
|
op_Explicit(m)
Signature: m:M23i -> M22i
|
|
op_Explicit(m)
Signature: m:M33i -> M22i
|
|
op_Explicit(m)
Signature: m:M34i -> M22i
|
|
op_Explicit(m)
Signature: m:M44i -> M22i
|
|
op_Explicit(m)
Signature: m:M22l -> M22i
|
|
op_Explicit(m)
Signature: m:M23l -> M22i
|
|
op_Explicit(m)
Signature: m:M33l -> M22i
|
|
op_Explicit(m)
Signature: m:M34l -> M22i
|
|
op_Explicit(m)
Signature: m:M44l -> M22i
|
|
op_Explicit(m)
Signature: m:M22f -> M22i
|
|
op_Explicit(m)
Signature: m:M23f -> M22i
|
|
op_Explicit(m)
Signature: m:M33f -> M22i
|
|
op_Explicit(m)
Signature: m:M34f -> M22i
|
|
op_Explicit(m)
Signature: m:M44f -> M22i
|
|
op_Explicit(m)
Signature: m:M22d -> M22i
|
|
op_Explicit(m)
Signature: m:M23d -> M22i
|
|
op_Explicit(m)
Signature: m:M33d -> M22i
|
|
op_Explicit(m)
Signature: m:M34d -> M22i
|
|
op_Explicit(m)
Signature: m:M44d -> M22i
|
|
op_Explicit(a)
Signature: (a:int []) -> M22i
|
|
op_Explicit(a)
Signature: (a:int [,]) -> M22i
|
|
op_Explicit(m)
Signature: m:M22i -> int []
|
|
op_Explicit(m)
Signature: m:M22i -> int [,]
|
|
op_Explicit(a)
Signature: (a:int64 []) -> M22i
|
|
op_Explicit(a)
Signature: (a:int64 [,]) -> M22i
|
|
op_Explicit(m)
Signature: m:M22i -> int64 []
|
|
op_Explicit(m)
Signature: m:M22i -> int64 [,]
|
|
op_Explicit(a)
Signature: (a:float32 []) -> M22i
|
|
op_Explicit(a)
Signature: (a:float32 [,]) -> M22i
|
|
op_Explicit(m)
Signature: m:M22i -> float32 []
|
|
op_Explicit(m)
Signature: m:M22i -> float32 [,]
|
|
op_Explicit(a)
Signature: (a:float []) -> M22i
|
|
op_Explicit(a)
Signature: (a:float [,]) -> M22i
|
|
op_Explicit(m)
Signature: m:M22i -> float []
|
|
op_Explicit(m)
Signature: m:M22i -> float [,]
|
|
op_GreaterThan(a, b)
Signature: (a:M22i * b:M22i) -> bool
|
|
op_GreaterThan(a, s)
Signature: (a:M22i * s:int) -> bool
|
|
op_GreaterThan(s, a)
Signature: (s:int * a:M22i) -> bool
|
|
op_GreaterThanOrEqual(a, b)
Signature: (a:M22i * b:M22i) -> bool
|
|
op_GreaterThanOrEqual(a, s)
Signature: (a:M22i * s:int) -> bool
|
|
op_GreaterThanOrEqual(s, a)
Signature: (s:int * a:M22i) -> bool
|
|
op_Inequality(a, b)
Signature: (a:M22i * b:M22i) -> bool
|
|
op_Inequality(m, s)
Signature: (m:M22i * s:int) -> bool
|
|
op_Inequality(s, m)
Signature: (s:int * m:M22i) -> bool
|
|
op_LessThan(a, b)
Signature: (a:M22i * b:M22i) -> bool
|
|
op_LessThan(a, s)
Signature: (a:M22i * s:int) -> bool
|
|
op_LessThan(s, a)
Signature: (s:int * a:M22i) -> bool
|
|
op_LessThanOrEqual(a, b)
Signature: (a:M22i * b:M22i) -> bool
|
|
op_LessThanOrEqual(a, s)
Signature: (a:M22i * s:int) -> bool
|
|
op_LessThanOrEqual(s, a)
Signature: (s:int * a:M22i) -> bool
|
|
op_Modulus(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
op_Modulus(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
op_Modulus(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
op_Modulus(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
op_Modulus(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
op_Modulus(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
op_Modulus(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
op_Modulus(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
op_Modulus(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
op_Modulus(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
op_Modulus(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
op_Modulus(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
op_Multiply(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
op_Multiply(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
op_Multiply(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
op_Multiply(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
op_Multiply(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
op_Multiply(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
op_Multiply(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
op_Multiply(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
op_Multiply(m, v)
Signature: (m:M22i * v:V2i) -> V2i
|
|
op_Multiply(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
op_Subtraction(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
op_Subtraction(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
op_Subtraction(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
op_Subtraction(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
op_Subtraction(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
op_Subtraction(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
op_Subtraction(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
op_Subtraction(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
op_Subtraction(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
op_Subtraction(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
op_Subtraction(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
op_Subtraction(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
Parse(s)
Signature: s:string -> M22i
|
|
Subtract(a, b)
Signature: (a:M22i * b:M22i) -> M22i
|
|
Subtract(m, s)
Signature: (m:M22i * s:int) -> M22i
|
|
Subtract(s, m)
Signature: (s:int * m:M22i) -> M22i
|
|
Subtract(a, b)
Signature: (a:M22i * b:M22l) -> M22l
|
|
Subtract(m, s)
Signature: (m:M22i * s:int64) -> M22l
|
|
Subtract(s, m)
Signature: (s:int64 * m:M22i) -> M22l
|
|
Subtract(a, b)
Signature: (a:M22i * b:M22f) -> M22f
|
|
Subtract(m, s)
Signature: (m:M22i * s:float32) -> M22f
|
|
Subtract(s, m)
Signature: (s:float32 * m:M22i) -> M22f
|
|
Subtract(a, b)
Signature: (a:M22i * b:M22d) -> M22d
|
|
Subtract(m, s)
Signature: (m:M22i * s:float) -> M22d
|
|
Subtract(s, m)
Signature: (s:float * m:M22i) -> M22d
|
|
TransformDir(m, v)
Signature: (m:M22i * v:int) -> int
|
Transforms direction vector v (v.w is presumed 0.0) by matrix m. |
TransformPos(m, p)
Signature: (m:M22i * p:int) -> int
|
Transforms point p (v.w is presumed 1.0) by matrix m. No projective transform is performed. |
TransformPosProj(m, p)
Signature: (m:M22i * p:int) -> int
|
Transforms point p (p.w is presumed 1.0) by matrix m. Projective transform is performed. Perspective Division is performed. |
TransformPosProjFull(m, p)
Signature: (m:M22i * p:int) -> V2i
|
Transforms point p (p.w is presumed 1.0) by matrix m. Projective transform is performed. |
TransposedMultiply(v, m)
Signature: (v:V2i * m:M22i) -> V2i
|