RaiseToPower Method (Power)
Cove - A Practical Quantum Computer Programming Framework
RaiseToPower Method (Power)
NamespacesCove.ClassicalUtilitiesComplexMatrixRaiseToPower(Int32)
Raise this matrix to the specified power. To the power of 0 return an identity matrix of the same size. To the power of 1 leaves the matrix unaltered. Any higher number is the matrix times itself Power times.
Declaration Syntax
C#Visual BasicVisual C++
public ComplexMatrix RaiseToPower(
	int Power
)
Public Function RaiseToPower ( _
	Power As Integer _
) As ComplexMatrix
public:
ComplexMatrix^ RaiseToPower(
	int Power
)
Parameters
Power (Int32)
Power to raise to.
Return Value
A reference to this matrix, after the operation is applied
Exceptions
ExceptionCondition
ArgumentExceptionRaised if argument Power is less than 0.

Assembly: Cove.ClassicalUtilities (Module: Cove.ClassicalUtilities) Version: 1.0.0.0 (1.0.0.0)