# GH_Matrix class

Namespace: [Grasshopper.Kernel.Types](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.types.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_Matrix : GH_Goo<Matrix>, IGH_QuickCast
```

Represents a rectangular numeric matrix. GH_Integer re-implements Rhino.Geometry.Matrix.

## Constructors

- [GH_Matrix](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/ctor.md): (3 overloads) Blank constructor

## Properties

- [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/isvalid.md): Gets the validity of this instance. Integers are always valid.
- [QC_Type](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-type.md)
- [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/typedescription.md)
- [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/typename.md)

## Methods

- [CastFrom](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/castfrom.md)
- [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/castto.md)
- [CloneMatrix](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/clonematrix.md): (static) Duplicates a Matrix.
- [Duplicate](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/duplicate.md)
- [DuplicateMatrix](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/duplicatematrix.md)
- [QC_Bool](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-bool.md)
- [QC_Col](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-col.md)
- [QC_CompareTo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-compareto.md)
- [QC_Complex](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-complex.md)
- [QC_Distance](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-distance.md)
- [QC_Hash](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-hash.md)
- [QC_Int](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-int.md)
- [QC_Interval](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-interval.md)
- [QC_Matrix](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-matrix.md)
- [QC_Num](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-num.md)
- [QC_Pt](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-pt.md)
- [QC_Text](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-text.md)
- [QC_Vec](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/qc-vec.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/read.md)
- [ScriptVariable](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/scriptvariable.md)
- [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/tostring.md)
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-matrix/write.md)

## Inherited Members

- From [GH_Goo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1.md): [m_value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/m-value.md), [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/isvalidwhynot.md), [Value](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/value.md), [EmitProxy](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-goo-1/emitproxy.md)
