Aardvark.Base


M34f

Constructors

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

Instance members

Instance memberDescription
Adjoin()
Signature: unit -> M44f

Converts this matrix to its adjoint.

Adjoint
Signature: M44f

Returns adjoint of this matrix.

C0()
Signature: unit -> unit
C1()
Signature: unit -> unit
C2()
Signature: unit -> unit
C3()
Signature: unit -> unit
Column(index)
Signature: index:int -> V3f

Returns index-th column of this matrix.

Columns
Signature: IEnumerable<V3f>
Copy(element_fun)
Signature: element_fun:Func<float32,int> -> M34i

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

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

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

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

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

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

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

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

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

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

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

Copy(element_fun)
Signature: element_fun:Func<float32,float> -> M34d

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

Copy(element_index0_index1_fun)
Signature: element_index0_index1_fun:Func<float32,int,int,float> -> M34d

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

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

Determinant()
Signature: unit -> float32

Calculates the determinant of a .

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

Returns inverse of this transform.

Invert()
Signature: unit -> bool
Modifiers: abstract

Inverts this transform.

Invertible
Signature: bool

Returns whether this matrix is invertible. A square 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
Modifiers: abstract
[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!!!

Minor(deleted_row, deleted_column)
Signature: (deleted_row:int * deleted_column:int) -> M33f

Transforms a to a by deleting the specified row and column. Internally the is tarnsformed to a to delete the row and column.

Norm(p)
Signature: p:float32 -> float32

Returns the p-norm of the matrix. This is calculated as (|M00|^p + |M01|^p + ... )^(1/p)

Norm1
Signature: float32

Returns the Manhattan (or 1-) norm of the matrix. This is calculated as |M00| + |M01| + ...

Norm2
Signature: float32

Returns the Euclidean (or 2-) norm of the matrix. This is calculated as Sqrt(M00 M00 + M01 M01 + ... )

NormMax
Signature: float32

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

NormMin
Signature: float32

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 -> V4f

Returns index-th row of this matrix.

Rows
Signature: IEnumerable<V4f>
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 -> float32 []
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: float32

Returns the trace of this matrix. The trace is defined as the sum of the diagonal elements, and is only defined for square matrices.

Transform(v)
Signature: v:V4f -> V4f
Modifiers: abstract

Transforms vector v.

TransformDir(v)
Signature: v:V3f -> V3f
Modifiers: abstract

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

TransformPos(p)
Signature: p:V3f -> V3f
Modifiers: abstract

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

TransformPosProj(p)
Signature: p:V3f -> V3f
Modifiers: abstract

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

Transpose()
Signature: unit -> unit

Transposes this matrix.

Static members

Static memberDescription
Add(a, b)
Signature: (a:M34f * b:M44f) -> M44f
Add(a, b)
Signature: (a:M34f * b:M34f) -> M34f
Add(m, s)
Signature: (m:M34f * s:float32) -> M34f
Add(s, m)
Signature: (s:float32 * m:M34f) -> M34f
Add(a, b)
Signature: (a:M34f * b:M34d) -> M34d
Add(m, s)
Signature: (m:M34f * s:float) -> M34d
Add(s, m)
Signature: (s:float * m:M34f) -> M34d
Distance(a, b, p)
Signature: (a:M34f * b:M34f * p:float32) -> float32

Returns the p-distance between two matrices.

Distance1(a, b)
Signature: (a:M34f * b:M34f) -> float32

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

Distance2(a, b)
Signature: (a:M34f * b:M34f) -> float32

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

DistanceMax(a, b)
Signature: (a:M34f * b:M34f) -> float32

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

DistanceMin(a, b)
Signature: (a:M34f * b:M34f) -> float32

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

Divide(a, b)
Signature: (a:M34f * b:M34f) -> M34f
Divide(m, s)
Signature: (m:M34f * s:float32) -> M34f
Divide(s, m)
Signature: (s:float32 * m:M34f) -> M34f
Divide(a, b)
Signature: (a:M34f * b:M34d) -> M34d
Divide(m, s)
Signature: (m:M34f * s:float) -> M34d
Divide(s, m)
Signature: (s:float * m:M34f) -> M34d
FromCols(col0, col1, col2, col3)
Signature: (col0:V3f * col1:V3f * col2:V3f * col3:V3f) -> M34f
FromRows(row0, row1, row2)
Signature: (row0:V4f * row1:V4f * row2:V4f) -> M34f
Modulo(a, b)
Signature: (a:M34f * b:M34f) -> M34f
Modulo(m, s)
Signature: (m:M34f * s:float32) -> M34f
Modulo(s, m)
Signature: (s:float32 * m:M34f) -> M34f
Modulo(a, b)
Signature: (a:M34f * b:M34d) -> M34d
Modulo(m, s)
Signature: (m:M34f * s:float) -> M34d
Modulo(s, m)
Signature: (s:float * m:M34f) -> M34d
Multiply(m, s)
Signature: (m:M34f * s:Scale3f) -> M34f
Multiply(m, t)
Signature: (m:M34f * t:Shift3f) -> M34f
Multiply(m, s)
Signature: (m:M34f * s:float32) -> M34f
Multiply(s, m)
Signature: (s:float32 * m:M34f) -> M34f
Multiply(m, s)
Signature: (m:M34f * s:float) -> M34d
Multiply(s, m)
Signature: (s:float * m:M34f) -> M34d
Multiply(m, v)
Signature: (m:M34f * v:V4f) -> V3f
Multiply(a, b)
Signature: (a:M33f * b:M34f) -> M34f
Multiply(a, b)
Signature: (a:M34f * b:M44f) -> M34f
op_Addition(a, b)
Signature: (a:M34f * b:M44f) -> M44f
op_Addition(a, b)
Signature: (a:M34f * b:M34f) -> M34f
op_Addition(m, s)
Signature: (m:M34f * s:float32) -> M34f
op_Addition(s, m)
Signature: (s:float32 * m:M34f) -> M34f
op_Addition(a, b)
Signature: (a:M34f * b:M34d) -> M34d
op_Addition(m, s)
Signature: (m:M34f * s:float) -> M34d
op_Addition(s, m)
Signature: (s:float * m:M34f) -> M34d
op_Division(a, b)
Signature: (a:M34f * b:M34f) -> M34f
op_Division(m, s)
Signature: (m:M34f * s:float32) -> M34f
op_Division(s, m)
Signature: (s:float32 * m:M34f) -> M34f
op_Division(a, b)
Signature: (a:M34f * b:M34d) -> M34d
op_Division(m, s)
Signature: (m:M34f * s:float) -> M34d
op_Division(s, m)
Signature: (s:float * m:M34f) -> M34d
op_Equality(a, b)
Signature: (a:M34f * b:M44f) -> bool

Checks if a and a are equal.

op_Equality(a, b)
Signature: (a:M44f * b:M34f) -> bool

Checks if a and a are equal.

op_Equality(a, b)
Signature: (a:M34f * b:M34f) -> bool
op_Equality(a, s)
Signature: (a:M34f * s:float32) -> bool
op_Equality(s, a)
Signature: (s:float32 * a:M34f) -> bool
op_Explicit(m)
Signature: m:M22i -> M34f
op_Explicit(m)
Signature: m:M23i -> M34f
op_Explicit(m)
Signature: m:M33i -> M34f
op_Explicit(m)
Signature: m:M34i -> M34f
op_Explicit(m)
Signature: m:M44i -> M34f
op_Explicit(m)
Signature: m:M22l -> M34f
op_Explicit(m)
Signature: m:M23l -> M34f
op_Explicit(m)
Signature: m:M33l -> M34f
op_Explicit(m)
Signature: m:M34l -> M34f
op_Explicit(m)
Signature: m:M44l -> M34f
op_Explicit(m)
Signature: m:M22f -> M34f
op_Explicit(m)
Signature: m:M23f -> M34f
op_Explicit(m)
Signature: m:M33f -> M34f
op_Explicit(m)
Signature: m:M44f -> M34f
op_Explicit(m)
Signature: m:M22d -> M34f
op_Explicit(m)
Signature: m:M23d -> M34f
op_Explicit(m)
Signature: m:M33d -> M34f
op_Explicit(m)
Signature: m:M34d -> M34f
op_Explicit(m)
Signature: m:M44d -> M34f
op_Explicit(a)
Signature: (a:int []) -> M34f
op_Explicit(a)
Signature: (a:int [,]) -> M34f
op_Explicit(m)
Signature: m:M34f -> int []
op_Explicit(m)
Signature: m:M34f -> int [,]
op_Explicit(a)
Signature: (a:int64 []) -> M34f
op_Explicit(a)
Signature: (a:int64 [,]) -> M34f
op_Explicit(m)
Signature: m:M34f -> int64 []
op_Explicit(m)
Signature: m:M34f -> int64 [,]
op_Explicit(a)
Signature: (a:float32 []) -> M34f
op_Explicit(a)
Signature: (a:float32 [,]) -> M34f
op_Explicit(m)
Signature: m:M34f -> float32 []
op_Explicit(m)
Signature: m:M34f -> float32 [,]
op_Explicit(a)
Signature: (a:float []) -> M34f
op_Explicit(a)
Signature: (a:float [,]) -> M34f
op_Explicit(m)
Signature: m:M34f -> float []
op_Explicit(m)
Signature: m:M34f -> float [,]
op_GreaterThan(a, b)
Signature: (a:M34f * b:M34f) -> bool
op_GreaterThan(a, s)
Signature: (a:M34f * s:float32) -> bool
op_GreaterThan(s, a)
Signature: (s:float32 * a:M34f) -> bool
op_GreaterThanOrEqual(a, b)
Signature: (a:M34f * b:M34f) -> bool
op_GreaterThanOrEqual(a, s)
Signature: (a:M34f * s:float32) -> bool
op_GreaterThanOrEqual(s, a)
Signature: (s:float32 * a:M34f) -> bool
op_Inequality(a, b)
Signature: (a:M34f * b:M44f) -> bool

Checks if a and a are different

op_Inequality(a, b)
Signature: (a:M44f * b:M34f) -> bool

Checks if a and a are different

op_Inequality(a, b)
Signature: (a:M34f * b:M34f) -> bool
op_Inequality(m, s)
Signature: (m:M34f * s:float32) -> bool
op_Inequality(s, m)
Signature: (s:float32 * m:M34f) -> bool
op_LessThan(a, b)
Signature: (a:M34f * b:M34f) -> bool
op_LessThan(a, s)
Signature: (a:M34f * s:float32) -> bool
op_LessThan(s, a)
Signature: (s:float32 * a:M34f) -> bool
op_LessThanOrEqual(a, b)
Signature: (a:M34f * b:M34f) -> bool
op_LessThanOrEqual(a, s)
Signature: (a:M34f * s:float32) -> bool
op_LessThanOrEqual(s, a)
Signature: (s:float32 * a:M34f) -> bool
op_Modulus(a, b)
Signature: (a:M34f * b:M34f) -> M34f
op_Modulus(m, s)
Signature: (m:M34f * s:float32) -> M34f
op_Modulus(s, m)
Signature: (s:float32 * m:M34f) -> M34f
op_Modulus(a, b)
Signature: (a:M34f * b:M34d) -> M34d
op_Modulus(m, s)
Signature: (m:M34f * s:float) -> M34d
op_Modulus(s, m)
Signature: (s:float * m:M34f) -> M34d
op_Multiply(m, s)
Signature: (m:M34f * s:Scale3f) -> M34f
op_Multiply(m, t)
Signature: (m:M34f * t:Shift3f) -> M34f
op_Multiply(m, s)
Signature: (m:M34f * s:float32) -> M34f
op_Multiply(s, m)
Signature: (s:float32 * m:M34f) -> M34f
op_Multiply(m, s)
Signature: (m:M34f * s:float) -> M34d
op_Multiply(s, m)
Signature: (s:float * m:M34f) -> M34d
op_Multiply(m, v)
Signature: (m:M34f * v:V4f) -> V3f
op_Multiply(a, b)
Signature: (a:M33f * b:M34f) -> M34f
op_Multiply(a, b)
Signature: (a:M34f * b:M44f) -> M34f
op_Subtraction(a, b)
Signature: (a:M34f * b:M44f) -> M44f
op_Subtraction(a, b)
Signature: (a:M44f * b:M34f) -> M44f
op_Subtraction(a, b)
Signature: (a:M34f * b:M34f) -> M34f
op_Subtraction(m, s)
Signature: (m:M34f * s:float32) -> M34f
op_Subtraction(s, m)
Signature: (s:float32 * m:M34f) -> M34f
op_Subtraction(a, b)
Signature: (a:M34f * b:M34d) -> M34d
op_Subtraction(m, s)
Signature: (m:M34f * s:float) -> M34d
op_Subtraction(s, m)
Signature: (s:float * m:M34f) -> M34d
Parse(s)
Signature: s:string -> M34f
Rotation(axis, angleRadians)
Signature: (axis:V3f * angleRadians:float32) -> M34f
Rotation(q)
Signature: q:Rot3f -> M34f
RotationX(angleRadians)
Signature: angleRadians:float32 -> M34f
RotationY(angleRadians)
Signature: angleRadians:float32 -> M34f
RotationZ(angleRadians)
Signature: angleRadians:float32 -> M34f
Scale(scaleFactor)
Signature: scaleFactor:float32 -> M34f
Scale(sx, sy, sz)
Signature: (sx:float32 * sy:float32 * sz:float32) -> M34f
Scale(scaleFactors)
Signature: scaleFactors:V3f -> M34f
Scale(scale)
Signature: scale:Scale3f -> M34f
Subtract(a, b)
Signature: (a:M34f * b:M44f) -> M44f
Subtract(a, b)
Signature: (a:M44f * b:M34f) -> M44f
Subtract(a, b)
Signature: (a:M34f * b:M34f) -> M34f
Subtract(m, s)
Signature: (m:M34f * s:float32) -> M34f
Subtract(s, m)
Signature: (s:float32 * m:M34f) -> M34f
Subtract(a, b)
Signature: (a:M34f * b:M34d) -> M34d
Subtract(m, s)
Signature: (m:M34f * s:float) -> M34d
Subtract(s, m)
Signature: (s:float * m:M34f) -> M34d
Transform(m, v)
Signature: (m:M34f * v:V4f) -> V4f

Transforms a by a .

TransformDir(m, v)
Signature: (m:M34f * v:V3f) -> V3f

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

TransformPos(m, p)
Signature: (m:M34f * p:V3f) -> V3f

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

TransformPosProj(m, p)
Signature: (m:M34f * p:V3f) -> V3f

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

Translation(tx, ty, tz)
Signature: (tx:float32 * ty:float32 * tz:float32) -> M34f
Translation(vector)
Signature: vector:V3f -> M34f
Translation(shift)
Signature: shift:Shift3f -> M34f
TransposedTransformDir(m, v)
Signature: (m:M34f * v:V3f) -> V3f

Transforms direction by a transposed .

TransposedTransformPos(m, p)
Signature: (m:M34f * p:V3f) -> V3f

Transforms position by a transposed .

TransposedTransformPosProj(m, p)
Signature: (m:M34f * p:V3f) -> V3f

Transforms position by a transposed .

Fork me on GitHub