# Manuals/calci/MATRIXTYPE

Jump to navigation
Jump to search

**MATRIXTYPE (Matrix,Type)**

- is the set of values.
- is the type of the matrix.

## Description

- This function is the tester function of Idempotent and Projection matrix.
- In , is set of values and is the type of the matrix either Idempotent or Projection.
- Idempotent a matrix which, when multiplied by itself, yields itself.
- A square matrix P is called Projection then .
- So the given matrix values are satisfied Idempotent and the given Matrix Type also Idempotent then this function will return as TRUE otherwise FALSE.
- In same way the given values are satisfies Projection and the Matrix Type also Projection then this function will return as TRUE otherwise FALSE.

## Examples

- MATRIXTYPE(IM(2),"idempotent") = true
- MATRIXTYPE([[1,0,1],[0,1,2]],"idempotent") = false
- MATRIXTYPE([[1,0,0],[0,1,0],[0,0,1]],"projection") = true
- MATRIXTYPE([[1,0,1],[0,1,0],[0,0,1]],"projection") = false

## Related Videos

## See Also

## References