Aardvark.Base


M33l

Constructors

ConstructorDescription
new(...)
Signature: (m00:int64 * m01:int64 * m02:int64 * m10:int64 * m11:int64 * m12:int64 * m20:int64 * m21:int64 * m22:int64) -> unit
new(a)
Signature: (a:int64 []) -> unit
new(a, start)
Signature: (a:int64 [] * start:int) -> unit

Instance members

Instance memberDescription
C0()
Signature: unit -> unit
C1()
Signature: unit -> unit
C2()
Signature: unit -> unit
Column(index)
Signature: index:int -> V3l

Returns index-th column of this matrix.

Columns
Signature: IEnumerable<V3l>
Copy(element_fun)
Signature: element_fun:Func<int64,int> -> M33i

Returns a copy with all elements transformed by the supplied function.

Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int64,int,int,int> -> M33i

Returns a copy with all elements transformed by the supplied function.

Copy(element_fun)
Signature: element_fun:Func<int64,int64> -> M33l

Returns a copy with all elements transformed by the supplied function.

Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int64,int,int,int64> -> M33l

Returns a copy with all elements transformed by the supplied function.

Copy(element_fun)
Signature: element_fun:Func<int64,float32> -> M33f

Returns a copy with all elements transformed by the supplied function.

Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int64,int,int,float32> -> M33f

Returns a copy with all elements transformed by the supplied function.

Copy(element_fun)
Signature: element_fun:Func<int64,float> -> M33d

Returns a copy with all elements transformed by the supplied function.

Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<int64,int,int,float> -> M33d

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: int64

Gets the determinant of this matrix. The determinant is only defined for square matrices.

Determinant()
Signature: unit -> int64

Returns the determinant of this matrix. The determinant is only defined for square matrices.

Dim
Signature: V2l
Modifiers: abstract
Elements
Signature: IEnumerable<int64>
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: int64

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: int64

Returns the infinite (or maximum) norm of the matrix. This is calculated as max(|M00|, |M01|, ...).

NormMin
Signature: int64

Returns the minimum norm of the matrix. This is calculated as min(|M00|, |M01|, ...).

R0()
Signature: unit -> unit
R1()
Signature: unit -> unit
R2()
Signature: unit -> unit
Row(index)
Signature: index:int -> V3l

Returns index-th row of this matrix.

Rows
Signature: IEnumerable<V3l>
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 -> int64 []
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: int64

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:V2l -> V2l

Transforms direction vector v (v.w is presumed 0.0) by this matrix.

TransformPos(p)
Signature: p:V2l -> V2l

Transforms point p (p.w is presumed 1.0) by this matrix. No projective transform is performed.

TransformPosProj(p)
Signature: p:V2l -> V2l

Transforms point p (p.w is presumed 1.0) by this matrix. Projective transform is performed. Perspective Division is performed.

TransformPosProjFull(p)
Signature: p:V2l -> V3l

Transforms point p (p.w is presumed 1.0) by this matrix. Projective transform is performed.

Transpose()
Signature: unit -> unit

Transposes this matrix (and returns this).

Transposed
Signature: M33l

Gets transpose of this matrix.

TransposedTransformDir(v)
Signature: v:V2l -> V2l

Transforms direction vector v (v.w is presumed 0.0) by transposed version of this matrix.

TransposedTransformPos(p)
Signature: p:V2l -> V2l

Transforms point p (p.w is presumed 1.0) by transposed version of this matrix. No projective transform is performed.

UpperLeftM22()
Signature: unit -> M22l

Returns a copy of the upper left sub matrix.

Static members

Static memberDescription
Add(a, b)
Signature: (a:M33l * b:M33l) -> M33l
Add(m, s)
Signature: (m:M33l * s:int64) -> M33l
Add(s, m)
Signature: (s:int64 * m:M33l) -> M33l
Add(a, b)
Signature: (a:M33l * b:M33f) -> M33f
Add(m, s)
Signature: (m:M33l * s:float32) -> M33f
Add(s, m)
Signature: (s:float32 * m:M33l) -> M33f
Add(a, b)
Signature: (a:M33l * b:M33d) -> M33d
Add(m, s)
Signature: (m:M33l * s:float) -> M33d
Add(s, m)
Signature: (s:float * m:M33l) -> M33d
Distance(a, b, p)
Signature: (a:M33l * b:M33l * p:float) -> float

Returns the p-distance between two matrices.

Distance1(a, b)
Signature: (a:M33l * b:M33l) -> int64

Returns the Manhatten (or 1-) distance between two matrices.

Distance2(a, b)
Signature: (a:M33l * b:M33l) -> float

Returns the Euclidean (or 2-) distance between two matrices.

DistanceMax(a, b)
Signature: (a:M33l * b:M33l) -> int64

Returns the maximal absolute distance between the components of the two matrices.

DistanceMin(a, b)
Signature: (a:M33l * b:M33l) -> int64

Returns the minimal absolute distance between the components of the two matrices.

Divide(a, b)
Signature: (a:M33l * b:M33l) -> M33l
Divide(m, s)
Signature: (m:M33l * s:int64) -> M33l
Divide(s, m)
Signature: (s:int64 * m:M33l) -> M33l
Divide(a, b)
Signature: (a:M33l * b:M33f) -> M33f
Divide(m, s)
Signature: (m:M33l * s:float32) -> M33f
Divide(s, m)
Signature: (s:float32 * m:M33l) -> M33f
Divide(a, b)
Signature: (a:M33l * b:M33d) -> M33d
Divide(m, s)
Signature: (m:M33l * s:float) -> M33d
Divide(s, m)
Signature: (s:float * m:M33l) -> M33d
FromCols(col0, col1, col2)
Signature: (col0:V3l * col1:V3l * col2:V3l) -> M33l
FromRows(row0, row1, row2)
Signature: (row0:V3l * row1:V3l * row2:V3l) -> M33l
Modulo(a, b)
Signature: (a:M33l * b:M33l) -> M33l
Modulo(m, s)
Signature: (m:M33l * s:int64) -> M33l
Modulo(s, m)
Signature: (s:int64 * m:M33l) -> M33l
Modulo(a, b)
Signature: (a:M33l * b:M33f) -> M33f
Modulo(m, s)
Signature: (m:M33l * s:float32) -> M33f
Modulo(s, m)
Signature: (s:float32 * m:M33l) -> M33f
Modulo(a, b)
Signature: (a:M33l * b:M33d) -> M33d
Modulo(m, s)
Signature: (m:M33l * s:float) -> M33d
Modulo(s, m)
Signature: (s:float * m:M33l) -> M33d
Multiply(m, s)
Signature: (m:M33l * s:int64) -> M33l
Multiply(s, m)
Signature: (s:int64 * m:M33l) -> M33l
Multiply(m, s)
Signature: (m:M33l * s:float32) -> M33f
Multiply(s, m)
Signature: (s:float32 * m:M33l) -> M33f
Multiply(m, s)
Signature: (m:M33l * s:float) -> M33d
Multiply(s, m)
Signature: (s:float * m:M33l) -> M33d
Multiply(m, v)
Signature: (m:M33l * v:V3l) -> V3l
Multiply(a, b)
Signature: (a:M33l * b:M33l) -> M33l
op_Addition(a, b)
Signature: (a:M33l * b:M33l) -> M33l
op_Addition(m, s)
Signature: (m:M33l * s:int64) -> M33l
op_Addition(s, m)
Signature: (s:int64 * m:M33l) -> M33l
op_Addition(a, b)
Signature: (a:M33l * b:M33f) -> M33f
op_Addition(m, s)
Signature: (m:M33l * s:float32) -> M33f
op_Addition(s, m)
Signature: (s:float32 * m:M33l) -> M33f
op_Addition(a, b)
Signature: (a:M33l * b:M33d) -> M33d
op_Addition(m, s)
Signature: (m:M33l * s:float) -> M33d
op_Addition(s, m)
Signature: (s:float * m:M33l) -> M33d
op_Division(a, b)
Signature: (a:M33l * b:M33l) -> M33l
op_Division(m, s)
Signature: (m:M33l * s:int64) -> M33l
op_Division(s, m)
Signature: (s:int64 * m:M33l) -> M33l
op_Division(a, b)
Signature: (a:M33l * b:M33f) -> M33f
op_Division(m, s)
Signature: (m:M33l * s:float32) -> M33f
op_Division(s, m)
Signature: (s:float32 * m:M33l) -> M33f
op_Division(a, b)
Signature: (a:M33l * b:M33d) -> M33d
op_Division(m, s)
Signature: (m:M33l * s:float) -> M33d
op_Division(s, m)
Signature: (s:float * m:M33l) -> M33d
op_Equality(a, b)
Signature: (a:M33l * b:M33l) -> bool
op_Equality(a, s)
Signature: (a:M33l * s:int64) -> bool
op_Equality(s, a)
Signature: (s:int64 * a:M33l) -> bool
op_Explicit(m)
Signature: m:M22i -> M33l
op_Explicit(m)
Signature: m:M23i -> M33l
op_Explicit(m)
Signature: m:M33i -> M33l
op_Explicit(m)
Signature: m:M34i -> M33l
op_Explicit(m)
Signature: m:M44i -> M33l
op_Explicit(m)
Signature: m:M22l -> M33l
op_Explicit(m)
Signature: m:M23l -> M33l
op_Explicit(m)
Signature: m:M34l -> M33l
op_Explicit(m)
Signature: m:M44l -> M33l
op_Explicit(m)
Signature: m:M22f -> M33l
op_Explicit(m)
Signature: m:M23f -> M33l
op_Explicit(m)
Signature: m:M33f -> M33l
op_Explicit(m)
Signature: m:M34f -> M33l
op_Explicit(m)
Signature: m:M44f -> M33l
op_Explicit(m)
Signature: m:M22d -> M33l
op_Explicit(m)
Signature: m:M23d -> M33l
op_Explicit(m)
Signature: m:M33d -> M33l
op_Explicit(m)
Signature: m:M34d -> M33l
op_Explicit(m)
Signature: m:M44d -> M33l
op_Explicit(a)
Signature: (a:int []) -> M33l
op_Explicit(a)
Signature: (a:int [,]) -> M33l
op_Explicit(m)
Signature: m:M33l -> int []
op_Explicit(m)
Signature: m:M33l -> int [,]
op_Explicit(a)
Signature: (a:int64 []) -> M33l
op_Explicit(a)
Signature: (a:int64 [,]) -> M33l
op_Explicit(m)
Signature: m:M33l -> int64 []
op_Explicit(m)
Signature: m:M33l -> int64 [,]
op_Explicit(a)
Signature: (a:float32 []) -> M33l
op_Explicit(a)
Signature: (a:float32 [,]) -> M33l
op_Explicit(m)
Signature: m:M33l -> float32 []
op_Explicit(m)
Signature: m:M33l -> float32 [,]
op_Explicit(a)
Signature: (a:float []) -> M33l
op_Explicit(a)
Signature: (a:float [,]) -> M33l
op_Explicit(m)
Signature: m:M33l -> float []
op_Explicit(m)
Signature: m:M33l -> float [,]
op_GreaterThan(a, b)
Signature: (a:M33l * b:M33l) -> bool
op_GreaterThan(a, s)
Signature: (a:M33l * s:int64) -> bool
op_GreaterThan(s, a)
Signature: (s:int64 * a:M33l) -> bool
op_GreaterThanOrEqual(a, b)
Signature: (a:M33l * b:M33l) -> bool
op_GreaterThanOrEqual(a, s)
Signature: (a:M33l * s:int64) -> bool
op_GreaterThanOrEqual(s, a)
Signature: (s:int64 * a:M33l) -> bool
op_Inequality(a, b)
Signature: (a:M33l * b:M33l) -> bool
op_Inequality(m, s)
Signature: (m:M33l * s:int64) -> bool
op_Inequality(s, m)
Signature: (s:int64 * m:M33l) -> bool
op_LessThan(a, b)
Signature: (a:M33l * b:M33l) -> bool
op_LessThan(a, s)
Signature: (a:M33l * s:int64) -> bool
op_LessThan(s, a)
Signature: (s:int64 * a:M33l) -> bool
op_LessThanOrEqual(a, b)
Signature: (a:M33l * b:M33l) -> bool
op_LessThanOrEqual(a, s)
Signature: (a:M33l * s:int64) -> bool
op_LessThanOrEqual(s, a)
Signature: (s:int64 * a:M33l) -> bool
op_Modulus(a, b)
Signature: (a:M33l * b:M33l) -> M33l
op_Modulus(m, s)
Signature: (m:M33l * s:int64) -> M33l
op_Modulus(s, m)
Signature: (s:int64 * m:M33l) -> M33l
op_Modulus(a, b)
Signature: (a:M33l * b:M33f) -> M33f
op_Modulus(m, s)
Signature: (m:M33l * s:float32) -> M33f
op_Modulus(s, m)
Signature: (s:float32 * m:M33l) -> M33f
op_Modulus(a, b)
Signature: (a:M33l * b:M33d) -> M33d
op_Modulus(m, s)
Signature: (m:M33l * s:float) -> M33d
op_Modulus(s, m)
Signature: (s:float * m:M33l) -> M33d
op_Multiply(m, s)
Signature: (m:M33l * s:int64) -> M33l
op_Multiply(s, m)
Signature: (s:int64 * m:M33l) -> M33l
op_Multiply(m, s)
Signature: (m:M33l * s:float32) -> M33f
op_Multiply(s, m)
Signature: (s:float32 * m:M33l) -> M33f
op_Multiply(m, s)
Signature: (m:M33l * s:float) -> M33d
op_Multiply(s, m)
Signature: (s:float * m:M33l) -> M33d
op_Multiply(m, v)
Signature: (m:M33l * v:V3l) -> V3l
op_Multiply(a, b)
Signature: (a:M33l * b:M33l) -> M33l
op_Subtraction(a, b)
Signature: (a:M33l * b:M33l) -> M33l
op_Subtraction(m, s)
Signature: (m:M33l * s:int64) -> M33l
op_Subtraction(s, m)
Signature: (s:int64 * m:M33l) -> M33l
op_Subtraction(a, b)
Signature: (a:M33l * b:M33f) -> M33f
op_Subtraction(m, s)
Signature: (m:M33l * s:float32) -> M33f
op_Subtraction(s, m)
Signature: (s:float32 * m:M33l) -> M33f
op_Subtraction(a, b)
Signature: (a:M33l * b:M33d) -> M33d
op_Subtraction(m, s)
Signature: (m:M33l * s:float) -> M33d
op_Subtraction(s, m)
Signature: (s:float * m:M33l) -> M33d
Parse(s)
Signature: s:string -> M33l
Subtract(a, b)
Signature: (a:M33l * b:M33l) -> M33l
Subtract(m, s)
Signature: (m:M33l * s:int64) -> M33l
Subtract(s, m)
Signature: (s:int64 * m:M33l) -> M33l
Subtract(a, b)
Signature: (a:M33l * b:M33f) -> M33f
Subtract(m, s)
Signature: (m:M33l * s:float32) -> M33f
Subtract(s, m)
Signature: (s:float32 * m:M33l) -> M33f
Subtract(a, b)
Signature: (a:M33l * b:M33d) -> M33d
Subtract(m, s)
Signature: (m:M33l * s:float) -> M33d
Subtract(s, m)
Signature: (s:float * m:M33l) -> M33d
TransformDir(m, v)
Signature: (m:M33l * v:V2l) -> V2l

Transforms direction vector v (v.w is presumed 0.0) by matrix m.

TransformPos(m, p)
Signature: (m:M33l * p:V2l) -> V2l

Transforms point p (v.w is presumed 1.0) by matrix m. No projective transform is performed.

TransformPosProj(m, p)
Signature: (m:M33l * p:V2l) -> V2l

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:M33l * p:V2l) -> V3l

Transforms point p (p.w is presumed 1.0) by matrix m. Projective transform is performed.

TransposedMultiply(v, m)
Signature: (v:V3l * m:M33l) -> V3l
TransposedTransformDir(m, v)
Signature: (m:M33l * v:V2l) -> V2l

Transforms direction vector v (v.w is presumed 0.0) by transposed version of matrix m.

TransposedTransformPos(m, p)
Signature: (m:M33l * p:V2l) -> V2l

Transforms point p (v.w is presumed 1.0) by transposed version of matrix m. No projective transform is performed.

Fork me on GitHub